The AWS Developer Associate exam is one of three AWS certifications at the associate level. This certification is geared towards those who work in development roles using AWS cloud services. If you don’t work as a developer, this might put you off. However, as you’ll learn in this article, this certification is both accessible and useful to those who do not come from a development background.
This article aims to help you to understand what to expect if you decide to pursue this certification. This includes coverage of the AWS DVA-C01 exam guide, as well as delving into some more detail on what services and topics you’ll need to know. You’ll also learn about the types of exam questions you’ll find when you take the exam and how to best prepare for them.
The AWS Certified Developer Associate DVA-C01 Exam Guide
The AWS Developer Associate certification is intended for those individuals who perform a development role working with AWS services. It is expected that you’ll have at least one year of hands-on experience developing and maintaining AWS-based applications. The exam validates the following ability to:
- Demonstrate an understanding of core AWS services, uses, and basic AWS architecture best practices
- Demonstrate proficiency in developing, deploying, and debugging cloud-based applications using AWS
In reality, you don’t need to know how to program and you don’t actually need to have experience of developer tools to pass this exam. Plenty of students pass this exam using only video-based training, practice tests, and hands-on practice using an AWS free-tier account.
The exam includes 65 questions and has a time limit of 130 minutes. You need to score a minimum of 720 out of 1000 points to pass the exam. The question format of the exam is multiple-choice (one correct response from four options) and multiple-response (two or more correct responses from five or more options).
In the AWS Certified Developer Associate (DVA-C01) exam guide, it is stated that students should have the following knowledge and experience:
- In-depth knowledge of at least one high-level programming language
- Understanding of core AWS services, uses, and basic AWS architecture best practices
- Proficiency in developing, deploying, and debugging cloud-based applications using AWS
- Ability to use the AWS service APIs, AWS CLI, and SDKs to write applications
- Ability to identify key features of AWS services
- Understanding of the AWS shared responsibility model
- Understanding of application lifecycle management
- Ability to use a CI/CD pipeline to deploy applications on AWS
- Ability to use or interact with AWS services
- Ability to apply a basic understanding of cloud-native applications to write code
- Ability to write code using AWS security best practices
- Ability to author, maintain, and debug code modules on AWS
- Proficiency writing code for serverless applications
- Understanding of the use of containers in the development process
Again, this may lead you to believe that you need strong development skills to have any chance of passing this exam but this is simply not true. In my video-based course for this exam, I teach you everything you need to know even if you don’t have this experience. You will need to learn how to read snippets of code, but you won’t need to be able to write any yourself.
Throughout the rest of this article, we’ll explore these knowledge requirements in more detail, so you get a clear idea of what to expect in the exam.
AWS Developer Associate Exam – Domains, Objective and Examples
The knowledge required is organized into five “domains”. Within each domain, there are several objectives that broadly describe the knowledge and experience expected to pass the exam.
Domain 1: Deployment
This domain makes up 22% of the exam and includes the following four objectives:
1.1 Deploy written code in AWS using existing CI/CD pipelines, processes, and patterns
1.2 Deploy applications using Elastic Beanstalk
1.3 Prepare the application deployment package to be deployed to AWS
1.4 Deploy serverless applications
What you need to know
You need to know how to use the AWS Developer Tools such as AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline. You’ll need to know how to use these tools for creating CI/CD pipelines to deploying code. These tools make it easy for you, so don’t be too intimidated by this if you’ve not worked with CI/CD pipelines before. In fact, in my AWS Developer Associate training course, I walk you through hands-on labs to demonstrate this to you.
You’ll definitely need to be confident when to use an appspec.yml file vs a buildspec.yml file. For CodeDeploy make sure you know the different deployment types such as in-place and blue/green and also the various traffic shifting options including canary, linear, and all-at-once. These are different for each service (Lambda, ECS, EC2 etc.) and you will be tested on this knowledge.
AWS Elastic Beanstalk can feature quite heavily on the exam. You’ll need to understand the structure of Elastic Beanstalk and its uses cases. Make sure you understand the difference between web server environments and worker environments. Elastic Beanstalk deployment policies come up often and it’s very important to understand the various features and constraints of each policy and when to use them. These include All-at-once, rolling, rolling with additional batch, and immutable.
Serverless is a big topic on the AWS Certified Developer Associate exam. You need to know how to deploy AWS Lambda functions, Amazon API Gateway APIs, Amazon DynamoDB tables, and other serverless services. This can include using AWS CodeDeploy, Amazon CloudFormation, and the AWS Serverless Application Model.
Question: The source code for an application is stored in a file named index.js that is in a folder along with a template file that includes the following code:
AWSTemplateFormatVersion: '2010-09-09' Transform: 'AWS::Serverless-2016-10-31' Resources: LambdaFunctionWithAPI: Type: AWS::Serverless::Function Properties: Handler: index.handler Runtime: nodejs12.x
What does a Developer need to do to prepare the template so it can be deployed using an AWS CLI command?
- Run the aws cloudformation compile command to base64 encode and embed the source file into a modified CloudFormation template
- Run the aws cloudformation package command to upload the source code to an Amazon S3 bucket and produce a modified CloudFormation template
- Run the aws lambda zip command to package the source file together with the CloudFormation template and deploy the resulting zip archive
- Run the aws serverless create-package command to embed the source file directly into the existing CloudFormation template
Answer: 2. The template shown is an AWS SAM template for deploying a serverless application. This can be identified by the template header: Transform: ‘AWS::Serverless-2016-10-31’. The Developer will need to package and then deploy the template. To do this the source code must be available in the same directory or referenced using the “codeuri” parameter. Then, the Developer can use the “aws cloudformation package” or “sam package” commands to prepare the local artifacts (local paths) that the AWS CloudFormation template references.
Question: A Developer has completed some code updates and needs to deploy the updates to an Amazon Elastic Beanstalk environment. The environment includes twelve Amazon EC2 instances and there can be no reduction in application performance and availability during the update. Which deployment policy is the most cost-effective choice so suit these requirements?
- All at once
- Rolling with additional batch
Answer: 3. The “rolling with additional batch” policy will add an additional batch of instances, updates those instances, then move onto the next batch.
Question: A Developer is writing an imaging microservice on AWS Lambda. The service is dependent on several libraries that are not available in the Lambda runtime environment. Which strategy should the Developer follow to create the Lambda deployment package?
- Create a ZIP file with the source code and all dependent libraries
- Create a ZIP file with the source code and a script that installs the dependent libraries at runtime
- Create a ZIP file with the source code and an appspec.yml file. Add the libraries to the appspec.yml file and upload to Amazon S3. Deploy using CloudFormation
- Create a ZIP file with the source code and a buildspec.yml file that installs the dependent libraries on AWS Lambda
Answer: 1. A deployment package is a ZIP archive that contains your function code and dependencies. You need to create a deployment package if you use the Lambda API to manage functions, or if you need to include libraries and dependencies other than the AWS SDK.
Domain 2: Security
This domain makes up 26% of the exam and includes the following three objectives:
2.1 Make authenticated calls to AWS services
2.2 Implement encryption using AWS services
2.3 Implement application authentication, and authorization
What you need to know
Security is an important topic for all AWS exams and with the AWS Developer Associate certification, you’ll need to be familiar with how to develop secure applications and use best practices for secure application development.
You need to understand how and when to use IAM users, groups, and roles. You should be familiar with how delegation works and how to assume roles programmatically. You need to know when to use access keys and when to use instance profiles. You’ll also need to be able to read JSON permissions policies and know how to construct them.
The AWS Developer Associate Exam includes quite a few questions on AWS Cognito. You’ll need to know when to use Cognito User Pools and Cognito Identity Pools. This can be a confusing topic but you need to be crystal clear on the differences on exam day. Also, make sure you understand Lambda authorizers and how to use them with API Gateway.
For encryption you need to understand the encryption SDK. AWS KMS, AWS CloudHSM, and Amazon S3 encryption come up regularly. Make sure you understand all the options and when and how to use each service. It’s important to understand the process of how data is protected with encryption. Encryption at rest vs encryption in-transit comes up too.
If encryption and security make your head spin, fear not! Enroll in my AWS Certified Developer Associate training course and you’ll learn these complex topics through visual and theoretical lessons and practical learning exercises.
Question: A developer needs to add sign-up and sign-in capabilities for a mobile app. The solution should integrate with social identity providers (IdPs) and SAML IdPs. Which service should the developer use?
- AWS Cognito user pool
- AWS Cognito identity pool
- API Gateway with a Lambda authorizer
- AWS IAM and STS
Answer: 1. User pools are for authentication (identify verification). With a user pool, your app users can sign in through the user pool or federate through a third-party identity provider (IdP). Identity pools are for authorization (access control). You can use identity pools to create unique identities for users and give them access to other AWS services.
Question: A development team is migrating data from various file shares to AWS from on-premises. The data will be migrated into a single Amazon S3 bucket. What is the SIMPLEST method to ensure the data is encrypted at rest in the S3 bucket?
- Use SSL to transmit the data over the Internet
- Ensure all requests use the x-amz-server-side-encryption-customer-key header
- Ensure all requests use the x-amz-server-side-encryption header
- Enable default encryption when creating the bucket
Answer: 4. Amazon S3 default encryption provides a way to set the default encryption behavior for an S3 bucket. You can set default encryption on a bucket so that all new objects are encrypted when they are stored in the bucket. The objects are encrypted using server-side encryption with either Amazon S3-managed keys (SSE-S3) or customer master keys (CMKs) stored in AWS Key Management Service (AWS KMS).
Domain 3: Development with AWS Services
This domain makes up 30% of the exam and includes the following four objectives:
3.1 Write code for serverless applications
3.2 Translate functional requirements into application design
3.3 Implement application design into application code
3.4 Write code that interacts with AWS services by using APIs, SDKs, and AWS CLI
What you need to know
I’ll state it again, you DON’T actually need to be able to write any code. You won’t be asked to write any code in the exam. However, you will need to be able to read some code. That doesn’t mean you need to understand any specific language, just that you might get asked to identify a structural pattern in the code and what the best practice should be.
For instance, keeping one-off time-consuming tasks outside of the Lambda function handler. Such as:
- Connecting to databases
- Initializing the AWS SDK
- Pulling in dependencies or datasets
You should be familiar with the API actions associated with some of the key services covered in the exam. This includes AWS Lambda, Amazon DynamoDB, AWS Elastic Beanstalk, Amazon S3, Amazon SQS, and others. You can look these up quite easily on the AWS website. It’s also a good idea to have some familiarity with the AWS CLI and know the basic commands for key services.
For design, make sure you’re familiar with the use cases for serverless services. Serverless applications come up a lot on the exam, as do microservices design patterns such as using Amazon ECS. AWS Lambda, Amazon API Gateway, Amazon DynamoDB, and Amazon S3 are the services that are MOST tested on the exam. But Amazon ECS is definitely important too – so make sure you know your launch types and task placement strategies.
The AWS Developer Associate Exam mainly covers API Gateway REST APIs, rather than WebSocket APIs. In the Developer Associate exam, the focus is mainly on method requests/responses, integration requests/responses, mapping templates, stages and stage variables, caches, and throttling. You should also understand usage plans and API keys.
Question: A Developer needs to create an instance profile for an Amazon EC2 instance using the AWS CLI. How can this be achieved? (Select THREE.)
- Run the
aws iam create-instance-profilecommand
- Run the
- Run the
aws iam add-role-to-instance-profilecommand
- Run the
- Run the
aws ec2 associate-instance-profilecommand
- Run the
Answer: 1,3,5. To add a role to an Amazon EC2 instance using the AWS CLI you must first create an instance profile. Then you need to add the role to the instance profile and finally assign the instance profile to the Amazon EC2 instance.
Question: A Developer needs to write some code to invoke an AWS Lambda function using the AWS Command Line Interface (CLI). Which option must be specified to cause the function to be invoked asynchronously?
- Set the
–invocation-typeoption to Event
- Set the
–invocation-typeoption to Invoke
- Set the
–payloadoption to Asynchronous
- Set the
–qualifieroption to Asynchronous
Answer: 1. Several AWS services, such as Amazon Simple Storage Service (Amazon S3) and Amazon Simple Notification Service (Amazon SNS), invoke functions asynchronously to process events. To do this using the CLI you can set the
–invocation-type option to
Domain 4: Refactoring
This domain makes up 10% of the exam and includes the following two objectives:
4.1 Optimize application to best use AWS services and features
4.2 Migrate existing application code to run on AWS
What you need to know
The AWS Developer Associate Exam includes scenarios such as optimizing the performance of applications on AWS using features such as caching, auto-scaling, and load balancing. Topics you should understand include caching with Amazon DynamoDB DAX, and Amazon ElastiCache, as well as when to use Amazon RDS read replicas and Multi-AZ.
Domain 4 also includes knowing when to use a specific service such as a serverless service over Amazon EC2 or Amazon RDS and how you might refactor services that are being migrated into the cloud using AWS Step Functions or application integration services such as Amazon SQS and Amazon SNS.
Quite a few scenarios come up relating to migrating applications from on-premises to the AWS cloud. These scenarios can test your knowledge of the use cases for different services and the methods of migrating them. The trick is to identify what the key requirements are for the design such as cost-effectiveness, security, resilience, or performance.
Question: A call center application is being refactored into a serverless architecture. The new application includes several AWS Lambda functions that are involved in the automation of support tickets. What is the BEST way to coordinate the complex invocation logic for the Lambda function?
- Create a State Machine with AWS Step Functions
- Include the invocation of other Lambda functions within the Lambda code
- Create a Workflow using the Amazon Simple Workflow Service (SWF)
- Use the AWS Serverless Application Model (SAM)
Answer: 1. AWS Step Functions makes it easy to coordinate the components of distributed applications as a series of steps in a visual workflow. You can quickly build and run state machines to execute the steps of your application in a reliable and scalable fashion.
Question: A company recently migrated a multi-tier application to AWS. The web tier runs on an Auto Scaling group of Amazon EC2 instances and the database tier uses Amazon DynamoDB. The database tier requires extremely high performance and most requests are repeated read requests. What service can be used to scale the database tier for BEST performance?
- Amazon CloudFront
- Amazon ElastiCache
- Amazon DynamoDB Accelerator (DAX)
- Amazon SQS
Answer: 3. Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB that delivers up to a 10x performance improvement – from milliseconds to microseconds – even at millions of requests per second.
Domain 5: Monitoring and Troubleshooting
This domain makes up 12% of the exam and includes the following two objectives:
5.1 Write code that can be monitored
5.2 Perform root cause analysis on faults found in testing or production
What you need to know
The last domain covers knowledge of services such as AWS CloudWatch, and AWS X-Ray. You’ll be tested on high-resolution and custom metrics with CloudWatch, namespaces, and dimensions. You should also be familiar with CloudWatch Events, CloudWatch Logs, and CloudWatch Alarms.
X-Ray is useful for root-cause analysis and comes up with a few exam questions. Make sure you know how to use get it working with services such as Amazon EC2, AWS Lambda, and Amazon DynamoDB. You’ll need to know some basic terminology including segments, subsegments, annotations, and metadata. You also need to understand how X-Ray works with the SDK.
AWS CloudTrail is used for logging API activity and is therefore used as an auditing tool. CloudTrail comes up in exam questions so you should be familiar with how to create CloudTrail trails and what information is logged. Also, make sure you’re absolutely clear on the difference between CloudWatch (monitoring) and CloudTrail (auditing).
Question: An application is instrumented to generate traces using AWS X-Ray and generates a large amount of trace data. A Developer would like to use filter expressions to filter the results to specific key-value pairs added to custom subsegments. How should the Developer add the key-value pairs to the custom subsegments?
- Add metadata to the custom subsegments
- Add annotations to the custom subsegments
- Add the key-value pairs to the Trace ID
- Setup sampling for the custom subsegments
Answer: 2. You can record additional information about requests, the environment, or your application with annotations and metadata. You can add annotations and metadata to the segments that the X-Ray SDK creates, or to custom subsegments that you create.
Question: An application running on Amazon EC2 is experiencing intermittent technical difficulties. The developer needs to find a solution for tracking the errors that occur in the application logs and setting up a notification when the error rate exceeds a certain threshold. How can this be achieved with the LEAST complexity?
- Use CloudTrail to monitor the application log files and send an SNS notification
- Configure the application to send logs to Amazon S3. Use Amazon Kinesis Analytics to analyze the log files and send an SES notification
- Configure Amazon CloudWatch Events to monitor the EC2 instances and configure an SNS topic as a target
- Use CloudWatch Logs to track the number of errors that occur in the application logs and send an SNS notification
Answer: 4. You can use CloudWatch Logs to monitor applications and systems using log data. For example, CloudWatch Logs can track the number of errors that occur in your application logs and send you a notification whenever the rate of errors exceeds a threshold you specify.
Free Practice Test
Test your knowledge with this FREE Practice Exam for the AWS Certified Developer Associate
This free AWS Practice Test for the AWS Certified Developer Associate includes:
- Total number of sample questions: 20
- Pass mark: 72%
- Completion time: No time limit
Want more AWS practice questions?
Learn more about our popular AWS practice exams that will help you fast-track your exam success!
Practice Exam Summary
0 of 20 questions completed
You have already completed the practice exam before. Hence you can not start it again.
Practice Exam is loading…
You must sign in or sign up to start the practice exam.
You must first complete the following:
0 of 20 questions answered correctly
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
- AWS Analytics 0%
- AWS Application Integration 0%
- AWS Compute 0%
- AWS Database 0%
- AWS Developer Tools 0%
- AWS Management & Governance 0%
- AWS Networking & Content Delivery 0%
- AWS Security, Identity, & Compliance 0%
Better luck next time!
Unfortunately on this occasion you did not pass the exam. The passing mark is a minimum score of 72%. Please use the “View Questions” button below to review answers, explanations, and reference links for each question before taking the practice exam again.
You have passed the exam. The passing mark is a minimum score of 72%. Please use the “View Questions” button below to review answers, explanations, and reference links for each question.
- Question 1 of 20
An application will use AWS Lambda and an Amazon RDS database. The Developer needs to secure the database connection string and enable automatic rotation every 30 days.
What is the SIMPLEST way to achieve this requirement?CorrectIncorrect
- Question 2 of 20
A developer is designing a web application that will be used by thousands of users. The users will sign up using their email addresses and the application will store attributes for each user.
Which service should the developer use to enable users to sign-up for the web application?CorrectIncorrect
- Question 3 of 20
A developer has created an Amazon API Gateway with caching enabled in front of AWS Lambda. For some requests, it is necessary to ensure the latest data is received from the endpoint.
How can the developer ensure the data is not stale?CorrectIncorrect
- Question 4 of 20
A company is deploying an on-premise application server that will connect to several AWS services.
What is the BEST way to provide the application server with permissions to authenticate to AWS services?CorrectIncorrect
- Question 5 of 20
Every time an Amazon EC2 instance is launched, certain metadata about the instance should be recorded in an Amazon DynamoDB table. The data is gathered and written to the table by an AWS Lambda function.
What is the MOST efficient method of invoking the Lambda function?CorrectIncorrect
- Question 6 of 20
A Developer is setting up a code update to Amazon ECS using AWS CodeDeploy. The Developer needs to complete the code update quickly.
Which of the following deployment types should the Developer use?CorrectIncorrect
- Question 7 of 20
A Developer needs to be notified by email when a new object is uploaded to a specific Amazon S3 bucket.
What is the EASIEST way for the Developer to enable these notifications?CorrectIncorrect
- Question 8 of 20
A company currently runs a number of legacy automated batch processes for system update management and operational activities. The company are looking to refactor these processes and require a service that can coordinate multiple AWS services into serverless workflows.
What is the MOST suitable service for this requirement?CorrectIncorrect
- Question 9 of 20
An application is processing data from an Amazon Kinesis Data Stream. The Data Stream has 12 shards with one KCL worker each. The volume of data has increased, and an additional 6 shards have been added to the stream.
What is the MAXIMUM number of EC2 instances required for optimum performance?CorrectIncorrect
- Question 10 of 20
A Developer needs to configure an Elastic Load Balancer that is deployed through AWS Elastic Beanstalk.
Where should the Developer place the load-balancer.config file in the application source bundle?CorrectIncorrect
- Question 11 of 20
A company is using Amazon API Gateway to manage access to a set of microservices implemented as AWS Lambda functions. The company has made some minor changes to one of the APIs. The company wishes to give existing customers using the API up to 6 months to migrate from version 1 to version 2.
What approach should a Developer use to implement the change?CorrectIncorrect
- Question 12 of 20
A Developer is deploying an application in a microservices architecture on Amazon ECS. The Developer needs to choose the best task placement strategy to MINIMIZE the number of instances that are used.
Which task placement strategy should be used?CorrectIncorrect
- Question 13 of 20
A Developer is configuring an Amazon ECS Service with Auto Scaling. The tasks should scale based on user load in the previous 20 seconds.
How can the Developer enable the scaling?CorrectIncorrect
- Question 14 of 20
A company runs multiple microservices that each use their own Amazon DynamoDB table. The “customers” microservice needs data that originates in the “orders” microservice.
What approach represents the SIMPLEST method for the “customers” table to get near real-time updates from the “orders” table?CorrectIncorrect
- Question 15 of 20
A Developer is creating an AWS Lambda function that will process medical images. The function is dependent on several libraries that are not available in the Lambda runtime environment.
Which strategy should be used to create the Lambda deployment package?CorrectIncorrect
- Question 16 of 20
A developer needs to implement a caching layer in front of an Amazon RDS database. If the caching layer fails, it is time consuming to repopulate cached data so the solution should be designed for maximum uptime.
Which solution is best for this scenario?CorrectIncorrect
- Question 17 of 20
An application scans an Amazon DynamoDB table once per day to produce a report. The scan is performed in non-peak hours when production usage uses around 50% of the provisioned throughput.
How can you MINIMIZE the time it takes to produce the report without affecting production workloads? (Select TWO).CorrectIncorrect
- Question 18 of 20
A developer is making some updates to an AWS Lambda function that is part of a serverless application and will be saving a new version. The application is used by hundreds of users and the developer needs to be able to test the updates and be able to rollback if there any issues with user experience.
What is the SAFEST way to do this with minimal changes to the application code?CorrectIncorrect
- Question 19 of 20
A company is setting up a Lambda function that will process events from a DynamoDB stream. The Lambda function has been created and a stream has been enabled. What else needs to be done for this solution to work?CorrectIncorrect
- Question 20 of 20
A developer is creating an Auto Scaling group of Amazon EC2 instances. The developer needs to publish a custom metric to Amazon CloudWatch.
Which method would be the MOST secure way to authenticate a CloudWatch PUT request?CorrectIncorrect
AWS Developer Associate Exam Training
The AWS Developer Associate Exam can be a difficult exam if you’re not fully prepared. Not only do you require the developer skills mentioned above, but a foundational understanding of core AWS services is also required. To make sure you have everything you need, our Ultimate Training Package for the AWS Developer Associate Exam includes over 25 hours of video-based training, 390 practice questions, and a comprehensive cheat sheet PDF for offline study.