Free AWS Certified Developer Associate Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 111–115 (page: 24)

Updated On: 10-Feb-2026

A company has an image storage web application that runs on AWS. The company hosts the application on Amazon EC2 instances in an Auto Scaling group. The Auto Scaling group acts as the target group for an Application Load Balancer (ALB) and uses an Amazon S3 bucket to store the images for sale.
The company wants to develop a feature to test system requests. The feature will direct requests to a separate target group that hosts a new beta version of the application.
Which solution will meet this requirement with the LEAST effort?

  1. Create a new Auto Scaling group and target group for the beta version of the application. Update the ALB routing rule with a condition that looks for a cookie named version that has a value of beta. Update the test system code to use this cookie to test the beta version of the application.
  2. Create a new ALB, Auto Scaling group, and target group for the beta version of the application. Configure an alternate Amazon Route 53 record for the new ALB endpoint. Use the alternate Route 53 endpoint in the test system requests to test the beta version of the application.
  3. Create a new ALB, Auto Scaling group, and target group for the beta version of the application. Use Amazon CloudFront with Lambda@Edge to determine which specific request will go to the new ALB. Use the CloudFront endpoint to send the test system requests to test the beta version of the application.
  4. Create a new Auto Scaling group and target group for the beta version of the application. Update the ALB routing rule with a condition that looks for a cookie named version that has a value of beta. Use Amazon CloudFront with Lambda@Edge to update the test system requests to add the required cookie when the requests go to the ALB.

Answer(s): A



A team is developing an application that is deployed on Amazon EC2 instances. During testing, the team receives an error. The EC2 instances are unable to access an Amazon S3 bucket.
Which steps should the team take to troubleshoot this issue? (Choose two.)

  1. Check whether the policy that is assigned to the IAM role that is attached to the EC2 instances grants access to Amazon S3.
  2. Check the S3 bucket policy to validate the access permissions for the S3 bucket.
  3. Check whether the policy that is assigned to the IAM user that is attached to the EC2 instances grants access to Amazon S3.
  4. Check the S3 Lifecycle policy to validate the permissions that are assigned to the S3 bucket.
  5. Check the security groups that are assigned to the EC2 instances. Make sure that a rule is not blocking the access to Amazon S3.

Answer(s): A,B



A developer is working on an ecommerce website. The developer wants to review server logs without logging in to each of the application servers individually. The website runs on multiple Amazon EC2 instances, is written in Python, and needs to be highly available.
How can the developer update the application to meet these requirements with MINIMUM changes?

  1. Rewrite the application to be cloud native and to run on AWS Lambda, where the logs can be reviewed in Amazon CloudWatch.
  2. Set up centralized logging by using Amazon OpenSearch Service, Logstash, and OpenSearch Dashboards.
  3. Scale down the application to one larger EC2 instance where only one instance is recording logs.
  4. Install the unified Amazon CloudWatch agent on the EC2 instances. Configure the agent to push the application logs to CloudWatch.

Answer(s): D



A company is creating an application that processes .csv files from Amazon S3. A developer has created an S3 bucket. The developer has also created an AWS Lambda function to process the .csv files from the S3 bucket.
Which combination of steps will invoke the Lambda function when a .csv file is uploaded to Amazon S3? (Choose two.)

  1. Create an Amazon EventBridge rule. Configure the rule with a pattern to match the S3 object created event.
  2. Schedule an Amazon EventBridge rule to run a new Lambda function to scan the S3 bucket.
  3. Add a trigger to the existing Lambda function. Set the trigger type to EventBridge. Select the Amazon EventBridge rule.
  4. Create a new Lambda function to scan the S3 bucket for recently added S3 objects.
  5. Add S3 Lifecycle rules to invoke the existing Lambda function.

Answer(s): A,C



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?

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

Answer(s): A



Viewing page 24 of 113
Viewing questions 116 - 120 out of 610 questions


Post your Comments and Discuss Amazon AWS Certified Developer Associate exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!