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

    A developer is building a serverless application that is based on AWS Lambda. The developer initializes the AWS software development kit (SDK) outside of the Lambda handler function. What is the PRIMARY benefit of this action?

    A. Improves legibility and stylistic convention
    B. Takes advantage of runtime environment reuse
    C. Provides better error handling
    D. Creates a new SDK instance for each invocation

  • Question 452:

    What are the MINIMUM properties required in the resources section of the AppSpace file for CodeDeploy to deploy the ECS service successfully?

    A. name, alias, currentversion, and targetversion
    B. TaskDefinition, ContainerName, and PlartformVersion
    C. TaskDefinitionContainerName, ContainerPort
    D. name, Currentversion, NetworkConfiguration, and Platform Version

  • Question 453:

    A company has an ecommerce application. To track product reviews, the company's development team uses an Amazon DynamoDB table.

    Every record includes the following

    A Review ID a 16-digrt universally unique identifier (UUID) A Product ID and User ID 16 digit UUlDs that reference other tables A Product Rating on a scale of 1-5 An optional comment from the user

    The table partition key is the Review ID. The most performed query against the table is to find the 10 reviews with the highest rating for a given product.

    Which index will provide the FASTEST response for this query"?

    A. A global secondary index (GSl) with Product ID as the partition key and Product Rating as the sort key
    B. A global secondary index (GSl) with Product ID as the partition key and Review ID as the sort key
    C. A local secondary index (LSI) with Product ID as the partition key and Product Rating as the sort key
    D. A local secondary index (LSI) with Review ID as the partition key and Product ID as the sort key

  • Question 454:

    A developer manages three AWS accounts. Each account contains an Amazon RDS DB instance in a private subnet. The developer needs to define users in each database in a consistent way. The developer must ensure that the same users are created and updated later in all three accounts.

    Which solution will meet these requirements with the MOST operational efficiency?

    A. Create an AWS CloudFormation template. Declare the users in the template. Attach the users to the database. Deploy the template in each account.
    B. Create an AWS CloudFormation template that contains a custom resource to create the users in the database. Deploy the template in each account.
    C. Write a script that creates the users. Deploy an Amazon EC2 instance in each account to run the script on the databases. Run the script in each account.
    D. Implement an AWS Lambda function that creates the users in the database. Provide the function with the details of all three accounts.

  • Question 455:

    A developer is updating an Amazon API Gateway REST API to use a mock endpoint. The developer wants to modify the integration request mapping template so that the endpoint responds to mock integration requests with specific HTTP status codes based on different conditions.

    Which of the following templates should the developer use to achieve this?

    A. { if( $input.params(`integration') == "mock" ) "statusCode": 404 else "statusCode": 500 end }
    B. { if( $input.params('scope') == "internal" ) "statusCode": 200 else "statusCode": 500 end }
    C. { if( $input.path("integration") ) "statusCode": 200 else "statusCode":404 end }
    D. { if( $context.integration.status ) "statusCode": 200 else "statusCode": 500 end }

  • Question 456:

    A company runs an ecommerce application on AWS. The application stores data in an Amazon Aurora database.

    A developer is adding a caching layer to the application. The caching strategy must ensure that the application always uses the most recent value for each data item.

    Which caching strategy will meet these requirements?

    A. Implement a TTL strategy for every item that is saved in the cache.
    B. Implement a write-through strategy for every item that is created and updated.
    C. Implement a lazy loading strategy for every item that is loaded.
    D. Implement a read-through strategy for every item that is loaded.

  • Question 457:

    A developer needs to give a new application the ability to retrieve configuration data.

    The application must be able to retrieve new configuration data values without the need to redeploy the application code. If the application becomes unhealthy because of a bad configuration change, the developer must be able to automatically revert the configuration change to the previous value.

    Which solution meets these requirements?

    A. Use AWS Secrets Manager to manage and store the configuration data. Integrate Secrets Manager with a custom AWS Config rule that has remediation actions to track changes in the application and to roll back any bad configuration changes.
    B. Use AWS Secrets Manager to manage and store the configuration data. Integrate Secrets Manager with a custom AWS Config rule. Attach a custom AWS Systems Manager document to the rule that automatically rolls back any bad configuration changes.
    C. Use AWS AppConfig to manage and store the configuration data. Integrate AWS AppConfig with Amazon CloudWatch to monitor changes to the application. Set up an alarm to automatically roll back any bad configuration changes.
    D. Use AWS AppConfig to manage and store the configuration data. Integrate AWS AppConfig with Amazon CloudWatch to monitor changes to the application. Set up CloudWatch Application Signals to roll back any bad configuration changes.

  • Question 458:

    A company is running Amazon EC2 instances in multiple AWS accounts. A developer needs to implement an application that collects all the lifecycle events of the EC2 instances. The application needs to store the lifecycle events in a single Amazon Simple Queue Service (Amazon SQS) queue in the company's main AWS account for further processing.

    Which solution will meet these requirements?

    A. Configure Amazon EC2 to deliver the EC2 instance lifecycle events from all accounts to the Amazon EventBridge event bus of the main account. Add an EventBridge rule to the event bus of the main account that matches all EC2 instance lifecycle events. Add the SQS queue as a target of the rule.
    B. Use the resource policies of the SQS queue in the main account to give each account permissions to write to that SQS queue. Add to the Amazon EventBridge event bus of each account an EventBridge rule that matches all EC2 instance lifecycle events. Add the SQS queue in the main account as a target of the rule.
    C. Write an AWS Lambda function that scans through all EC2 instances in the company accounts to detect EC2 instance lifecycle changes. Configure the Lambda function to write a notification message to the SQS queue in the main account if the function detects an EC2 instance lifecycle change. Add an Amazon EventBridge scheduled rule that invokes the Lambda function every minute.
    D. Configure the permissions on the main account event bus to receive events from all accounts. Create an Amazon EventBridge rule in each account to send all the EC2 instance lifecycle events to the main account event bus. Add an EventBridge rule to themain account event bus that matches all EC2 instance lifecycle events. Set the SQS queue as a target for the rule.

  • Question 459:

    A developer is designing an AWS Lambda function that creates temporary files that are less than 10 MB during invocation. The temporary files will be accessed and modified multiple times during invocation. The developer has no need to save or retrieve these files in the future.

    Where should the temporary files be stored?

    A. the /tmp directory
    B. Amazon Elastic File System (Amazon EFS)
    C. Amazon Elastic Block Store (Amazon EBS)
    D. Amazon S3

  • Question 460:

    A developer is creating an application that must transfer expired items from Amazon DynamoDB to Amazon S3. The developer sets up the DynamoDB table to automatically delete items after a specific TTL. The application must process the items in DynamoDB and then must store the expired items in Amazon S3. The entire process, including item processing and storage in Amazon S3, will take 5 minutes.

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

    A. Configure DynamoDB Accelerator (DAX) to query for expired items based on the TTL. Save the results to Amazon S3.
    B. Configure DynamoDB Streams to invoke an AWS Lambda function. Program the Lambda function to process the items and to store the expired items in Amazon S3.
    C. Deploy a custom application on an Amazon Elastic Container Service (Amazon ECS) cluster on Amazon EC2 instances. Program the custom application to process the items and to store the expired items in Amazon S3.
    D. Create an Amazon EventBridge rule to invoke an AWS Lambda function. Program the Lambda function to process the items and to store the expired items in Amazon S3.

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.