00:15:00

AWS Certified Developer Associate Practice Test (DVA-C02)

Use the form below to configure your AWS Certified Developer Associate Practice Test (DVA-C02). The practice test can be configured to only include certain exam objectives and domains. You can choose between 5-100 questions and set a time limit.

Logo for AWS Certified Developer Associate DVA-C02
Questions
Number of questions in the practice test
Free users are limited to 20 questions, upgrade to unlimited
Seconds Per Question
Determines how long you have to finish the practice test
Exam Objectives
Which exam objectives should be included in the practice test

AWS Certified Developer Associate DVA-C02 Information

AWS Certified Developer - Associate showcases knowledge and understanding of core AWS services, uses, and basic AWS architecture best practices, and proficiency in developing, deploying, and debugging cloud-based applications by using AWS. Preparing for and attaining this certification gives certified individuals more confidence and credibility. Organizations with AWS Certified developers have the assurance of having the right talent to give them a competitive advantage and ensure stakeholder and customer satisfaction.

The AWS Certified Developer - Associate (DVA-C02) exam is intended for individuals who perform a developer role. The exam validates a candidate’s ability to demonstrate proficiency in developing, testing, deploying, and debugging AWS Cloud-based applications. The exam also validates a candidate’s ability to complete the following tasks:

  • Develop and optimize applications on AWS.
  • Package and deploy by using continuous integration and continuous delivery (CI/CD) workflows.
  • Secure application code and data.
  • Identify and resolve application issues.

Free AWS Certified Developer Associate DVA-C02 Practice Test

Press start when you are ready, or press Change to modify any settings for the practice test.

  • Questions: 15
  • Time: Unlimited
  • Included Topics:
    Development with AWS Services
    Security
    Deployment
    Troubleshooting and Optimization
Question 1 of 15

What is an essential characteristic of a unit test when developing applications?

  • It should interact with a live database to validate integration points.

  • It should be able to be run in a production environment to test real user scenarios.

  • It should cover multiple components and their interactions to ensure integration.

  • It should be isolated, testing a single component without external dependencies.

Question 2 of 15

Your system is responsible for storing a series of user-generated events, each characterized by a unique identifier, the time of occurrence, and the type of event. Given the need to prevent disproportionate use of any single data partition for storage and retrieval operations, which scheme should you adopt for the partition key assignment?

  • Assign a unique identifier as the sole partition key

  • Designate the event type as the partition key

  • Combine the unique identifier with the occurrence time to formulate a partition key

  • Use the occurrence time as the sole partition key

Question 3 of 15

A developer is implementing an application that requires frequent retrieval of items from an Amazon DynamoDB table. To optimize performance, the application needs to minimize latency and reduce the number of network calls. Given the need for efficient data access patterns, which method should the developer use when implementing code that interacts with the DynamoDB table using the AWS SDK?

  • Perform individual GetItem operations for each item.

  • Utilize BatchGetItem for batch retrieval of items.

  • Use PutItem calls with a filter to only insert the desired items.

  • Employ a Scan operation to fetch all table items and filter as needed.

Question 4 of 15

A developer is required to manage the lifecycle of objects in an Amazon S3 bucket used for data analysis. The objects are frequently accessed for the first 30 days, occasionally accessed for the next 60 days, and rarely accessed thereafter. Which lifecycle configuration should the developer apply to optimize cost without compromising data availability?

  • Transition to S3 Standard-Infrequent Access after 30 days and to S3 Glacier after 90 days.

  • Transition to S3 One Zone-Infrequent Access after 30 days and delete objects after 90 days.

  • Leave the objects in S3 Standard for unlimited time to ensure rapid access.

  • Immediately store the objects in S3 Glacier upon creation.

Question 5 of 15

Automated testing within AWS CI/CD cannot include unit tests that are executed as part of the build stage in AWS CodePipeline.

  • True

  • False

Question 6 of 15

