Free AWS-CERTIFIED-DEVELOPER-ASSOCIATE-DVA-C02 Amazon AWS-CERTIFIED-DEVELOPER-ASSOCIATE-DVA-C02 Practice Test Question

Loading demo links...

Showing 10–12 of 56 questions

Question 10 (Topic 1)

An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience. What is the best option to store the session state?

Select an option, then click Submit answer.

  • Store the session state in Amazon ElastiCache.
  • Store the session state in Amazon CloudFront.
  • Store the session state in Amazon S3.
  • Enable session stickiness using elastic load balancers.
Question 11 (Topic 1)

A company has a web application that runs on Amazon EC2 instances with a custom Amazon Machine Image (AMI). The company uses AWS CloudFormation to provision the application. The application runs in the us-east-1 Region, and the company needs to deploy the application to the us-west-1 Region. An attempt to create the AWS CloudFormation stack in us-west-1 fails. An error message states that the AMI ID does not exist. A developer must resolve this error with a solution that uses the least amount of operational overhead. Which solution meets these requirements?

Select an option, then click Submit answer.

  • Change the AWS CloudFormation templates for us-east-1 and us-west-1 to use an AWS AMI. Relaunch the stack for both Regions.
  • Copy the custom AMI from us-east-1 to us-west-1. Update the AWS CloudFormation template for us-west-1 to refer to AMI ID for the copied AMI. Relaunch the stack.
  • Build the custom AMI in us-west-1. Create a new AWS CloudFormation template to launch the stack in us-west-1 with the new AMI ID.
  • Manually deploy the application outside AWS CloudFormation in us-west-1.
Question 12 (Topic 1)

A developer needs to build an AWS CloudFormation template that self-populates the AWS Region variable that deploys the CloudFormation template. What is the MOST operationally efficient way to determine the Region in which the template is being deployed?

Select an option, then click Submit answer.

  • Use the AWS::Region pseudo parameter.
  • Require the Region as a CloudFormation parameter.
  • Find the Region from the AWS::StackId pseudo parameter by using the Fn::Split intrinsic function.
  • Dynamically import the Region by referencing the relevant parameter in AWS Systems Manager Parameter Store.