DVA-C02 Exam Details

  • Exam Code
    :DVA-C02
  • Exam Name
    :AWS Certified Developer - Associate (DVA-C02)
  • Certification
    :Amazon Certifications
  • Vendor
    :Amazon
  • Total Questions
    :574 Q&As
  • Last Updated
    :May 27, 2026

Amazon DVA-C02 Online Questions & Answers

  • Question 341:

    A company is expanding the compatibility of its photo-sharing mobile app to hundreds of additional devices with unique screen dimensions and resolutions. Photos are stored in Amazon S3 in their original format and resolution. The company

    uses an Amazon CloudFront distribution to serve the photos. The app includes the dimension and resolution of the display as GET parameters with every request.

    A developer needs to implement a solution that optimizes the photos that are served to each device to reduce load time and increase photo quality.

    Which solution will meet these requirements MOST cost-effectively?

    A. Use S3 Batch Operations to invoke an AWS Lambda function to create new variants of the photos with the required dimensions and resolutions. Create a dynamic CloudFront origin that automatically maps the request of each device to the corresponding photo variant.
    B. Use S3 Batch Operations to invoke an AWS Lambda function to create new variants of the photos with the required dimensions and resolutions. Create a Lambda@Edge function to route requests to the corresponding photo variant by using request headers.
    C. Create a Lambda@Edge function that optimizes the photos upon request and returns the photos as a response. Change the CloudFront TTL cache policy to the maximum value possible.
    D. Create a Lambda@Edge function that optimizes the photos upon request and returns the photos as a response. In the same function, store a copy of the processed photos on Amazon S3 for subsequent requests.

  • Question 342:

    A company runs applications on Amazon EKS containers. The company sends application logs from the containers to an Amazon CloudWatch Logs log group. The company needs to process log data in real time based on a specific error in the application logs.

    Which combination of steps will meet these requirements? (Select TWO.)

    A. Create an Amazon SNS topic that has a subscription filter policy.
    B. Create a subscription filter on the log group that has a filter pattern.
    C. Set up an Amazon CloudWatch agent operator to manage the trace collection daemon in Amazon EKS.
    D. Create an AWS Lambda function to process the logs.
    E. Create an Amazon EventBridge rule to invoke the AWS Lambda function on a schedule.

  • Question 343:

    A company uses an AWS Lambda function to call a third-party service. The third-party service has a limit of requests each minute. If the number of requests exceeds the limit, the third-party service returns rate-limiting errors.

    A developer needs to configure the Lambda function to avoid receiving rate limiting errors from the third-party service.

    Which solution will meet these requirements?

    A. Set the reserved concurrency on the Lambda function to match the number of concurrent requests that the third-party service allows.
    B. Decrease the memory that is allocated to the Lambda function.
    C. Set the provisioned concurrency on the Lambda function to match the number of concurrent requests that the third-party service allows.
    D. Increase the timeout value that is specified on the Lambda function.

  • Question 344:

    A developer needs to deploy an application running on AWS Fargate using Amazon ECS. The application has environment variables that must be passed to a container for the application to initialize. How should the environment variables be passed to the container?

    A. Define an array that includes the environment variables under the environment parameter within the service definition.
    B. Define an array that includes the environment variables under the environment parameter within the task definition.
    C. Define an array that includes the environment variables under the entryPoint parameter within the task definition.
    D. Define an array that includes the environment variables under the entryPoint parameter within the service definition.

  • Question 345:

    A developer is building an application that invokes AWS Lambda functions asynchronously to process events. The developer notices that a Lambda function fails to process some events at random times. The developer needs to investigate the failed events and capture the events that the Lambda function fails to process.

    Which solution will meet these requirements?

    A. Add an Amazon EventBridge rule for the Lambda function. Configure the EventBridge rule to react to failed events and to store the events in an Amazon DynamoDB table.
    B. Configure the Lambda function with a dead-letter queue based in Amazon Kinesis. Update the Lambda function's execution role with the required permissions.
    C. Configure the Lambda function with an Amazon Simple Queue Service (Amazon SQS) dead-letter queue. Update the Lambda function's execution role with the required permissions.
    D. Configure the Lambda function with an Amazon Simple Queue Service (Amazon SQS) FIFO dead-letter queue. Update the Lambda function's execution role with the required permissions.

  • Question 346:

    A developer is automating a new application deployment with AWS Serverless Application Model (AWS SAM). The new application has one AWS Lambda function and one Amazon S3 bucket. The Lambda function must access the S3 bucket to only read objects.

    How should the developer configure AWS SAM to grant the necessary read privilege to the S3 bucket?

    A. Reference a second Lambda authorizer function.
    B. Add a custom S3 bucket policy to the Lambda function.
    C. Create an Amazon Simple Queue Service (SQS) topic for only S3 object reads. Reference the topic in the template.
    D. Add the S3ReadPolicy template to the Lambda function's execution role.

  • Question 347:

    A developer is creating an AWS CloudFormation stack. The stack contains IAM resources with custom names. When the developer tries to deploy the stack, they receive an InsufficientCapabilities error. What should the developer do to resolve this issue?

    A. Specify the CAPABILITY_AUTO_EXPAND capability in the CloudFormation stack.
    B. Use an administrators role to deploy IAM resources with CloudFormation.
    C. Specify the CAPABILITY_IAM capability in the CloudFormation stack.
    D. Specify the CAPABILITY_NAMED_IAM capability in the CloudFormation stack.

  • Question 348:

    A developer created several AWS Lambda functions that write data to a single Amazon S3 bucket. The developer configured all the Lambda functions to send logs and metrics to Amazon CloudWatch.

    The developer receives reports that one of the Lambda functions writes data to the bucket very slowly. The developer needs to measure the latency between the problematic Lambda function and the S3 bucket.

    Which solution will meet this requirement?

    A. Enable AWS X-Ray on the Lambda function. In the generated trace map. select the line between Lambda and Amazon S3.
    B. Query the Lambda function's log file in Amazon CloudWatch Logs Insights. Return the average of the auto-discovered uration field.
    C. Enable CloudWatch Lambda Insights on the function. View the latency graph that CloudWatch Lambda Insights provides.
    D. Enable AWS X-Ray on the Lambda function. Select Amazon S3 in the latency graph to view the latency histogram.

  • Question 349:

    A developer is using AWS Amplify Hosting to build and deploy an application. The developer is receiving an increased number of bug reports from users. The developer wants to add end-to-end testing to the application to eliminate as many bugs as possible before the bugs reach production.

    Which solution should the developer implement to meet these requirements?

    A. Run the amplify add test command in the Amplify CLI.
    B. Create unit tests in the application. Deploy the unit tests by using the amplify push command in the Amplify CLI.
    C. Add a test phase to the amplify.yml build settings for the application.
    D. Add a test phase to the aws-exports.js file for the application.

  • Question 350:

    A developer must analyze performance issues with production-distributed applications written as AWS Lambda functions. These distributed Lambda applications invoke other components that make up the applications.

    How should the developer identify and troubleshoot the root cause of the performance issues in production?

    A. Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.
    B. Use AWS CloudTrail and then examine the logs.
    C. Use AWS X-Ray, then examine the segments and errors.
    D. Run Amazon Inspector agents and then analyze performance.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Amazon exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DVA-C02 exam preparations and Amazon certification application, do not hesitate to visit our Vcedump.com to find your solutions here.