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

An enterprise has mandated that their cloud-hosted applications authenticate users from the on-premises directory service without duplicating sensitive credentials. Which approach should be employed to meet this requirement while leveraging the organization's existing user directory?

  • You selected this option

    Generate temporary access credentials for users via a token service to authenticate against the on-premises directory service.

  • You selected this option

    Integrate the application through federation using SAML 2.0 with the organization's existing identity management system.

  • You selected this option

    Migrate the on-premises directory service users to a cloud directory service with User Pools.

  • You selected this option

    Implement application-side user authentication controls using the Access Control List (ACL) feature of a cloud directory service.

Question 2 of 15

In a CI/CD workflow, which of the following best describes the purpose of using branches?

  • You selected this option

    To duplicate an existing environment, but locking it for read-only operations.

  • You selected this option

    To enable parallel development on different features or components within the same project.

  • You selected this option

    To queue up deployment tasks so they run one after another.

  • You selected this option

    To combine code changes directly to the production environment.

Question 3 of 15

A software development team is utilizing AWS CodeCommit for their project's source control and wants to update the remote repository with the latest changes committed locally. Which command should the developers execute to synchronize their local repository updates with the remote AWS CodeCommit repository?

  • You selected this option

    git update

  • You selected this option

    git commit

  • You selected this option

    git clone

  • You selected this option

    git push

Question 4 of 15

A developer is configuring a Lambda function to access resources in a separate AWS account. To follow best security practices, the developer needs to grant the Lambda function the necessary permissions. What should the developer use to accomplish this?

  • You selected this option

    Store the target account user's credentials in Lambda environment variables and use them to access resources.

  • You selected this option

    Attach an inline policy to the Lambda function's execution role granting access to the target account resources.

  • You selected this option

    Use the Lambda function's own execution role directly to access resources in the target account without assuming any roles.

  • You selected this option

    Create an IAM role in the target account that the Lambda function can assume, with the necessary permissions attached.

Question 5 of 15

Your application is hosted on AWS and experiences intermittent failures. You need to implement a logging strategy to capture and store relevant application logs that will assist you in troubleshooting the issue. Given the requirement for minimal performance impact on your application and the ability to analyze the logs within minutes of the logged events, which logging approach should you employ?

  • You selected this option

    Use Amazon DynamoDB to store log data as soon as it is generated by the application.

  • You selected this option

    Implement log streaming directly to Amazon Kinesis Data Firehose for immediate storage and analysis.

  • You selected this option

    Configure the application to use the Amazon CloudWatch Logs agent to send logs to CloudWatch for storage and analysis.

  • You selected this option

    Manually push application logs to an Amazon S3 bucket for storage and eventual analysis.

Question 6 of 15

AWS CodeCommit allows developers to restrict who can commit directly to the master branch to enforce code reviews and maintain code quality.

  • You selected this option

    True

  • You selected this option

    False

Question 7 of 15

A development team is monitoring a serverless function that handles data processing tasks triggered by a NoSQL database stream. They are encountering issues with failed executions and need a way to quantify these incidents due to client-related mistakes. Which approach would BEST assist them in identifying and quantifying these specific issues over time for the purpose of application fine-tuning?

  • You selected this option

    Implement a custom metric recorded directly from the function whenever a client error is encountered during the data processing

  • You selected this option

    Incorporate a distributed tracing system to tag and review instances of client errors in function executions

  • You selected this option

    Expand log entries to include detailed error messages for each execution and periodically review for client errors

  • You selected this option

    Increase the function's monitoring level to capture all execution paths and errors

Question 8 of 15

What AWS service allows you to decouple microservices, distributed systems, and serverless applications by using a managed message queue?

  • You selected this option

    Amazon MQ

  • You selected this option

    Amazon Simple Queue Service (Amazon SQS)

  • You selected this option

    Amazon Kinesis

  • You selected this option

    Amazon Simple Notification Service (Amazon SNS)

Question 9 of 15

