AWS Certified Developer – Associate: study guide and free practice questions The ideas the Developer – Associate (DVA-C03) exam tests, one page each: what the AWS docs say, the traps the questions set, and real practice questions to try. DVA-C03 replaced DVA-C02 on 2026-12-01, so the pages include what the new version added: Amazon Bedrock and AgentCore development, containers on Amazon ECS, ECR and EKS, and deeper troubleshooting. Every page is written from AWS's own documentation and links to it.
Topics Development with AWS Services Troubleshooting and Optimization 10 free practice questions Drawn from every domain. Pick an answer to see why each option is right or wrong.
A developer must generate summaries of 200,000 archived support tickets with an Amazon Bedrock model. The summaries are not needed until the next day. Each ticket is already written as a model input in files in an Amazon S3 bucket, and the developer wants Amazon Bedrock to process all of them from one submission and leave the outputs in Amazon S3.
Which solution will meet these requirements? Right. In the game that’s Renown for your Development with AWS Services building.
Not that one: C is right. In the game your Development with AWS Services building would lose a little Renown, and this question would come back later.
Your answer A. Send one InvokeModel request whose body points to the S3 prefix of the input files, and name a second S3 prefix for the outputs in the request.InvokeModel is the base inference call, so pointing it at the inputs looks direct. It runs one prompt per request and returns the response to the caller; it does not read a folder of input files from S3 or write results there. Your answer B. Send one Converse request that attaches the input files from the S3 prefix as documents, and name a second S3 prefix for the outputs in the request.Converse can include document content in a conversation, but it is still one conversational request whose answer comes back to the caller, not a job over 200,000 inputs with results written to S3. The answer C. Create one batch inference job that uses the S3 prefix of the input files as its input, and name a second S3 prefix for the outputs in the job.Batch inference is built for this: the developer puts model inputs in files, uploads them to an S3 bucket, and submits one batch inference request that names the bucket. Your answer D. Create one knowledge base ingestion job that uses the S3 prefix of the input files as its data source, and name a second S3 prefix for the outputs in the job.A knowledge base also reads from S3, but its ingestion indexes the data so that queries can retrieve it. It does not run the model over each ticket to produce summaries.
An Amazon DynamoDB table stores log entries with deviceId as the partition key and a timestamp string as the sort key. A report retrieves one device's entries for a single day by scanning the table with a filter expression, and the report has become slow and expensive as the table has grown.
Which solution will meet these requirements? Right. In the game that’s Renown for your Development with AWS Services building.
Not that one: B is right. In the game your Development with AWS Services building would lose a little Renown, and this question would come back later.
Your answer A. Keep the Scan operation but request parallel segments so that the work is spread across several workers.Parallel Scan divides the table into segments read concurrently. It finishes sooner but still reads and pays for the entire table on every report. The answer B. Replace the Scan with a Query on deviceId and a begins_with condition on the timestamp sort key.Query reads only the items in one partition key value and applies key conditions before reading, so DynamoDB touches only the matching entries. Your answer C. Keep the Scan operation but reduce the page size so that each request consumes fewer read capacity units.A filter expression is applied after items are read, so consumed capacity reflects the items examined, not the items returned, no matter how the results are paged. Your answer D. Add a local secondary index on deviceId and continue to scan that index on each report instead of the base table.A local secondary index shares the base table's partition key, so it adds nothing here, and scanning it costs the same as scanning the table.
A developer is designing an Amazon DynamoDB table that stores sensor readings from millions of IoT devices. A prototype that uses the reading date as the partition key experiences write throttling against one partition during the day, even though the table's overall provisioned write capacity is far from exhausted.
Which solution will resolve this issue? Right. In the game that’s Renown for your Development with AWS Services building.
Not that one: C is right. In the game your Development with AWS Services building would lose a little Renown, and this question would come back later.
Your answer A. Increase the table's provisioned write capacity units until the throttling messages stop appearing.The table is not out of capacity — one partition is. Provisioned throughput is delivered by spreading load across partitions, so raising the table's WCUs does not remove the skew that funnels every write of the day into a single partition. Your answer B. Enable DynamoDB auto scaling on the table so that write capacity grows automatically with demand.Auto scaling adjusts provisioned capacity based on consumed capacity at the table level. The scenario states overall consumption is low, so auto scaling would see no reason to act, and the hot partition would keep throttling. The answer C. Use a high-cardinality attribute, such as the device ID, as the table's partition key.All writes for a given day hash to the same partition when the date is the partition key, so one partition takes the entire write load while others sit idle. Your answer D. Create a global secondary index on the date attribute and direct all writes through the index.You never write to a GSI directly — DynamoDB propagates base-table writes into it. And an index whose partition key is still the date would inherit the identical hot-partition problem on its own capacity.
A company's support assistant uses an Amazon Bedrock guardrail. After a public dispute, the assistant must never accept or produce the name of a former executive, Jordan Reyes. Customers' own names, which appear in most conversations, must still pass through the assistant unchanged.
Which solution will meet these requirements? Right. In the game that’s Renown for your Security building.
Not that one: B is right. In the game your Security building would lose a little Renown, and this question would come back later.
Your answer A. Add a denied topic named Former executive whose definition is statements or questions that contain the name Jordan Reyes, and set the topic to block prompts and responses.Defining a topic around the name looks direct, and the guardrail documentation uses almost this definition as its example of what not to write. A denied topic represents a theme that the guardrail evaluates in context, so it is not a dependable way to catch an individual word or entity; word filters and sensitive information filters are the tools for that. The answer B. Add Jordan Reyes to the guardrail's word filter as a custom phrase, and set the word filter to block prompts and responses.A custom word filter entry matches a word or a phrase of up to three words, as a whole phrase and without regard to letter case, in prompts and responses. Your answer C. Add the NAME type to the guardrail's sensitive information filter, and set the NAME type to block prompts and responses.The NAME type detects people's names in general. With the Block action it stops any prompt or response that contains a name, including the customers' names that the assistant handles all day. Your answer D. Add a denied topic named Former executive whose sample phrases each mention Jordan Reyes, and set the topic to block prompts and responses.Sample phrases help the guardrail recognize what a topic's subject looks like, but the topic still describes a theme. Catching one person's name is an entity-matching job, which the denied topic guidance hands to word filters or sensitive information filters.
Show the full explanation and doc quotes Adding the executive's full name blocks exactly that name and leaves every other name alone, so customers' names pass through. Denied topics are meant for subjects of conversation; the guidance for them says not to use them to capture individual names, words or entity types.
Written from docs.aws.amazon.com/bedrock/latest/userguide/guardrails-denied-topics.html
A developer secures an Amazon API Gateway REST API with an AWS Lambda authorizer. The authorization decision must be based on a combination of a custom header, a query string parameter, and the values of the API's stage variables.
How should the developer configure the authorizer to meet these requirements? Right. In the game that’s Renown for your Security building.
Not that one: D is right. In the game your Security building would lose a little Renown, and this question would come back later.
Your answer A. Configure a TOKEN Lambda authorizer and encode all of the values into a single bearer token.A TOKEN authorizer is invoked with just the caller's token from one configured header plus the method ARN. Query string parameters and stage variables are not part of its event, and forcing clients to re-encode server-side stage configuration into their tokens is neither practical nor secure. Your answer B. Configure an Amazon Cognito user pool authorizer and store the values as custom JWT claims.An Amazon Cognito user pool authorizer's only job is verifying a JWT issued by the configured user pool. It offers no hook to inspect query strings or stage variables, and custom claims are fixed when the token is issued rather than reflecting per-request values. Your answer C. Enable request validation on the API method to check the header and the query string parameter.Request validation is a data-quality feature: it rejects requests missing required parameters or failing a model schema before the integration is called. It performs no authentication or authorization, so it cannot gate access based on these values. The answer D. Configure a REQUEST Lambda authorizer with the header and the query string parameter as its identity sources.A REQUEST-type Lambda authorizer receives the full request context in its input event: headers, query string parameters, path parameters, stage variables, and request context.
A developer is building an AWS Lambda function that calls the InvokeModel API for a third-party model in Amazon Bedrock. The model is sold through AWS Marketplace and has never been invoked in the company's account, which is in a commercial AWS Region. The function's execution role must hold only Amazon Bedrock permissions.
Which solution will meet these requirements? Right. In the game that’s Renown for your Security building.
Not that one: C is right. In the game your Security building would lose a little Renown, and this question would come back later.
Your answer A. Have an administrator whose role has the AmazonBedrockFullAccess managed policy request the model on the Model access page of the console. Then grant the execution role only bedrock:InvokeModel on the model.Treats model access as a console request. In commercial Regions the Model access page no longer takes requests; it applies to AWS GovCloud (US). Access to a Marketplace-sold model is enabled by its first invocation, made by an identity that holds the Marketplace permissions. Your answer B. Grant the execution role bedrock:InvokeModel and bedrock:PutUseCaseForModelAccess on the model, and have the function submit the use case details before its first call to the model.Confuses the Anthropic first-time use form with model enablement. PutUseCaseForModelAccess records use case details for Anthropic models only; it does not subscribe the account to a Marketplace product, and the role still lacks the Marketplace permissions the first invocation needs. The answer C. Have an administrator whose role allows aws-marketplace:Subscribe, Unsubscribe, and ViewSubscriptions invoke the model once in the account. Then grant the execution role only bedrock:InvokeModel on the model.For a serverless model sold through AWS Marketplace, the first invocation in an account triggers the subscription, and that first caller needs aws-marketplace:Subscribe, Unsubscribe, and ViewSubscriptions. Your answer D. Grant the execution role only bedrock:InvokeModel on the model, and let the function's first call to the model start the AWS Marketplace subscription in the background.Reads automatic enablement as unconditional. Amazon Bedrock does start the subscription on the first invocation, but only when the invoking identity has the AWS Marketplace permissions; without them the attempt fails and later calls return AccessDeniedException.
Show the full explanation and doc quotes Once the model is enabled for the account, any identity with bedrock:InvokeModel can call it without Marketplace permissions. Having an administrator who holds those permissions make the first call keeps the execution role limited to Amazon Bedrock actions.
Written from docs.aws.amazon.com/bedrock/latest/userguide/model-access.html
A company's security policy requires that container images in a new Amazon ECR repository be encrypted at rest with a customer managed AWS KMS key that the company controls and rotates. The key already exists in the same AWS Region as the repository, and the developer has the AWS KMS permissions needed to use it.
Which solution will meet these requirements? Right. In the game that’s Renown for your Testing and Deployment building.
Not that one: B is right. In the game your Testing and Deployment building would lose a little Renown, and this question would come back later.
Your answer A. Create the repository with the KMS encryption type, and grant Amazon ECR use of the company's customer managed key in the key policy.Assumes a key policy grant tells Amazon ECR which key to use. With the KMS encryption type and no key named in the repository's encryption configuration, Amazon ECR uses the AWS managed key aws/ecr. The answer B. Create the repository with the KMS encryption type, and select the company's customer managed key as the repository's KMS key.Each Amazon ECR repository's encryption configuration is chosen when it is created. The default, AES256, uses Amazon S3 managed keys. The KMS encryption type uses AWS KMS, and the repository uses a customer managed key only when that key is named in its encryption configuration; otherwise it uses the AWS managed key aws/ecr. Your answer C. Create the repository with the AES256 encryption type, and grant Amazon ECR use of the company's customer managed key in the key policy.Combines both mistakes: S3 managed keys, and a key policy change that the repository never consults. Your answer D. Create the repository with the AES256 encryption type, and select the company's customer managed key as the repository's KMS key.AES256 is server-side encryption with Amazon S3 managed keys; it does not use a KMS key at all.
An AWS CodeBuild project builds a Java application. Every build downloads the same set of Maven dependencies into the local repository directory before compiling, and build times have grown. Builds must reuse the downloaded dependencies across runs with the LEAST operational overhead.
Which solution will meet these requirements? Right. In the game that’s Renown for your Testing and Deployment building.
Not that one: A is right. In the game your Testing and Deployment building would lose a little Renown, and this question would come back later.
The answer A. Turn on caching for the build project and list the local dependency directory under the cache paths in the buildspec file.CodeBuild supports Amazon S3 and local caching for a build project. Your answer B. Change the build project to a larger compute type so that the downloads and the compilation finish sooner.A larger compute type shortens the download and compile, but the network transfer still happens for every build. It raises cost without removing the repeated work. Your answer C. Build a custom CodeBuild image that already contains the dependencies, push the image to Amazon ECR, and rebuild and republish the image whenever a dependency version changes.A prebaked image is genuinely faster, but every dependency bump means building, testing, and publishing a new image. Compared with a cache declaration in the buildspec, that is far more operational overhead. Your answer D. Add commands to the post_build phase that upload the dependency directory to an Amazon S3 bucket, and add commands to the install phase that copy it back.Hand-rolls the caching that CodeBuild provides natively, adding scripts, bucket permissions, and cache invalidation logic to maintain.
Show the full explanation and doc quotes Enabling the cache and listing the dependency directory in the buildspec's cache paths lets CodeBuild store those files after a build and restore them at the start of the next one, so dependencies are downloaded once rather than on every run.
Written from docs.aws.amazon.com/codebuild/latest/userguide/build-caching.html
A developer must create an Amazon CloudWatch alarm for an Amazon API Gateway REST API stage. The alarm must enter the ALARM state when more than 5 percent of the requests in a 5-minute period receive 4XX responses.
Which solutions will meet these requirements? (Select TWO.) Right. In the game that’s Renown for your Troubleshooting and Optimization building.
Not that one: B,C is right. In the game your Troubleshooting and Optimization building would lose a little Renown, and this question would come back later.
Your answer A. Create the alarm on the Sum statistic of the 4XXError metric for the stage, with a threshold of 0.05 and a period of 5 minutes.Reads a count as a rate. The Sum statistic of 4XXError is the number of client errors in the period, so a threshold of 0.05 fires on the first error. Your answer B. Create the alarm on the Average statistic of the 4XXError metric for the stage, with a threshold of 0.05 and a period of 5 minutes.Your answer C. Create the alarm on a metric math expression that divides the Sum of 4XXError by the SampleCount of Count, with a threshold of 0.05 and a period of 5 minutes.Your answer D. Create the alarm on the Average statistic of the 5XXError metric for the stage, with a threshold of 0.05 and a period of 5 minutes.The alarm watches server errors. A spike of 4XX responses from expired tokens or bad input passes without it ever leaving the OK state. Your answer E. Create the alarm on a metric math expression that divides the Sum of 4XXError by the Sum of CacheMissCount, with a threshold of 0.05 and a period of 5 minutes.The ratio is undefined when the cache serves everything and swings wildly when it serves nothing, so the alarm fires and clears on cache behaviour rather than on error rate.
A company has about 200 Amazon CloudWatch alarms in one AWS account, and teams add new alarms every week. An AWS Lambda function must run each time any alarm in the account, including alarms created later, moves between the OK, ALARM, and INSUFFICIENT_DATA states. The developer must not edit the alarms, and the solution must not poll CloudWatch.
Which solution will meet these requirements? Right. In the game that’s Renown for your Troubleshooting and Optimization building.
Not that one: D is right. In the game your Troubleshooting and Optimization building would lose a little Renown, and this question would come back later.
Your answer A. Create an EventBridge rule that matches the PutMetricAlarm events that CloudTrail records for alarms, with the Lambda function as its target.Matches the wrong events. PutMetricAlarm is the call that creates or updates an alarm, so this rule fires when someone edits an alarm, not when an alarm changes state. Your answer B. Create a composite alarm whose rule includes every alarm in the account, with an alarm action that invokes the Lambda function on each state change.Expects a composite alarm to relay each child's change. A composite alarm has one state of its own, and its actions run only when that state changes, so a second alarm going into ALARM while the composite is already in ALARM runs nothing; alarms created later are not in its rule either. Your answer C. Create an Amazon SNS topic, subscribe the Lambda function to it, and add the topic as an alarm action on every alarm in the account.The developer has to edit every existing alarm and every new one to add the topic, which breaks the requirement not to edit the alarms. The answer D. Create an EventBridge rule that matches the state-change events that CloudWatch emits for alarms, with the Lambda function as its target.Besides running their own actions, CloudWatch alarms emit an event to Amazon EventBridge every time they change state, and EventBridge rules can route those events to targets such as a Lambda function.
Certopolis is an independent study game. It is not affiliated with, endorsed by or sponsored by Amazon Web Services, and its questions are not the exams' questions. Exam names are trademarks of their owners. Questions are AI-written from each exam's public guide and vendor docs and may contain errors. Terms · Privacy