Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original
https://www.passcert.com/DVA-C03.html
Page 2
AWS DEVELOPER
Question 1
A ticketing API stores the remaining seats for each performance in a DynamoDB table in one AWS Region.
Multiple workers can reserve seats concurrently. Every request has a positive integer quantity and is
submitted only once. An existing item has a numeric remaining attribute.
The workers use this Boto3 Table resource call, with valid keys and expression values:
table.update_item(
Key={"performanceId": performance_id},
UpdateExpression="SET #left = #left - : requested",
ExpressionAttributeNames={"#left": "remaining"},
ExpressionAttributeValues={": requested": quantity}
)
A reservation must fail without changing the item when fewer than quantity seats remain.
Which change prevents the count from becoming negative during concurrent requests?
A. Read the item with ConsistentRead=True, verify the count in the worker, and then run the unchanged
update.
B. Add ConditionExpression="#left >= : requested" to the same UpdateItem request and handle a failed
condition as a rejected reservation.
C. Replace the update expression with ADD using the negative quantity and run the update without a
condition.
D. Use if_not_exists to initialize remaining to zero in the update expression and run the subtraction without a
condition.
Answer: B
Explanation
The condition is evaluated as part of the conditional update. Only an item with sufficient remaining seats is decremented; a
failed condition leaves that attempted update unapplied.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 3
AWS DEVELOPER
Question 2
A Step Functions Task reports the error name StockBusy for temporary contention and InvalidReservation for
a rejected request that must not be retried.
The task currently contains this valid error-handling fragment; the named fallback state exists:
{
"Retry": [
{"ErrorEquals": ["States.ALL"], "IntervalSeconds": 2, "MaxAttempts": 2}
],
"Catch": [
{"ErrorEquals": ["InvalidReservation"], "Next": "RejectReservation"}
]
}
The developer must keep retries for StockBusy and route InvalidReservation to the fallback immediately.
Which single change satisfies both requirements?
A. Change the retrier's ErrorEquals from States.ALL to StockBusy.
B. Move the Catch property before the Retry property in the JSON document.
C. Set the existing States.ALL retrier's MaxAttempts to 0.
D. Add InvalidReservation to the same retrier's ErrorEquals list alongside States.ALL.
Answer: A
Explanation
Only StockBusy then matches the retrier. InvalidReservation bypasses retry and matches the existing catcher.
AWS DEVELOPER
Question 3
A team moves a Python Lambda function to arm64 and must keep that architecture. A layer contains a native
extension compiled for Linux x86_64. After deployment, the function cannot import the extension. The
package path and Python runtime version are correct, and inspection confirms that the shared library in the
layer is still an x86_64 binary.
Which deployment change resolves the identified incompatibility?
A. Publish the unchanged layer with arm64 compatibility metadata, and select that layer version.
B. Replace the layer with a Linux arm64 build compatible with the function's Python runtime.
C. Increase the function's ephemeral storage, and redeploy it with the current layer version.
D. Move the unchanged extension into the function's deployment package, and remove the layer.
Answer: B
Explanation
The deployed native code must match the function's instruction-set architecture and runtime environment. A new compatible
layer version supplies the correct binary while keeping arm64.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 4
AWS DEVELOPER
Question 4
An Amazon API Gateway HTTP API uses a JWT authorizer for its POST /orders route. The route currently
has no authorization scopes. The authorizer correctly validates the issuer, audience, signature, and token
lifetime. The identity provider issues access tokens with either orders.read or orders.write according to each
client's permissions.
Only clients with orders.write should invoke this route. The developer must enforce this requirement in API
Gateway without adding authorization code to the Lambda integration.
Which change should the developer make?
A. Add orders.write to the JWT authorizer's audience list and leave the route's authorization scopes empty.
B. Set the route's authorization scopes to the single value orders.write while keeping the existing JWT
authorizer.
C. Set the route's authorization scopes to both orders.read and orders.write so that API Gateway requires
both.
D. Add an orders.write tag to the Lambda function and allow API Gateway to invoke the tagged function.
Answer: B
Explanation
API Gateway checks whether the token includes at least one scope required by the route. Requiring only orders.write
enforces the stated permission while preserving the existing JWT checks.
AWS DEVELOPER
Question 5
An image-processing Lambda function receives S3 ObjectCreated events from a bucket. New source images
use keys under incoming/. The function writes derived images under processed/in the same bucket. The
bucket's only notification configuration currently invokes this function for every ObjectCreated event, including
the derived images. All permissions are correct.
The developer must keep both prefixes in this bucket and prevent writes to processed/from triggering the
function.
Which change meets this requirement?
A. Limit the function to one concurrent execution while keeping the existing notification configuration.
B. Replace the notification configuration with an ObjectCreated notification filtered to the incoming/prefix.
C. Configure a Lambda on-failure destination while keeping the existing notification configuration.
D. Add a processed=true object tag to each derived image while keeping the existing notification
configuration.
Answer: B
Explanation
The source and output key spaces no longer overlap the trigger. Source uploads still qualify, while derived-image writes do
not.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 5
AWS DEVELOPER
Question 6
A long-running Python service retrieves a database password from Secrets Manager once at startup and
stores the plaintext value in a module variable. Rotation later updates the secret and the database password.
New connections from the still-running service fail authentication until it restarts. The service has valid
GetSecretValue permissions and network access throughout.
The service must retrieve refreshed credentials at least every five minutes without restarting or calling
Secrets Manager for every connection.
Which change meets this requirement?
A. Cache the value with an explicit refresh interval of at most five minutes and use the current cached value
when opening new connections.
B. Increase the Secrets Manager rotation frequency while retaining the startup-only read.
C. Copy the secret value into a process environment variable at startup and read that variable for each
connection.
D. Retrieve the AWSPREVIOUS version once after each authentication failure and keep that value until the
next restart.
Answer: A
Explanation
A bounded refresh policy replaces the indefinitely stale startup value while avoiding a retrieval on every connection. New
connections must use the refreshed cache rather than a separate frozen copy.
AWS DEVELOPER
Question 7
A developer has modified an existing CloudFormation template for a production stack. Before any resource
changes are applied, a reviewer must see which resources CloudFormation plans to add, modify, remove, or
replace for the supplied parameters. The team will decide whether to proceed after inspecting that preview.
Which action provides the required preview?
A. Run ValidateTemplate and treat a valid result as the list of resource replacements.
B. Run DetectStackDrift and use the drift report as the proposed update plan.
C.
Run UpdateStack immediately and inspect stack events before the update completes.
D. Create a change set for the existing stack and inspect it before executing it.
Answer: D
Explanation
A change set previews the proposed resource changes and can be reviewed before execution. It is a preview, not a
guarantee that execution will succeed.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 6
AWS DEVELOPER
Question 8
An application publishes a custom CloudWatch metric named FailedPayments in namespace
Shop/Checkout. Every data point uses exactly two dimensions: Service=Checkout and Environment=prod.
No data points are published with a reduced dimension set. An alarm for this custom metric specifies only
Environment=prod and remains in INSUFFICIENT_DATA. Region, timestamps, period, statistic, and metric
name are otherwise correct.
The developer must make the alarm evaluate the existing Checkout production series without changing the
publisher.
Which change is required?
A. Treat missing data as breaching while leaving the alarm's dimension set unchanged.
B. Change the statistic from Sum to Average while leaving the dimension set unchanged.
C. Remove Environment as well so CloudWatch automatically aggregates every custom metric series.
D. Configure both Service=Checkout and Environment=prod as the alarm's metric dimensions.
Answer: D
Explanation
For this custom metric, the namespace, metric name and full dimension combination identify the series. Matching both
dimensions selects the published data.
AWS DEVELOPER
Question 9
Workers poll a standard SQS queue directly. A successfully received job takes between 180 and 240
seconds to process and delete, but the effective visibility timeout is 60 seconds. Healthy workers sometimes
receive another copy after that timeout expires while the original worker is still processing. Messages must be
deleted only after successful processing. For this question, control API calls succeed promptly and workers
do not crash.
Which TWO strategies can EACH independently prevent redelivery caused specifically by visibility-timeout
expiration during this processing interval? (Choose two)
A. Set ReceiveMessage WaitTimeSeconds to 20 while leaving each message's visibility timeout at 60
seconds.
B. Set a 300-second visibility timeout for each received message before processing and delete it only after
success.
C. Set the queue delivery delay to 300 seconds while leaving each received message's visibility timeout at 60
seconds.
D. Extend the current receipt's visibility by 60 seconds every 40 seconds until processing completes, then
delete after success.
E. Delete each message immediately after receipt and then perform its processing to avoid a visibility
expiration.
Answer: B, D
Explanation
B. The fixed visibility interval exceeds the stated maximum processing-and-delete duration, so expiration alone does not
expose the message during that work.
D. Each timely extension uses the current receipt handle and moves visibility expiry beyond the next heartbeat, keeping the
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 7
Question 9 continued
message hidden until successful completion.
AWS DEVELOPER
Question 10
A synchronous Python Lambda endpoint loads a required reference dataset during module initialization.
Production callers use the prod alias. At most six invocations overlap, and no throttles occur.
Representative on-demand logs are:
REPORT RequestId: a1 Duration: 43.00 ms Init Duration: 910.00 ms
REPORT RequestId: a2 Duration: 45.00 ms
REPORT RequestId: b1 Duration: 42.00 ms Init Duration: 905.00 ms
Requests a1 and b1 each took about 1 second at the client; a2 took 90 ms. The dataset cannot be removed
or loaded after the response. The developer wants to reduce the delay for the first request in a new execution
environment while retaining the handler's behavior.
Which change directly targets that delay?
A. Increase the function timeout from 3 seconds to 30 seconds.
B. Set reserved concurrency to six without configuring provisioned concurrency.
C. Move dataset loading inside the handler so that it runs on every request.
D. Allocate six provisioned-concurrency environments to prod and wait until allocation is ready.
Answer: D
Explanation
Provisioned concurrency performs initialization before requests. Applying it to the invoked alias and covering the stated peak
targets this startup delay.
AWS DEVELOPER
Question 11
A developer uses CloudWatch Logs Insights QL against a Standard log group. Each event contains one
JSON object, and Logs Insights discovers route, status, and requestId.
The selected time range has these complete-request logs:
{"route":"/pay","status":500,"requestId":"r1"}
{"route":"/pay","status":200,"requestId":"r2"}
{"route":"/ship","status":503,"requestId":"r3"}
{"route":"/pay","status":502,"requestId":"r4"}
The developer needs one row per route showing its number of 5xx requests, ordered from highest to lowest
count.
Which query meets that requirement?
A. filter status >= 500 and status = 500 and status = 500 and status
plus sign with a space and leave percent sequences unchanged.
D. Apply urllib.parse.unquote once, leaving literal plus signs unchanged.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 9
Question 13 continued
Answer: A
Explanation
S3 notification keys use form-style URL encoding. unquote_plus decodes percent escapes and encoded spaces, preserving
%2B as the original literal plus.
AWS DEVELOPER
Question 14
A CodeBuild project must access a private package repository and a public package registry during the same
build.
An existing VPC has working DNS, security groups, network ACLs, and these approved routes:
The NAT gateway is in public-edge and has functioning internet access. The current project uses a different
private subnet with no default route.
Which project change provides access to both repositories using these existing network paths?
A. Select public-edge, relying on CodeBuild to assign a public IP to its build network interface.
B. Keep the isolated subnet and enable privilegedMode to give the build internet access.
C. Select private-build in the CodeBuild VPC configuration.
D. Keep the isolated subnet and add package-registry URLs to the service role's IAM policy.
Answer: C
Explanation
This private subnet uses the approved NAT path for public access and retains VPC access to the private repository.
AWS DEVELOPER
Question 15
A Step Functions workflow uses JSONPath.
This Parallel state has no ResultSelector, ResultPath, or OutputPath overrides:
{"Type":"Parallel","End": true,"Branches":[
{"StartAt":"Delay","States":{
"Delay":{"Type":"Wait","Seconds":2,"Next":"Invoice"},
"Invoice":{"Type":"Pass","Result":"invoice","End": true}}},
{"StartAt":"Tax","States":{
"Tax":{"Type":"Pass","Result":"tax","End": true}}}
]}
Both branches succeed, and the Tax branch finishes first.
What is the Parallel state output?
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 10
Question 15 continued
A. ["tax", "invoice"]
B. {"Invoice": "invoice", "Tax": "tax"}
C. ["invoice", "tax"]
D. "tax"
Answer: C
Explanation
Array elements follow the Branches definition order: invoice first, tax second.
AWS DEVELOPER
Question 16
A Node.js Lambda function uses AWS SDK for JavaScript v3. write(item) returns the promise from
s3.send(new PutObjectCommand(...)) for one independent item. Keys, bodies, permissions, and imports are
correct.
The handler currently starts writes as follows:
export const handler = async (event) => {
event.items.forEach(async (item) => { await write(item); });
return { saved: true };
};
The handler must report success only after every write has succeeded, and a write rejection must fail the
invocation. Items are independent and can be written sequentially or concurrently. The timeout is sufficient
for either approach.
Which TWO replacements for the forEach line EACH independently meet these requirements? (Choose two)
A. await event.items.map((item) => write(item));
B. for (const item of event.items) { await write(item); }
C. await Promise.all(event.items.map((item) => write(item)));
D. await event.items.forEach(async (item) => { await write(item); });
E. await Promise.all(event.items.map((item) => write(item).catch(() => undefined)));
Answer: B, C
Explanation
B. Each awaited write completes before the loop proceeds. A rejection escapes the async handler, and the success return is
reached only after all writes succeed.
C. Promise.all fulfills only when all write promises fulfill and rejects if a write rejects. Awaiting it makes the success return
conditional on all writes succeeding.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 11
AWS DEVELOPER
Question 17
An application assumes roles whose trusted TenantId principal tag is assigned by the authentication service.
Each same-account Secrets Manager secret has an administrator-managed TenantId resource tag.
Application callers cannot change either tag. The role has no other secret-reading grants, and the secrets
have no resource policies. Encryption permissions are already correct.
The policy uses language version 2012-10-17.
The following identity-policy statement must allow GetSecretValue only when the secret's tenant tag equals
the caller's principal tag:
{
"Effect": "Allow",
"Action": "secretsmanager: GetSecretValue",
"Resource": "arn: aws: secretsmanager: us-east-1:111122223333: secret:*",
"Condition": {}
}
Which replacement for Condition implements this comparison?
A. {"StringEquals": {"aws: ResourceTag/TenantId": "${aws: PrincipalTag/TenantId}"}}
B. {"StringEquals": {"aws: RequestTag/TenantId": "${aws: PrincipalTag/TenantId}"}}
C. {"StringEquals": {"aws: ResourceTag/TenantId": "shared"}}
D. {"StringEquals": {"aws: PrincipalTag/TenantId": "shared"}}
Answer: A
Explanation
The resource tag describes the requested secret, and the policy variable resolves to the trusted principal tenant tag.
StringEquals enforces the tenant match.
AWS DEVELOPER
Question 18
A Python worker polls SQS directly using Boto3. It currently makes ReceiveMessage requests with
WaitTimeSeconds=0, and its botocore Config has read_timeout=5. The worker can wait for messages and
must use a 20-second long-poll wait. Connections establish promptly; the goal is to avoid the client timing out
before an empty long-poll response can arrive. The queue is a standard queue, and there is no Lambda
event source mapping.
Which TWO changes must the developer combine? (Choose two)
A. Set MaxNumberOfMessages to 10 while keeping WaitTimeSeconds at 0.
B. Set WaitTimeSeconds to 20 in the ReceiveMessage requests.
C. Set VisibilityTimeout to 30 in the ReceiveMessage requests.
D. Configure the client read_timeout to 30 seconds.
E. Set only the client connect_timeout to 30 seconds.
Answer: B, D
Explanation
B. A positive WaitTimeSeconds enables long polling, and 20 seconds is the requested wait. The read timeout must also be
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 12
Question 18 continued
adjusted.
D. A 30-second read timeout exceeds the 20-second service wait, allowing the empty response to arrive under the stated
prompt-network assumptions.
AWS DEVELOPER
Question 19
An application calls the Amazon Bedrock InvokeModel API. Each native model request contains developer
instructions followed by untrusted user input. The request supplies a valid guardrail identifier and version.
That version has a PROMPT_ATTACK filter with inputEnabled set to true, inputStrength set to HIGH, and
inputAction set to BLOCK. No guardrail input tags are present in the request text. Model invocation and
guardrail permissions are already correct.
The developer wants the configured prompt-attack filter to evaluate the user input while excluding the
developer instructions.
Which change implements this input targeting?
A. Wrap only the user input in amazon-bedrock-guardrails-guardContent_SUFFIX XML tags, and set
amazon-bedrock-guardrailConfig.tagSuffix in the native request body to the same fresh random suffix.
B. Wrap only the developer instructions in amazon-bedrock-guardrails-guardContent_SUFFIX XML tags, and
set amazon-bedrock-guardrailConfig.tagSuffix in the native request body to the same fresh random suffix.
C. Leave the input text untagged, and set amazon-bedrock-guardrailConfig.tagSuffix in the native request
body to a fresh random suffix so the guardrail can infer the input boundary.
D. Leave the input text untagged, and use a guardrail version with inputAction set to NONE so prompt-attack
evaluation can inspect the entire request without replacing its contents.
Answer: A
Explanation
InvokeModel prompt-attack filtering requires tagged user input. The opening and closing tags must use the reserved
amazon-bedrock-guardrails-guardContent prefix and the suffix supplied in amazon-bedrock-guardrailConfig.tagSuffix. This
targets the user input and leaves the developer instructions outside the evaluated span. It enables
the configured filtering; it
does not guarantee detection of every attack.
AWS DEVELOPER
Question 20
A CI pipeline builds an image, pushes it to a private ECR repository, and immediately deploys that image
digest to ECS. Image scanning is currently disabled. A new release rule requires checking supported
operating-system and programming-language package vulnerabilities and preventing deployment when the
image has active HIGH or CRITICAL findings. The repository, operating system, and Region support ECR
enhanced scanning. The CI job can query findings and receive Inspector scan-completion events. Other
release checks are already implemented.
Which TWO changes together implement the new rule? (Choose two)
A. Enable only ECR basic scan-on-push for the repository.
B. Enable enhanced scanning and a scan-on-push or continuous-scanning filter that includes the repository.
C. Deploy immediately after push because enabling enhanced scanning makes the push fail automatically for
HIGH findings.
D. Before deployment, wait for the initial scan to complete for that digest, evaluate all relevant findings, and
fail the gate on HIGH/CRITICAL or unavailable results.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 13
Question 20 continued
E. Call StartImageScan manually after each push while leaving enhanced scan filters excluding the
repository.
Answer: B, D
Explanation
B. Enhanced scanning integrates Inspector for both required categories. A matching filter is necessary for this repository to
be scanned.
D. The gate must use completed results for the exact release digest and reject prohibited findings. Failing closed on
unavailable results avoids deploying an unassessed image.
AWS DEVELOPER
Question 21
An AI assistant recommends reducing a Lambda function from 2048 MB to 1024 MB, claiming that halving
memory will halve the compute charge. A developer runs controlled tests that change only memory. Each
configuration executes the same representative set of 1000 inputs with the same code, runtime, architecture,
and concurrency. Every invocation is warm and successful. The table summarizes the complete samples;
average billed duration already includes billing rounding.
For this comparison, compute charge is proportional to allocated GB multiplied by billed seconds, with the
same rate per GB-second; use 1 GB = 1024 MB. Ignore equal request charges and other unchanged costs.
The requirement is p95 request latency no greater than 1000 ms.
Which assessment of the AI recommendation is supported by these results?
A. Retain 2048 MB. It uses 0.80 GB-seconds per invocation and meets the latency target; 1024 MB uses
0.90 GB-seconds and misses the target.
B. Adopt 1024 MB. Halving allocated memory halves compute charge even when billed duration changes, so
the recommendation achieves the cost goal.
C. Adopt 1024 MB. Its 900 ms average billed duration is below 1000 ms, so the latency requirement is
satisfied despite the reported p95 value.
D. Retain 2048 MB to satisfy latency, accepting 1.80 GB-seconds per invocation because its doubled
memory makes it more expensive than 1024 MB.
Answer: A
Explanation
At 2048 MB, (2048 /1024) x 0.400 = 0.80 GB-seconds; at 1024 MB, (1024 /1024) x 0.900 = 0.90. The proposed setting raises
compute usage by 12.5% for these samples and increases p95 from 700 ms to 1300 ms, exceeding the 1000 ms target. The
measured evidence contradicts the recommendation.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 14
AWS DEVELOPER
Question 22
A developer uses Amazon Q Developer to generate a buildspec for an existing CodePipeline CodeBuild
action. The project uses buildspec version 0.2 on supported Linux EC2 compute. The test runner
./run-regression writes its JUnit XML report and then returns nonzero if a mandatory test fails. The correctly
configured reports section already collects that XML. The next pipeline stage can start only after this build
action succeeds.
The existing ./cleanup command must run after the test attempt, even when tests fail; it returns 0. A failed
test must remain a failed build so the pipeline cannot proceed. Amazon Q proposes several arrangements.
Which fragment should the developer accept for these requirements?
A. phases:
build:
commands:
- ./run-regression
finally:
- ./cleanup
B. phases:
build:
commands:
- ./run-regression || true
finally:
- ./cleanup
C. phases:
build:
commands:
- ./run-regression
- ./cleanup
D. phases:
build:
commands:
- echo Starting checks
finally:
- ./run-regression || true
- ./cleanup
Answer: A
Explanation
A failed command makes the phase fail, while the finally block still runs after the commands block. Cleanup therefore runs
after the test attempt without changing its failure into success; the already configured reports section can collect the
generated XML.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 15
AWS DEVELOPER
Question 23
An agent calls an Amazon Bedrock AgentCore Gateway. Its existing policy engine correctly denies a
transferFunds tool call from an ordinary authenticated user. The Gateway currently has
policyEngineConfiguration.mode set to LOG_ONLY; tests record a deny decision, but the tool still executes.
The agent's execution role has an identity-policy Allow for bedrock-agentcore: UpdateGateway on this
Gateway. This is its only configuration-changing grant. A separate trusted deployment role can also update
the Gateway. The agent cannot assume that role or modify IAM policies, and there are no other
configuration-changing paths.
The developer must make the existing tool policy block denied calls and prevent agent code from disabling
that policy boundary. Authorized tool calls and trusted deployment updates must continue to work.
Which TWO changes together meet these requirements? (Choose two)
A. Use the trusted deployment role to set the Gateway's policyEngineConfiguration.mode to ENFORCE,
retaining the existing policy engine and tool policies.
B. Keep the Gateway in LOG_ONLY and add an alarm for each deny decision so that operational staff can
review the tool operation immediately after it executes.
C. Remove the execution role's UpdateGateway grant and retain Gateway-update permission only on the
trusted deployment role, which the agent cannot assume.
D. Keep the execution role's UpdateGateway grant, but remove Gateway-management instructions from the
agent's prompt so the agent will use only the published tools.
E. Add a second, tag-conditioned Allow for UpdateGateway to the execution role, retaining its unconditional
Allow, so only approved deployment sessions can change the mode.
Answer: A, C
Explanation
A. ENFORCE applies the policy's allow or deny decision to the tool operation. The existing LOG_ONLY mode evaluates and
records the decision without blocking it. The agent's ability to change this mode must also be removed.
C. UpdateGateway can change ENFORCE to LOG_ONLY or remove the policy engine. Removing the agent role's only such
grant prevents it from disabling the boundary, while the separate deployment role retains authorized management. This must
be combined with setting ENFORCE.
AWS DEVELOPER
Question 24
An application developer is investigating errors in the Lambda function checkout-prod from 10:00 to 10:10
UTC. CloudWatch investigations is already configured with an investigation group and the required telemetry
access. Its Feed contains production error metrics for that interval. An AI-generated hypothesis suggests that
a concurrency limit caused the incident.
The developer chooses Show reasoning and finds this supporting evidence:
The development function is isolated from production and has no dependency relationship with
checkout-prod. For the incident interval, production Throttles is zero. Production request logs and a recent
deployment record are available but have not been added to the investigation. The developer has not
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 16
Question 24 continued
determined the cause of the errors.
Which next action best uses the investigation workflow to assess this hypothesis?
A. Accept the hypothesis and increase production reserved concurrency, using the development metrics as
the evidence for the production change.
B. Accept the hypothesis and replace the development resource name in a note with the production name,
keeping the same cited metric data.
C. Discard the unsupported hypothesis, add the matching production request logs and deployment evidence
to the findings, and review subsequent suggestions and their reasoning.
D. End the investigation because zero production Throttles proves that the production function and all its
dependencies are operating correctly.
Answer: C
Explanation
Show reasoning exposes the mismatch between the hypothesis and its supporting data. Discarding that unsupported
suggestion and adding relevant production evidence lets the investigation continue with better inputs. New suggestions still
require validation; this action does not by itself establish a root cause.
AWS DEVELOPER
Question 25
An application repeatedly calls GetItem for a small, frequently read catalog in DynamoDB. Eventually
consistent reads are acceptable. The team can replace its data-access client, but wants to retain
DynamoDB-style GetItem and PutItem operations without adding application-managed cache keys,
serialization, cache-miss loading, or invalidation logic. Writes through the selected integration must update
DynamoDB and maintain the corresponding item cache rather than rely only on TTL expiry. Connectivity and
permissions for the candidate caches are already available.
Which integration meets these requirements?
A. Use ElastiCache for Memcached and add application code that maps items to cache keys, loads misses,
and updates or invalidates entries after each write.
B. Use a DAX client for eventually consistent GetItem requests and route the application's PutItem calls
through the same DAX cluster.
C. Use a DAX client with ConsistentRead=True for every GetItem, expecting those strongly consistent results
to be served from the DAX cache.
D. Use DAX for reads but keep PutItem calls directed to DynamoDB, expecting those direct writes to refresh
existing DAX entries automatically.
Answer: B
Explanation
DAX provides a DynamoDB-compatible client and read-through caching for eventually consistent GetItem operations.
PutItem through DAX writes to DynamoDB and maintains the item cache, avoiding the custom cache-management code
described in the question. Replication among DAX nodes remains eventually consistent.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 17
AWS DEVELOPER
Question 26
A versioning-enabled S3 general purpose bucket stores application exports under exports/.
Its enabled Lifecycle rule has this action:
{"Expiration": {"Days": 30}}
The existing prefix filter is correct. Older data versions remain after current-version expiration creates delete
markers. The team must keep the 30-day current-version rule and make every noncurrent data version
eligible for permanent deletion using a seven-day noncurrent-age threshold, regardless of how many newer
versions exist. No Object Lock, replication-status restriction, or other retention control applies. Cleanup may
occur asynchronously under S3 Lifecycle scheduling.
Which change addresses the noncurrent data versions?
A. Replace Expiration.Days=30 with Expiration.Days=7 and leave noncurrent-version actions unset.
B. Add a separate rule for the same prefix with ExpiredObjectDeleteMarker=true, leaving noncurrent-version
expiration unset.
C. Add NoncurrentVersionTransition with NoncurrentDays=7 and StorageClass=GLACIER, leaving
noncurrent-version expiration unset.
D. Keep the current expiration and add NoncurrentVersionExpiration with NoncurrentDays=7, without a
NewerNoncurrentVersions retention count.
Answer: D
Explanation
NoncurrentVersionExpiration targets permanent deletion of noncurrent data versions, and NoncurrentDays measures their
age since becoming noncurrent. Omitting the newer-version count avoids retaining a version solely because too few newer
noncurrent versions exist. The current Expiration remains unchanged; the configured age threshold is not a promise of
deletion at an exact instant.
AWS DEVELOPER
Question 27
A developer's diagnostic tool starts with that developer's long-term IAM user credentials in account A. It must
access resources in account B through the existing DeveloperDiagnostics role.
The IAM user has permission to assume that role, and the role trusts this user with the following additional
condition:
{"Condition":{"Bool":{"aws: MultiFactorAuthPresent":"true"}}}
The registered MFA device is already enabled for the user. The target resources authorize the role, and the
IAM user has no direct access to them. Role resource permissions and all other policy conditions are correct.
The tool currently calls AssumeRole without MFA information and receives AccessDenied.
Which credential flow satisfies the existing access control?
A. Call AssumeRole with the current MFA code in ExternalId, omit SerialNumber and TokenCode, and use
the returned role credentials.
B. Call AssumeRole with an inline session policy that tests aws: MultiFactorAuthPresent, omit SerialNumber
and TokenCode, and use the returned role credentials.
C. Call GetSessionToken with SerialNumber and the current TokenCode, then use those credentials directly
for the account B resources without assuming DeveloperDiagnostics.
D. Call AssumeRole with the registered device SerialNumber and current TokenCode, then use the returned
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 18
Question 27 continued
AccessKeyId, SecretAccessKey, and SessionToken.
Answer: D
Explanation
AssumeRole accepts the MFA device identifier in SerialNumber and its current code in TokenCode. Valid MFA information
satisfies the role trust check at assumption time. Subsequent SDK clients must use the complete returned role credential set,
including SessionToken. MFA enforced in this trust policy is a check on assuming the role; it should not be confused with
checking MFA context on every later role API call.
AWS DEVELOPER
Question 28
A standard Lambda function named document-worker currently uses a ZIP deployment package. Its next
release requires 310 MiB of uncompressed code and dependencies in the deployed package. The files
cannot be removed, reduced, or loaded from external storage at runtime.
The developer also has an approved Lambda-compatible container image containing the same release. Its
total uncompressed size, including all image layers, is 700 MiB. It is stored in an ECR repository in the
function's AWS Region. Runtime compatibility, architecture, permissions, and connectivity are already
validated. The team permits creating a new function and changing the existing test caller to invoke it.
Which packaging plan is feasible for this release?
A. Upload the 310 MiB uncompressed ZIP release through Amazon S3, and update the existing function with
that ZIP.
B. Put 210 MiB of dependencies in a Lambda layer and retain a 100 MiB function ZIP, then attach that layer
to the existing function.
C. Call UpdateFunctionCode on the existing ZIP function with the approved container image URI to change
its package type to Image.
D. Create a new Lambda function with package type Image using the approved image, then update the test
caller to target the new function.
Answer: D
Explanation
A 700 MiB uncompressed image is below Lambda's 10 GB image limit, including image layers. Creating a new image-based
function respects the package-type restriction. The permitted caller change makes that new function usable for the test
release. This is a feasible packaging choice, not a runtime-latency claim.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 19
AWS DEVELOPER
Question 29
AWS Copilot CLI reached end of support on June 12, 2026. A team is maintaining an existing approved
application with a deployment process pinned to AWS Copilot CLI v1.34.1 while migration is planned. This
task does not evaluate adopting Copilot for a new application.
The application, shop, already has deployed qa and prod environments.
The orders service has this relevant portion of its valid manifest:
name: orders
type: Load Balanced Web Service
image:
build: ./Dockerfile
port: 8080
variables:
ORDERS_TABLE: orders-prod
environments:
qa:
variables:
ORDERS_TABLE: orders-prod
The checked-out local code and Dockerfile are the approved test candidate. The developer must build its
image with tag rc42, deploy the orders service to qa using ORDERS_TABLE=orders-qa, and leave the
top-level production default and the deployed prod service unchanged. Required permissions and existing
resources are valid; no infrastructure redesign is needed.
Which plan meets these requirements?
A. Change only the top-level ORDERS_TABLE to orders-qa, keep the qa override, and run copilot svc deploy
--app shop --name orders --env qa --tag rc42.
B. Change only environments.qa.variables.ORDERS_TABLE to orders-qa, and run copilot svc package --app
shop --name orders --env qa --tag rc42 --output-dir ./out.
C. Change only environments.qa.variables.ORDERS_TABLE to orders-qa, and run copilot svc deploy --app
shop --name orders --env qa --tag rc42.
D. Change only environments.qa.variables.ORDERS_TABLE to orders-qa, and run copilot env deploy --app
shop --name qa.
Answer: C
Explanation
The qa override replaces the default only in qa. With image.build, v1.34.1 svc deploy builds the local Dockerfile, tags that
image with --tag rc42, pushes it, and deploys the selected service environment. --env qa selects qa; unchanged defaults and
no prod deployment preserve production. This maintenance action is limited to the stated fixed version of the unsupported
AWS tool.
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 20
AWS DEVELOPER
Question 30
A developer is adding an identification step to an existing approved redaction workflow. It processes one
small English UTF-8 support note at a time. The workflow must locate suspected names, payment-card
numbers, and email addresses before deciding which spans to redact.
For each detected occurrence, the next component requires a PII-specific entity type, a confidence score,
and start and end character offsets in the original text. A list of PII types present somewhere in the document
is insufficient. The team will use a built-in Amazon Comprehend operation, without training a custom model.
Authorized human review handles low-confidence results.
Which operation best supplies the required identification result?
A. Call ContainsPiiEntities and use its returned PII type labels and scores as the locations of every
occurrence.
B. Call DetectPiiEntities and pass each returned entity type, score, BeginOffset, and EndOffset to the
redaction component.
C. Call DetectEntities with its pre-trained general named-entity model and treat every returned entity type as
the required PII-specific category.
D. Call DetectSyntax and use each token's part-of-speech tag as its PII type.
Answer: B
Explanation
DetectPiiEntities identifies individual PII entities and returns their specific types, confidence scores, and character offsets.
These fields supply the required input to the existing review and redaction workflow. Detection remains probabilistic; it does
not guarantee that every sensitive value is found.
AWS DEVELOPER
Question 31
An application already reads ordinary endpoint names and nonsecret configuration from AWS Systems
Manager Parameter Store. A developer must now choose where to manage a database password for an
existing supported Amazon RDS database.
The password must be encrypted at rest and changed automatically on an approved schedule. Each rotation
must update both the database credential and the value that the application retrieves. The application must
obtain the current credential at runtime without a new deployment. An approved, tested database-rotation
integration is available; the developer does not need to design a rotation function or a new deployment
pipeline.
Which approach meets these requirements?
A. Use AWS Secrets Manager with the approved automatic database-rotation integration, and retrieve the
secret at runtime with an appropriate refresh policy.
B. Store the password as a Parameter Store SecureString and enable rotation of its KMS key, relying on that
key rotation to change the database password.
C. Encrypt the password in a Lambda environment variable and rely on encryption at rest to refresh both its
value and the database password automatically.
D. Store the password in AWS AppConfig and rely on configuration validation to rotate the database
password on the approved schedule.
Answer: A
https://www.passcert.com/DVA-C03.html
https://www.passcert.com/DVA-C03.html
Page 21
Question 31 continued
Explanation
Secrets Manager supports managing credentials and automatic rotation that updates both the stored secret and the
database or service. Using the approved supported integration addresses rotation; runtime retrieval with suitable refresh
prevents the application from retaining an obsolete value indefinitely.
AWS DEVELOPER
Question 32
A developer must complete provider-specific first-use requirements for two existing, approved Amazon
Bedrock integrations in a new standalone AWS account:
Both approved serverless models are supported in the selected commercial AWS Region. Neither integration
uses bedrock-mantle or AWS GovCloud. The application roles' invocation permissions and all other
model/account access prerequisites have been verified. An onboarding role is authorized to perform the
required provider-access steps, has the necessary Marketplace permissions, and the account has a valid
payment method. No first-time provider use-case form has been submitted in this account, and there is no
organization submission to inherit.
Which plan correctly applies the provider's first-time use-case submission requirement before the developer
proceeds with the integrations?
A. Have the authorized onboarding role submit first-time use-case details for both A and B, because each is
a first use of a model provider in this account.
B. Have the authorized onboarding role submit first-time use-case details for A only; B can rely on its verified
runtime invocation permissions for this requirement.
C. Have the authorized onboarding role submit the required Anthropic first-time use-case details for B; do not
impose that Anthropic-specific form on A.
D. Submit no first-time use-case details for either integration, because verified invocation permissions satisfy
this provider requirement for both.
Answer: C
Explanation
B uses Anthropic through the standard Runtime endpoint, so the authorized onboarding process must complete the
Anthropic first-time use-case submission. A uses an Amazon-provided model and is not subject to that Anthropic-specific
form. This distinguishes a provider prerequisite from general runtime authorization and avoids treating all models as having
one activation process. A successful submission can still leave a model agreement pending; the developer must also verify
actual readiness before production invocation.
https://www.passcert.com/DVA-C03.html