AWS Developer Associate — Deployment, Troubleshooting and Optimization flashcards
10 of 79 cards free to study here · 2 topics · the whole deck is built into Willys
CodePipeline, CodeBuild buildspecs, CodeDeploy appspecs and strategies, Beanstalk deployment policies, SAM and CloudFormation, Lambda versions and aliases, ECS and ECR, then CloudWatch, structured logs, X-Ray, retries with backoff, DAX and ElastiCache, and Lambda tuning.
Learn deck · part of AWS Certified Developer – Associate · written against: Exam DVA-C02 guide. Updated 2026-10-10.
Study the free sample
10 cards from the deck as they are. Flip, rate yourself, filter by topic; your progress stays in this browser.
Tap the card or press Space to flip
The 10 sample cards as a list
-
Which file tells CodeBuild what commands to run, and where does CodeBuild look for it by default?buildspec.yml in the root of the source code. A project can point to a different file name or path, or embed the build commands in the project settings instead.Deployment › CodePipeline and CodeBuild
-
In what order does CodeBuild run the command phases of a buildspec?install, then pre_build, then build, then post_build.Deployment › CodePipeline and CodeBuild
Example: install the runtime and tools, log in to ECR in pre_build, compile and test in build, push the image and write output files in post_build. -
A build needs an API token, but it must never be committed to the repository or shown in the project settings. How does the buildspec get it?Map it in the buildspec's env section under secrets-manager or parameter-store; CodeBuild fetches the value at build time into an environment variable. The project's service role needs permission to read it.Deployment › CodePipeline and CodeBuild
-
Every build downloads the same dependencies from scratch and takes far too long. Which CodeBuild feature helps?Build caching — list the dependency directories under cache paths in the buildspec and enable an S3 cache or a local cache on the project, so later builds reuse them.Deployment › CodePipeline and CodeBuild
-
A CodeBuild project must run integration tests against a database that lives in private subnets. What do you configure?Give the project VPC configuration — the VPC, private subnets and security groups — so build containers run inside the VPC. Reaching the internet from there then needs a NAT gateway or VPC endpoints.Deployment › CodePipeline and CodeBuild
-
Application code must record a business metric such as orders placed per minute. Which CloudWatch API and parts of the call matter?PutMetricData, with a custom namespace, a metric name, optional dimensions, a value and a unit. One call can carry several data points, which saves requests.Troubleshooting and Optimization › CloudWatch Metrics and Alarms
-
A custom metric was published with the dimensions Service and Environment. Why does a query that specifies only Service return nothing?Dimensions are part of the metric's identity — each unique combination is a separate metric, and CloudWatch doesn't aggregate custom metrics across dimensions for you. Query with the exact set of dimensions, or also publish the metric with fewer dimensions.Troubleshooting and Optimization › CloudWatch Metrics and Alarms
-
What does publishing a custom metric at high resolution give you over standard resolution?One-second data points instead of one-minute ones, and alarms that can evaluate over periods as short as 10 or 30 seconds.Troubleshooting and Optimization › CloudWatch Metrics and Alarms
-
What is the CloudWatch embedded metric format, and why is it popular in Lambda functions?A structured JSON log line with a special metadata block (theTroubleshooting and Optimization › CloudWatch Metrics and Alarms
_awskey) that tells CloudWatch which fields are metrics. CloudWatch extracts the metrics from the logs asynchronously, so the function makes no PutMetricData calls and adds no latency. -
An alarm should fire only when 3 of the last 5 evaluation periods breach the threshold, not on a single spike. Which alarm settings express this?Set evaluation periods to 5 and datapoints to alarm to 3 — an M-out-of-N alarm.Troubleshooting and Optimization › CloudWatch Metrics and Alarms
Unlock the whole deck
You are studying a free 10-card sample. All 79 cards of AWS Developer Associate — Deployment, Troubleshooting and Optimization, the other 2 AWS Certified Developer – Associate decks, and spaced-repetition scheduling are built into Willys. 14-day free trial, then $14.99 a year.
In Willys, tap Exam Library at the top of your Decks (or Browse Exam Library… under the + button), find the exam on its shelf or by search, tick it and tap Add.
More AWS Certified Developer – Associate decks
← All AWS Certified Developer – Associate decks, with the study guide and topic outline.
About these cards
Review status: Second-reader reviewed, with corrections applied.
Checked against:
- AWS Certified Developer – Associate DVA-C02 exam guide — topic outline only; no text copied
These are independent study notes written for Willys. They are not official exam material, may contain mistakes, and are no substitute for your course, your teacher or the exam owner's own publications. Found an error? Tell us — corrections ship as a new version of the deck.
Amazon Web Services, AWS and AWS Certified are trademarks of Amazon.com, Inc. or its affiliates. This product is not affiliated with, sponsored by, or endorsed by Amazon Web Services.
Use of these pages is covered by our Terms of Use.