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

Free Preview

This test is a free preview, no account required.
Subscribe to unlock all content, keep track of your scores, and access AI features!

Question 1 of 15

Given an application that processes a high volume of messages and requires a resilient architecture to manage potential processing bottlenecks, which approach would most effectively guarantee no loss of messages and facilitate recovery for messages that could not be processed after multiple attempts?

  • Apply a backoff retry strategy on a Lambda function triggered by message arrival, ensuring that temporary processing issues are mitigated.

  • Deploy an Amazon Kinesis stream and attach a Lambda function to process the streamed records, ensuring the function has robust exception handling.

  • Create an SQS Delay Queue to postpone the delivery of new messages and give the system time to recover from any current processing delay.

  • Set up an Amazon SQS queue and configure a dead-letter queue (DLQ) to catch messages that fail to be processed after a certain number of attempts.

Question 2 of 15

When designing a web service for processing financial transactions, what mechanism can a developer implement to prevent duplicate submissions from charging a customer multiple times?

  • Track the status codes from previous submissions and use them to determine if the operation should be retried.

  • Integrate a distributed tracing service to handle de-duplication of transaction requests.

  • Record the timestamp for each operation and only process requests if subsequent submissions occur after a specific time interval.

  • Generate a unique identifier for each operation, allowing the service to detect and ignore retries of transactions that have already been executed.

Question 3 of 15

Your team is designing an AWS-based application where one component processes customer orders, and another component handles inventory management. Considering that you need to minimize the interdependence between these two components in case one of them fails, which approach would contribute to a more loosely coupled architecture?

  • Creating database triggers within your order database to automatically update the inventory management system in real-time

  • Setting up a REST service within the inventory management component that is called directly by the order processing service for every new order

  • Using an Amazon Simple Queue Service (SQS) to facilitate message passing between the order processing and inventory management components

  • Implementing synchronous REST API interactions between the two services, requiring an immediate response after an order is placed

Question 4 of 15

You are developing a RESTful API. When a client sends a POST request to create a new resource, but the resource already exists, which HTTP status code should your API return to best adhere to standard practices?

  • 409 Conflict

  • 500 Internal Server Error

  • 202 Accepted

  • 400 Bad Request

Question 5 of 15

Which of the following is the BEST description of a stateless application component?

  • It retains session state information between requests, necessitating a mechanism to store user data on the server for ongoing interactions.

  • It requires sticky sessions to ensure that a user's session data is maintained across multiple interactions with the application.

  • It relies on server-side storage to keep track of user states and preferences, reducing the client's overhead in subsequent requests.

  • It treats each request as a separate, independent transaction, without the need to maintain client session state on the server.

Question 6 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 7 of 15

Which tool offered by Amazon Web Services can developers use to invoke and debug their serverless functions locally, simulating the cloud environment on their own machine?

  • AWS SAM CLI

  • AWS CodeDeploy

  • Amazon CodePipeline

  • AWS SDKs

Question 8 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 9 of 15

You are working on a serverless application where each component is designed to execute a distinct operation within an e-commerce checkout process. During the development cycle, you want to confirm that each component functions independently and as expected without making actual calls to cloud services. What technique should you employ within your unit tests to simulate the behavior of the external dependencies?

  • Configure an API management service to handle dependencies during test runs

  • Create instances of client objects specific to cloud resources within your unit tests

  • Utilize SDK mocking utilities to emulate the behavior of external service calls

  • Reference recorded responses from an object storage service during test execution

Question 10 of 15

You are implementing a notification system for an online shopping platform hosted on AWS. The system must send emails to customers after their order has been processed. Given that the order processing system can become backlogged during peak times, which pattern should you employ to ensure that the email notifications do not block or slow down the order processing workflow?

  • Adopt a synchronous pattern for small batches of orders, switching to an asynchronous pattern only when detecting a processing backlog.

  • Implement a hybrid pattern, sending the email synchronously for premium customers, while using an asynchronous approach for regular customers.

  • Use a synchronous pattern where the order processing service sends the email directly before confirming the order as complete within the same workflow.

  • Employ an asynchronous pattern with a message queue that collects notifications to be processed by a separate email-sending service independently of order processing.

Question 11 of 15

A developer is designing a new application that processes sensitive financial data. The application will store processed data in Amazon S3. For compliance reasons, the data must be encrypted at all times. Which type of encryption should the developer use to ensure that the data is encrypted before it leaves the application's host and remains encrypted in transit and at rest within Amazon S3?

  • Enable Secure Socket Layer (SSL) on the application's server and rely on S3 bucket policies to handle encryption.

  • Implement client-side encryption using a customer-managed key prior to uploading the data to Amazon S3.

  • Activate default S3 bucket encryption with an AWS Key Management Service (KMS) managed key.

  • Use server-side encryption with Amazon S3 managed keys (SSE-S3) when uploading the data.

Question 12 of 15

A developer is implementing a cloud-based messaging system where it's critical that messages are processed at least once, but the processing service is occasionally prone to temporary outages. How should the developer ensure message processing can be retried reliably without overwhelming the service when it comes back online?

  • Implement retries with exponential backoff and jitter

  • Create a dedicated error queue for failed message processing attempts

  • Increase the message visibility timeout to its maximum limit

  • Set up unlimited immediate retries for all failed messages

Question 13 of 15

Which architectural pattern is best described by a design that breaks down an application into smaller, interconnected services, each responsible for a specific business function?

  • Microservices

  • Choreography

  • Fanout

  • Monolithic

Question 14 of 15

Your company's new web application is required to authenticate users leveraging their existing social network accounts to streamline the sign-in process. Which service would you utilize to enable this feature while maintaining a seamless user experience and secure authentication process?

  • AWS Identity and Access Management

  • Amazon Cognito

  • AWS Security Token Service

  • AWS Directory Service

Question 15 of 15

Which technique should be implemented to develop a resilient and fault-tolerant application that can handle intermittent failures when making HTTP requests to an AWS service?

  • Retries with exponential backoff and jitter

  • Decreasing the timeout with each retry attempt

  • Retries with constant backoff

  • Using static waits between retry attempts

  • Increasing the payload size with each retry attempt

  • Sending multiple parallel requests to expedite processing