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

    A developer has written the following IAM policy to provide access to an Amazon S3 bucket:

    Which access does the policy allow regarding the s3:GetObject and s3:PutObject actions?

    A. Access on all buckets except the "DOC-EXAMPLE-BUCKET" bucket
    B. Access on all buckets that start with "DOC-EXAMPLE-BUCKET" except the "DOC- EXAMPLE-BUCKET/secrets" bucket
    C. Access on all objects in the "DOC-EXAMPLE-BUCKET" bucket along with access to all S3 actions for objects in the "DOC-EXAMPLE-BUCKET" bucket that start with "secrets"
    D. Access on all objects in the "DOC-EXAMPLE-BUCKET" bucket except on objects that start with "secrets"

  • Question 142:

    A developer is configuring an application's deployment environment in AWS CodePipeline. The application code is stored in a GitHub repository. The developer wants to ensure that the repository package's unit tests run in the new deployment environment. The developer has already set the pipeline's source provider to GitHub and has specified the repository and branch to use in the deployment.

    Which combination of steps should the developer take next to meet these requirements with the LEAST overhead? (Choose two.)

    A. Create an AWS CodeCommit project. Add the repository package's build and test commands to the project's buildspec.
    B. Create an AWS CodeBuild project. Add the repository package's build and test commands to the project's buildspec.
    C. Create an AWS CodeDeploy project. Add the repository package's build and test commands to the project's buildspec.
    D. Add an action to the source stage. Specify the newly created project as the action provider. Specify the build artifact as the action's input artifact.
    E. Add a new stage to the pipeline after the source stage. Add an action to the new stage. Specify the newly created project as the action provider. Specify the source artifact as the action's input artifact.

  • Question 143:

    A developer has a financial application. The application uses AWS Secrets Manager to manage an Amazon RDS for PostgreSQL database's username and password. The developer needs to rotate thepassword while maintaining the

    application's high availability.

    Which solution will meet these requirements with LEAST development effort?

    A developer has a financial application. The application uses AWS Secrets Manager to manage an Amazon RDS for PostgreSQL database's username and password. The developer needs to rotate the password while maintaining the

    application's high availability.

    Which solution will meet these requirements with the LEAST development effort?

    A. Rotate the secret by using the alternating-users rotation strategy. Update the application with an appropriate retry strategy to handle authentication failures.
    B. Use the PostgreSQL client to create a new database username and password. Include the new secret values by performing an immediate rotation. Use the AWS CLI to update the RDS database password. Perform an immediate rotation of the Secrets Manager secrets.
    C. Rotate the secret by using multivalue answer rotation. Update the application with an appropriate retry strategy to handle authentication failures.
    D. Rotate the secret by using the single-user rotation strategy. Update the application with an appropriate retry strategy to handle authentication failures.

  • Question 144:

    A company that has large online business uses an Amazon DynamoDB table to store sales data. The company enabled Amazon DynamoDB Streams on the table. The transaction status of each sale is stored in a TransactionStatus attribute

    in the table. The value of the TransactionStatus attribute must be either failed, pending, or completed.

    The company wants to be notified of failed sales where the Price attribute is above a specific threshold. A developer needs to set up notification for the failed sales.

    Which solution will meet these requirements with the LEAST development effort?

    A. Create an event source mapping between DynamoDB Streams and an AWS Lambda function. Use Lambda event filtering to trigger the Lambda function only if sales fail when the price is above the specified threshold. Configure the Lambda function to publish the data to an Amazon Simple Notification Service (Amazon SNS) topic.
    B. Create an event source mapping between DynamoDB Streams and an AWS Lambda function. Configure the Lambda function handler code to publish to an Amazon Simple Notification Service (Amazon SNS) topic if sales fail when price is above the specified threshold.
    C. Create an event source mapping between DynamoDB Streams and an Amazon Simple Notification Service (Amazon SNS) topic. Use event filtering to publish to the SNS topic if sales fail when the price is above the specified threshold.
    D. Create an Amazon CloudWatch alarm to monitor the DynamoDB Streams sales data. Configure the alarm to publish to an Amazon Simple Notification Service (Amazon SNS) topic if sales fail due when price is above the specified threshold.

  • Question 145:

    A developer is publishing critical log data to a log group in Amazon CloudWatch Logs. The log group was created 2 months ago. The developer must encrypt the log data by using an AWS Key Management Service (AWS KMS) key so that future data can be encrypted to comply with the company's security policy.

    Which solution will meet this requirement with the LEAST effort?

    A. Use the AWS Encryption SDK for encryption and decryption of the data before writing to the log group.
    B. Use the AWS KMS console to associate the KMS key with the log group.
    C. Use the AWS CLI aws logs create-log-group command, and specify the key Amazon Resource Name (ARN).
    D. Use the AWS CLI aws logs associate-kms-key command, and specify the key Amazon Resource Name (ARN).

  • Question 146:

    A developer is working on an ecommerce platform that communicates with several third-party payment processing APIs. The third-party payment services do not provide a test environment.

    The developer needs to validate the ecommerce platform's integration with the third-party payment processing APIs. The developer must test the API integration code without invoking the third-party payment processing APIs.

    Which solution will meet these requirements?

    A. Set up an Amazon API Gateway REST API with a gateway response configured for status code 200. Add response templates that contain sample responses captured from the real third-party API.
    B. Set up an AWS AppSync GraphQL API with a data source configured for each third-party API. Specify an integration type of Mock. Configure integration responses by using sample responses captured from the real third-party API.
    C. Create an AWS Lambda function for each third-party API. Embed responses captured from the real third-party API. Configure Amazon Route 53 Resolver with an inbound endpoint for each Lambda function's Amazon Resource Name (ARN).
    D. Set up an Amazon API Gateway REST API for each third-party API. Specify an integration request type of Mock. Configure integration responses by using sample responses captured from the real third-party API.

  • Question 147:

    An organization is using Amazon CloudFront to ensure that its users experience low-latency access to its web application. The organization has identified a need to encrypt all traffic between users and CloudFront, and all traffic between CloudFront and the web application.

    How can these requirements be met? (Choose two.)

    A. Use AWS KMS to encrypt traffic between CloudFront and the web application.
    B. Set the Origin Protocol Policy to "HTTPS Only".
    C. Set the Origin's HTTP Port to 443.
    D. Set the Viewer Protocol Policy to "HTTPS Only" or "Redirect HTTP to HTTPS".
    E. Enable the CloudFront option Restrict Viewer Access.

  • Question 148:

    A Company runs continuous integration/continuous delivery (CI/CD) pipelines for its application on AWS CodePipeline. A Developer must write unit tests and run them as part of the pipelines before staging the artifacts for testing. How should the Developer incorporate unit tests as part of CI/CD pipelines?

    A. Create a separate CodePipeline pipeline to run unit tests.
    B. Update the AWS CodeBuild specification to include a phase for running unit tests
    C. Install the AWS CodeDeploy agent on an Amazon EC2 instance to run unit tests
    D. Create a testing branch in AWS CodeCommit to run unit tests

  • Question 149:

    A company is adopting serverless computing for some of its new services. A development team needs to create a serverless infrastructure by using AWS Serverless Application Model (AWS SAM). All infrastructure must be deployed by using AWS CloudFormation templates.

    What should the development team do to meet these requirements?

    A. Add a Resources section to the CloudFormation templates that contains AWS::Lambda::Function resources.
    B. Add a Mappings section to the CloudFormation templates that contains AWS::Serverless::Function and AWS::Serverless::API.
    C. Add a Transform section to the CloudFormation templates. Use the AWS SAM syntax to define the resources.
    D. Add a Parameters section to the CloudFormation templates that specifies the relevant AWS SAM Globals section.

  • Question 150:

    A developer is working on a web application that uses Amazon DynamoDB as its data store. The application has two DynamoDB tables: one table that is named artists and one table that is named songs. The artists table has artistName as the partition key. The songs table has songName as the partition key and artistName as the sort key.

    The table usage patterns include the retrieval of multiple songs and artists in a single database operation from the webpage. The developer needs a way to retrieve this information with minimal network traffic and optimal application performance.

    Which solution will meet these requirements?

    A. Perform a BatchGetltem operation that returns items from the two tables. Use the list of songName/artistName keys for the songs table and the list of artistName key for the artists table.
    B. Create a local secondary index (LSI) on the songs table that uses artistName as the partition key. Perform a query operation for each artistName on the songs table that filters by the list of songName. Perform a query operation for each artistName on the artists table.
    C. Perform a BatchGetitem operation on the songs table that uses the songName/artistName keys. Perform a BatchGetltem operation on the artists table that uses artistName as the key.
    D. Perform a Scan operation on each table that filters by the list of songName/artistName for the songs table and the list of artistName in the artists table.

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.