Flash Sale: 30% off Annual and Lifetime Memberships

10 hours, 5 minutes remaining!
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

A company's application is hosted on AWS and leverages Elastic Beanstalk for its production environment. They aim to deploy a new version of the application with minimal impact on their live environment. They want to ensure that only a small percentage of users will be directed to the new version initially, and if issues arise, they can quickly revert to the old version. Which deployment strategy should they implement to meet this requirement?

  • Rolling deployments

  • All-at-once deployments

  • Blue/green deployments

  • Canary deployments

Question 2 of 15

A developer has built a web application that interfaces with a product catalog stored in Amazon DynamoDB. The application experiences intermittent periods of high read traffic which could potentially throttle DynamoDB read capacity. To maintain application responsiveness, which service should the developer integrate to provide an effective caching layer?

  • AWS DataSync

  • Amazon S3 Transfer Acceleration

  • Amazon ElastiCache

  • Amazon RDS Read Replica

Question 3 of 15

An application development team has implemented a system of microservices and requires a method to transparently diagnose issues that may arise during the traversal of requests across multiple service boundaries. Which service would provide them with the ability to track these requests, analyze performance bottlenecks, and visualize the service interaction?

  • Amazon VPC Flow Logs

  • Amazon CloudWatch

  • Amazon CloudTrail

  • AWS X-Ray

Question 4 of 15

What deployment strategy allows for the simultaneous release of two versions of an application, directing a portion of the traffic to the new version and the rest to the current version to test performance and stability before full adoption?

  • A/B testing

  • Blue/green deployment

  • Rolling deployment

  • Canary deployment

Question 5 of 15

A development team is utilizing AWS CodeCommit for their source control and they wish to implement a workflow strategy that allows parallel development while ensuring that new features can be developed independently from the hotfixes to the production code. Which of the following branching strategies would best facilitate this requirement?

  • Using a single 'development' branch for both new features and hotfixes and merging to main for releases

  • Using a feature branching strategy and creating a separate branch for hotfixes

  • Creating different repositories for features and hotfixes

  • Applying all changes directly to the main branch and using tags to differentiate feature changes from hotfixes

Question 6 of 15

You are developing an application that uses Amazon DynamoDB to store user activity data. The nature of the application requires that when a user performs an action, the most recent data must be shown immediately in their activity feed. Which type of read operation should you use to ensure the most up-to-date data is always retrieved?

  • Write-through caching read

  • Eventually consistent read

  • Strongly consistent read

  • Read-through caching read

Question 7 of 15

A developer needs to ensure that immediate alerts are sent out when a serverless function's usage nears the upper bounds of its allowed parallel executions, potentially impacting the application's availability. Which approach should the developer employ for real-time notification?

  • Schedule regular audits of usage patterns through log analysis and manually trigger notifications when limits are approached.

  • Incorporate error handling in the relevant code to catch execution limit errors and send emails via a mail delivery service.

  • Set up a configuration recorder to monitor changes to the function's configuration and alert on significant modifications.

  • Create an alarm based on the 'ConcurrentExecutions' metric that triggers an alert to a messaging topic when nearing the execution limit.

Question 8 of 15

Which service is designed to automate the phases of your project's release process, such as build, test, and deployment, whenever there is a change in code?

  • CodePipeline

  • EC2

  • Lambda

  • CodeBuild

Question 9 of 15

Your team is enhancing the security of your company's application by moving sensitive environment configurations out of the codebase. They need a solution that allows easy updates to these settings as business requirements evolve, without necessitating a new deployment of the application stack. Which service should they implement for storing and retrieving these settings while ensuring sensitive information is encrypted and access is controlled?

  • Simple Storage Service (S3) with custom encryption

  • Function-as-a-Service environment variables

  • Elastic Compute Cloud (EC2) instance metadata

  • Systems Manager Parameter Store

Question 10 of 15

In the context of AWS, what is an accepted method for securing applications by confirming the identity of a client making requests to a server?

  • Using one-time passwords at each login attempt

  • Implementing SSL/TLS for the transmission of sensitive data

  • Assigning specific Amazon Resource Names (ARNs) to clients

  • Using JSON Web Tokens (JWT) in the authorization header of HTTP requests

Question 11 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.

  • False

  • True

Question 12 of 15

Your company has an application that uploads processed data to an S3 bucket. You need to design a system where an AWS Lambda function is invoked for each new object created in the bucket to perform additional processing. What combination of steps should be taken to ensure the proper integration between S3 and the Lambda function?

  • Apply a bucket policy to the S3 bucket to allow the Lambda function to be invoked when a new object is created.

  • Create an S3 lifecycle policy that invokes the Lambda function upon new object upload.

  • Configure an event notification on the S3 bucket to invoke the Lambda function when an object is created.

  • Enable Cross-Origin Resource Sharing (CORS) on the S3 bucket to trigger the Lambda function.

Question 13 of 15

A front-end development team requires data from a service that is yet to be implemented. As the lead on inter-service communications, you need to configure your gateway to provide static responses to continue front-end development. Which technique would allow you to achieve this without relying on the service logic itself?

  • Setting up a mock integration directly on the gateway to mimic expected responses.

  • Applying request validation on the incoming requests to the interface.

  • Enabling cross-origin resource sharing (CORS) at the interface.

  • Implementing a temporary version of the service logic that produces static data.

Question 14 of 15

An organization's development team is preparing to roll out a serverless application that utilizes multiple cloud resources, including object storage, a NoSQL database, and serverless compute functions. The application must be able to read and write data to specific storage buckets and database tables. To comply with best security practices, how should you provision access for this application?

  • Construct a custom security profile for the application, restricting permissions exclusively to the operations required on designated storage buckets and database tables.

  • Deactivate explicit permission policies and deploy network-based controls to govern access to the necessary service resources.

  • Employ the root user's credentials for the application to ensure uninterrupted service access without having to manage multiple permission sets.

  • Generate an access key and secret key combination for the application, granting full management capabilities for all services to avoid potential disruptions.

Question 15 of 15

An application developer is tasked with enabling authentication through social media logins for a new mobile app and subsequently permitting access to specific cloud storage and database services on behalf of the authenticated user. Which Amazon Cognito feature should the developer leverage to achieve these requirements?

  • External identity provider integration with a token broker service

  • Directory services with custom application-level federation logic

  • Amazon Cognito User Pools

  • Synchronization service for user data and preferences

  • Amazon Cognito Identity Pools

  • IAM roles with trust relationships