A developer has stored several configuration parameters required by an application in AWS Systems Manager Parameter Store. The application will retrieve these parameters at runtime without hardcoding them into the application code. When deploying an AWS Lambda function that needs access to these parameters, which IAM policy action must be included to allow the function to retrieve the parameters?

  • You selected this option

    ssm:PutParameter

  • You selected this option

    ssm:GetParameters

  • You selected this option

    ec2:DescribeInstances

  • You selected this option

    ssm:DescribeParameters

Question 10 of 15

A development team is utilizing a CI/CD service provided by AWS to streamline their application deployment. They have automated their release process but require a senior developer's sign-off before the application is pushed to the live environment. Which step should be taken to guarantee that the senior developer is notified to review and approve the release after the automated tests pass?

  • You selected this option

    Implement an approval action linked to a notification mechanism using an Amazon SNS topic which the senior developer is subscribed to for email alerts.

  • You selected this option

    Configure a monitoring service to send an alert to the senior developer when the automated testing phase succeeds.

  • You selected this option

    Develop a function within a serverless compute service to dispatch emails after validation checks have been passed.

  • You selected this option

    Arrange for a service hook to issue an email notice to the senior developer upon the conclusion of the verification procedures.

Question 11 of 15

A software development team wants to establish a seamless procedure that automatically compiles, verifies, and deploys their application to a testing arena upon every source code submission. Following successful validation, the system should then proceed to position the code in a pre-production zone. Which service should the team choose to facilitate this process of automating the progression between multiple deployment stages?

  • You selected this option

    CodeBuild

  • You selected this option

    CodeCommit

  • You selected this option

    CodePipeline

  • You selected this option

    CloudFormation

Question 12 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?

  • You selected this option

    Environment Variables in Lambda

  • You selected this option

    Stage Variables in API Gateway

  • You selected this option

    Lambda Versions

  • You selected this option

    Lambda Aliases

Question 13 of 15

A development team is working on an AWS Lambda function designed to process incoming image files from an Amazon S3 bucket. The team wants to track the number of images processed per minute as a custom metric. Which code implementation will effectively allow the team to send this custom metric to Amazon CloudWatch?

  • You selected this option

    The Lambda function should call the putMetricData operation of the CloudWatch client with a namespace and metric data for images processed each minute.

  • You selected this option

    The Lambda function should store the count of images processed in an Amazon DynamoDB table, which acts as a custom metric data source for CloudWatch.

  • You selected this option

    The Lambda function should use an Amazon Kinesis stream to capture the count of processed images, and then CloudWatch collects the metric from the stream.

  • You selected this option

    The Lambda function should write the count of processed images to the application logs, and CloudWatch parses the logs to extract the metric.

Question 14 of 15

A software company utilizes AWS Lambda for deploying a mission-critical application. In their upcoming release, they plan to incorporate a canary release strategy to introduce a new feature incrementally while mitigating risks. Assuming they already have a Lambda alias for their production environment, how should the company configure the alias to slowly route a small percentage of user traffic to the new feature while the majority still accesses the stable version?

  • You selected this option

    Deploy the new version as a separate Lambda function without an alias and manually invoke the new function to represent a percentage of total traffic.

  • You selected this option

    Configure the Lambda alias to immediately redirect 100% of traffic to the new version to test the new feature in live conditions.

  • You selected this option

    Deploy the new feature as a new Lambda function and update the production alias configuration to point solely to the new function, relying on Lambda's inherent traffic shifting capabilities.

  • You selected this option

    Adjust the production alias to serve both the old and the new Lambda versions, and configure the alias routing with a small weight towards the new version, gradually increasing it based on the monitoring results.

Question 15 of 15

Which service offers automated code reviews and actionable recommendations for improving code quality, along with identifying sections of code that might expose security vulnerabilities?

  • You selected this option

    CloudFormation

  • You selected this option

    CloudTrail

  • You selected this option

    Config

  • You selected this option

    CodeGuru