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 231:

    A developer is migrating an application to Amazon Elastic Kubernetes Service (Amazon EKS). The developer migrates the application to Amazon Elastic Container Registry (Amazon ECR) with an EKS cluster.

    As part of the application migration to a new backend, the developer creates a new AWS account. The developer makes configuration changes to the application to point the application to the new AWS account and to use new backend resources. The developer successfully tests the changes within the application by deploying the pipeline.

    The Docker image build and the pipeline deployment are successful, but the application is still connecting to the old backend. The developer finds that the application's configuration is still referencing the original EKS cluster and not referencing the new backend resources.

    Which reason can explain why the application is not connecting to the new resources?

    A. The developer did not successfully create the new AWS account.
    B. The developer added a new tag to the Docker image.
    C. The developer did not update the Docker image tag to a new version.
    D. The developer pushed the changes to a new Docker image tag.

  • Question 232:

    A developer has built an application running on AWS Lambda using AWS Serverless Application Model (AWS SAM).

    What is the correct sequence of steps to successfully deploy the application?

    A. 1. Build the SAM template in Amazon EC2. 2.Package the SAM template to Amazon EBS storage. 3.Deploy the SAM template from Amazon EBS.
    B. 1. Build the SAM template locally. 2.Package the SAM template onto Amazon S3. 3.Deploy the SAM template from Amazon S3.
    C. 1. Build the SAM template locally. 2.Deploy the SAM template from Amazon S3. 3.Package the SAM template for use.
    D. 1. Build the SAM template locally. 2.Package the SAM template from AWS CodeCommit. 3.Deploy the SAM template to CodeCommit.

  • Question 233:

    A developer is testing a RESTful application that is deployed by using Amazon API Gateway and AWS Lambda. When the developer tests the user login by using credentials that are not valid, the developer receives an HTTP 405: METHOD_NOT_ALLOWED error. The developer has verified that the test is sending the correct request for the resource.

    Which HTTP error should the application return in response to the request?

    A. HTTP 401
    B. HTTP 404
    C. HTTP 503
    D. HTTP 505

  • Question 234:

    A developer needs to store configuration variables for an application. The developer needs to set an expiration date and time for the configuration. The developer wants to receive notifications before the configuration expires.

    Which solution will meet these requirements with the LEAST operational overhead?

    A. Create a standard parameter in AWS Systems Manager Parameter Store. Set Expiration and ExpirationNotification policy types.
    B. Create a standard parameter in AWS Systems Manager Parameter Store. Create an AWS Lambda function to expire the configuration and to send Amazon Simple Notification Service (Amazon SNS) notifications.
    C. Create an advanced parameter in AWS Systems Manager Parameter Store. Set Expiration and ExpirationNotification policy types.
    D. Create an advanced parameter in AWS Systems Manager Parameter Store. Create an Amazon EC2 instance with a cron job to expire the configuration and to send notifications.

  • Question 235:

    A developer supports an application that accesses data in an Amazon DynamoDB table. One of the item attributes is expirationDate in the timestamp format. The application uses this attribute to find items, archive them, and remove them from the table based on the timestamp value.

    The application will be decommissioned soon, and the developer must find another way to implement this functionality. The developer needs a solution that will require the least amount of code to write.

    Which solution will meet these requirements?

    A. Enable TTL on the expirationDate attribute in the table. Create a DynamoDB stream. Create an AWS Lambda function to process the deleted items. Create a DynamoDB trigger for the Lambda function.
    B. Create two AWS Lambda functions: one to delete the items and one to process the items. Create a DynamoDB stream. Use the DeleteItem API operation to delete the items based on the expirationDate attribute. Use the GetRecords API operation to get the items from the DynamoDB stream and process them.
    C. Create two AWS Lambda functions: one to delete the items and one to process the items. Create an Amazon EventBridge scheduled rule to invoke the Lambda functions. Use the DeleteItem API operation to delete the items based on the expirationDate attribute. Use the GetRecords API operation to get the items from the DynamoDB table and process them.
    D. Enable TTL on the expirationDate attribute in the table. Specify an Amazon Simple Queue Service (Amazon SQS) dead-letter queue as the target to delete the items. Create an AWS Lambda function to process the items.

  • Question 236:

    A developer is designing a serverless application that customers use to select seats for a concert venue. Customers send the ticket requests to an Amazon API Gateway API with an AWS Lambda function that acknowledges the order and generates an order ID. The application includes two additional Lambda functions: one for inventory management and one for payment processing. These two Lambda functions run in parallel and write the order to an Amazon Dynamo DB table.

    The application must provide seats to customers according to the following requirements. If a seat is accidently sold more than once, the first order that the application received must get the seat. In these cases, the application must process the payment for only the first order. However, if the first order is rejected during payment processing, the second order must get the seat. In these cases, the application must process the payment for the second order.

    Which solution will meet these requirements?

    A. Send the order ID to an Amazon Simple Notification Service (Amazon SNS) FIFO topic that fans out to one Amazon Simple Queue Service (Amazon SQS) FIFO queue for inventory management and another SQS FIFO queue for payment processing.
    B. Change the Lambda function that generates the order ID to initiate the Lambda function for inventory management. Then initiate the Lambda function for payment processing.
    C. Send the order ID to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the Lambda functions for inventory management and payment processing to the topic.
    D. Deliver the order ID to an Amazon Simple Queue Service (Amazon SQS) queue. Configure the Lambda functions for inventory management and payment processing to poll the queue.

  • Question 237:

    A company hosts a client-side web application for one of its subsidiaries on Amazon S3. The web application can be accessed through Amazon CloudFront from https://www.example.com. After a successful rollout, the company wants to host three more client-side web applications for its remaining subsidiaries on three separate S3 buckets.

    To achieve this goal, a developer moves all the common JavaScript files and web fonts to a central S3 bucket that serves the web applications. However, during testing, the developer notices that the browser blocks the JavaScript files and web fonts.

    What should the developer do to prevent the browser from blocking the JavaScript files and web fonts?

    A. Create four access points that allow access to the central S3 bucket. Assign an access point to each web application bucket.
    B. Create a bucket policy that allows access to the central S3 bucket. Attach the bucket policy to the central S3 bucket.
    C. Create a cross-origin resource sharing (CORS) configuration that allows access to the central S3 bucket. Add the CORS configuration to the central S3 bucket.
    D. Create a Content-MD5 header that provides a message integrity check for the central S3 bucket. Insert the Content-MD5 header for each web application request.

  • Question 238:

    A developer creates an AWS Lambda function that is written in Java. During testing, the Lambda function does not work how the developer expected. The developer wants to use tracing capabilities to troubleshoot the problem. Which AWS service should the developer use to accomplish this goal?

    A. AWS Trusted Advisor
    B. Amazon CloudWatch
    C. AWS X-Ray
    D. AWS CloudTrail

  • Question 239:

    A developer is storing many objects in a single Amazon S3 bucket. The developer needs to optimize the S3 bucket for high request rates.

    How should the developer store the objects to meet this requirement?

    A. Store the objects by using S3 Intelligent-Tiering.
    B. Store the objects at the root of the S3 bucket.
    C. Store the objects by using object key names distributed across multiple prefixes.
    D. Store each object with an object tag named "prefix" that contains a unique value.

  • Question 240:

    When using the AWS Encryption SDK, how does the developer keep track of the data encryption keys used to encrypt data?

    A. The developer must manually keep track of the data encryption keys used for each data object.
    B. The SDK encrypts the data encryption key and stores it (encrypted) as part of the returned ciphertext.
    C. The SDK stores the data encryption keys automatically in Amazon S3.
    D. The data encryption key is stored in the Userdata for the EC2 instance.

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.