Which AWS service can trigger a Lambda function in response to changes in data within a database table?

  • Amazon CloudWatch

  • Amazon S3

  • Amazon DynamoDB Streams

  • Amazon Simple Queue Service (SQS)

Question 7 of 15

A development team is building a social media analytics platform that rapidly processes and analyzes streaming data from various sources. The application must dynamically adapt to unpredictable schemas and requires immediate consistency for write operations due to the interdependent nature of the data. Considering the need for auto-scaling capabilities and high-throughput performance, which Amazon database service should the development team leverage for their data tier?

  • Amazon Keyspaces (for Apache Cassandra)

  • Amazon DynamoDB

  • Amazon Timestream

  • Amazon Aurora

Question 8 of 15

When developing serverless applications, it is possible to execute and debug your code on your local machine, simulating the cloud environment, without having to upload your functions to the actual cloud service each time during testing.

  • The statement is false; the framework requires all tests to be performed directly in the cloud and does not support local testing.

  • The statement is true; the framework allows for local testing and debugging which simulates the cloud environment.

Question 9 of 15

Which AWS service provides a managed in-memory data store that is compatible with Redis or Memcached?

  • Amazon S3

  • Amazon ElastiCache

  • Amazon DynamoDB

  • Amazon RDS

Question 10 of 15

A developer must provision an external service's credentials to an application hosted on a virtual server without embedding them directly into the codebase or configuration files. Which service should the developer implement to securely manage and inject these credentials at runtime?

  • Permission assignment service

  • Encrypted object storage service

  • Version-controlled code repository

  • Parameter store without additional encryption

  • Dedicated secrets management service

  • Environment variables with plain text values

Question 11 of 15

A development team is working on a new feature in a project hosted in AWS CodeCommit. They want to ensure that any changes pushed to the master branch have been reviewed and approved by at least two team members before being merged. Which feature in CodeCommit can they utilize to enforce this requirement?

  • Implementing stage locking on the master branch

  • Enabling branch protections for the master branch

  • Requiring a pre-signed commit policy on the master branch

  • Configuring a pull request approval rule in CodeCommit for the master branch

Question 12 of 15

You are in charge of deploying an application that must access a database using specific credentials. The deployment requires setting environment variables that the application will utilize at runtime. How should you securely store and supply these database access details to the application?

  • Encrypt the database credentials and include them in the versioned application configuration, decrypting them with a stored key when the application starts.

  • Use a configuration management service with KMS to store the database credentials and control access through roles.

  • Adopt a managed secrets management service to handle the database credentials and dynamically provide them to the application when needed.

  • Implement environment variables in the application source code with encryption logic that decrypts these values on initialization.

Question 13 of 15

Which policy type allows you to specify access permissions directly on an AWS resource such as an S3 bucket or an RDS instance?

  • Resource-based policy

  • Managed policy

  • Principal policy

  • Service policy

Question 14 of 15

Your development team needs access to review configurations from a specific storage bucket, 'dev-configurations', but as per the company protocol, all permission policies must be centrally controlled by the security administrators. How would you proceed to grant the appropriate review privileges to your team without overstepping the bounds of the prescribed protocol?

  • Utilize a pre-existing general access policy from AWS and apply it to the development team's roles.

  • Alter the permission boundaries for your developers to incorporate the read privileges for the bucket in question.

  • Contact the security administrators to provision a tailored policy with appropriate permissions for your team.

  • Configure a new access policy directly for the users to review the specific bucket contents.

Question 15 of 15

Your team is implementing a continuous delivery pipeline for a new application to ensure rigorous quality standards are met. To achieve compliance, they must insert a control point that requires a specific reviewer's sign-off before the application is released to the live environment. Which feature should you use to integrate this requirement within your deployment pipeline?

  • Define a stage timeout in the pipeline configuration to allow enough time for a manual review.

  • Insert a Manual Approval action within the appropriate stage of your delivery pipeline.

  • Create prerequisite conditions for progression that halt the process until a team member resolves them.

  • Incorporate a custom Lambda function, triggered to solicit a review from the necessary personnel.