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-90 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

A development team is looking to manage environment-specific settings for their e-commerce web service interface, which routes incoming requests to the same backend AWS Lambda functions. They want to ensure that while the Lambda codebase remains identical, the behavior can be customized based on the environment it's deployed in. How should the team achieve this distinction within the web service interface provided by AWS?

  • Utilize environment configuration parameters, unique to each deployment stage of the web service interface, to pass specific values to the backend without changing the functions.

  • Alter the backend function code to incorporate environment-specific logic, and bundle this variance within the function deployment package.

  • Establish distinct backend functions for each deployment stage to manage the configuration differences, and allocate them to the web service interface accordingly.

  • Introduce separate interface methods distinguished by the intended environment to control the routing of requests.

Question 2 of 15

Is it possible to enhance a microservices architecture's resiliency by utilizing a publish/subscribe service to distribute messages concurrently to multiple message queueing services?

  • False

  • True

Question 3 of 15

A development team is working on a multi-tier application that involves serverless functions and virtual server instances. To diagnose performance issues and better understand the interaction between components, the team decides they need a service to track the requests as they travel through the different parts of the application. Which service should they use to achieve this with minimal changes to the existing code?

  • X-Ray

  • Inspector

  • CloudWatch

  • CloudTrail

Question 4 of 15

Which service is primarily used to gather insights from system-wide metrics, set up alarms based on specific conditions, and aggregate log data from various sources within a central platform?

  • Amazon CloudWatch

  • Amazon S3

  • AWS CloudTrail

  • Amazon Kinesis

Question 5 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

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

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

  • Enabling branch protections for the master branch

Question 6 of 15

Your team needs to update a production application running on AWS Elastic Beanstalk without downtime and with the ability to revert back immediately if issues arise. Which deployment policy should you employ to BEST meet these requirements?

  • Rolling

  • Blue/Green

  • Rolling with additional batch

  • Immutable

Question 7 of 15

Your application uses an Amazon DynamoDB table to serve user profile information. You notice an increase in the read load causing throttling issues due to repeated accesses to the same items. Which caching strategy should you implement to minimize read latency and reduce the load on the DynamoDB table while ensuring data consistency for frequently accessed items?

  • Apply lazy loading to load user profiles into the cache only when updates occur

  • Set a time-to-live (TTL) for user profiles to invalidate the cache periodically

  • Store user profiles in Amazon S3 and synchronize them with DynamoDB

  • Use a write-through cache to preload user profiles into Amazon ElastiCache

  • Increase the read capacity units (RCUs) for the DynamoDB table to handle the higher load

  • Implement a read-through cache using Amazon ElastiCache

Question 8 of 15

A developer needs to process a stream of incoming data and update a DynamoDB table accordingly. The developer has decided to use a Lambda function to process the batches of records as they arrive and update DynamoDB. Which AWS service should be used to trigger the Lambda function in response to the incoming data stream?

  • Use Amazon Kinesis Data Streams to trigger the Lambda function.

  • Configure Amazon S3 event notifications to trigger the Lambda function.

  • Employ Amazon SNS to publish messages that trigger the Lambda function.

  • Utilize Amazon SQS to queue the data and trigger the Lambda function.

Question 9 of 15

Your company is developing a serverless application with an AWS Lambda function that requires multiple development and testing environments. Which AWS feature allows you to point to different versions of a Lambda function for different integration testing environments without modifying the function's ARN?

  • Lambda Versions

  • Lambda Aliases

  • Stage Variables in API Gateway

  • Environment Variables in Lambda

Question 10 of 15

While debugging an AWS Lambda function triggered by an API Gateway, a developer finds that the HTTP client receives an error code indicating that the server cannot process the request due to a client error. Which HTTP status code is typically returned by the API Gateway when the request payload is formatted correctly but invalid?

  • 200 OK

  • 502 Bad Gateway

  • 500 Internal Server Error

  • 400 Bad Request

Question 11 of 15

Which configuration under Amazon API Gateway allows a developer to associate a REST API with a custom domain name?

  • Base Path Mapping

  • Custom Domain Names

  • Resource Policies

  • Stage Variables

Question 12 of 15

An application running on an EC2 instance needs to securely interact with various cloud resources. To follow best security practices, you've assigned a particular role to the instance to facilitate this. Which method should your application use to authenticate service requests seamlessly?

  • Generate and use a dedicated set of long-term security credentials, storing them in the instance storage for service requests.

  • Rely on the cloud SDK's default behavior to retrieve temporary security credentials provided through the instance's metadata.

  • Embed a fixed set of security credentials within the application's source code to authenticate service requests.

  • Implement a custom script to fetch temporary security tokens using GetSessionToken for service request authorization.

Question 13 of 15

Using exponential backoff alone is more effective in handling retries in a distributed system than combining exponential backoff with jitter for managing transient failures.

  • True

  • False

Question 14 of 15

An application development team is leveraging a serverless framework provided by AWS to manage and deploy their serverless infrastructure. When the team needs to introduce new updates for testing that will not impact the live environment accessed by users, which action aligns best with this requirement?

  • Update the live environment during off-peak hours to minimize the impact on end-users.

  • Deploy the updates to a separate staging environment that replicates the live settings.

  • Conduct IAM role permission testing to ensure that the updates will not affect user access control.

  • Apply the updates in a different, unconnected environment to protect the live environment.

Question 15 of 15

A development team needs to allow an external consultant's account to access a specific Amazon S3 bucket to store and retrieve files essential for a joint project. The external consultant should not be given user credentials within the team's AWS account. What type of policy should the development team attach to the S3 bucket to allow access directly to the bucket itself?

  • Identity-based policy attached to a user

  • IAM group policy

  • Resource-based policy (e.g., S3 bucket policy)

  • Service control policy (SCP)