Amazon AWS Certified Developer - Associate DVA-C02 Exam
AWS Certified Developer - Associate DVA-C02 (Page 20 )

Updated On: 7-Feb-2026

A company needs to develop a proof of concept for a web service application. The application will show the weather forecast for one of the company's office locations. The application will provide a REST endpoint that clients can call. Where possible, the application should use caching features provided by AWS to limit the number of requests to the backend service. The application backend will receive a small amount of traffic only during testing.
Which approach should the developer take to provide the REST endpoint MOST cost-effectively?

  1. Create a container image. Deploy the container image by using Amazon Elastic Kubernetes Service (Amazon EKS). Expose the functionality by using Amazon API Gateway.
  2. Create an AWS Lambda function by using the AWS Serverless Application Model (AWS SAM). Expose the Lambda functionality by using Amazon API Gateway.
  3. Create a container image. Deploy the container image by using Amazon Elastic Container Service (Amazon ECS). Expose the functionality by using Amazon API Gateway.
  4. Create a microservices application. Deploy the application to AWS Elastic Beanstalk. Expose the AWS Lambda functionality by using an Application Load Balancer.

Answer(s): B



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?

  1. Store the session state in Amazon ElastiCache.
  2. Store the session state in Amazon CloudFront.
  3. Store the session state in Amazon S3.
  4. Enable session stickiness using elastic load balancers.

Answer(s): A



A developer is building an application that uses Amazon DynamoDB. The developer wants to retrieve multiple specific items from the database with a single API call.
Which DynamoDB API call will meet these requirements with the MINIMUM impact on the database?

  1. BatchGetItem
  2. GetItem
  3. Scan
  4. Query

Answer(s): A



A developer has written an application that runs on Amazon EC2 instances. The developer is adding functionality for the application to write objects to an Amazon S3 bucket.
Which policy must the developer modify to allow the instances to write these objects?

  1. The IAM policy that is attached to the EC2 instance profile role
  2. The session policy that is applied to the EC2 instance role session
  3. The AWS Key Management Service (AWS KMS) key policy that is attached to the EC2 instance profile role
  4. The Amazon VPC endpoint policy

Answer(s): A



A developer is leveraging a Border Gateway Protocol (BGP)-based AWS VPN connection to connect from on-premises to Amazon EC2 instances in the developer's account. The developer is able to access an EC2 instance in subnet A, but is unable to access an EC2 instance in subnet B in the same VPC.
Which logs can the developer use to verify whether the traffic is reaching subnet B?

  1. VPN logs
  2. BGP logs
  3. VPC Flow Logs
  4. AWS CloudTrail logs

Answer(s): C






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

Join the AWS Certified Developer - Associate DVA-C02 Discussion