Associate Certified Developer - Associate Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Associate Certified Developer - Associate flashcards as text
A developer needs to ensure messages in an SQS queue are processed exactly once. Which SQS feature should they use?
Answer: FIFO Queue with content-based deduplication
FIFO queues with content-based deduplication use a SHA-256 hash of the message body to prevent duplicate processing.
An application uses AWS Cognito for authentication. After a user signs in, which token is used to authorize API Gateway calls?
Answer: Access token
The access token contains scopes and groups and is used to authorize API calls, while the ID token contains user identity claims.
A Lambda function must read configuration values that change infrequently. What is the MOST cost-effective approach?
Answer: Store values in environment variables
Environment variables are loaded at container initialization, avoiding per-invocation API calls and associated latency/cost.
A developer is using the AWS SDK and receives a ThrottlingException. What retry strategy should be implemented?
Answer: Retry with exponential backoff and jitter
Exponential backoff with jitter reduces contention by spacing retries and randomizing intervals to avoid synchronized retry storms.
Which DynamoDB feature allows a developer to read data with the lowest latency, accepting potentially stale data?
Answer: Eventually consistent reads
Eventually consistent reads use half the read capacity units of strongly consistent reads and may return slightly stale data.
A developer wants to test a new Lambda function version without affecting existing traffic. Which approach accomplishes this?
Answer: Use Lambda aliases with traffic shifting
Lambda aliases support weighted traffic routing, allowing a percentage of traffic to be directed to the new version for canary testing.
An S3 bucket policy must allow a specific IAM role to perform GetObject operations. Which element in the policy specifies the allowed action?
Answer: Action
The Action element specifies which S3 API operations are permitted, such as s3:GetObject.