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 stores session data in ElastiCache Redis. The application needs to handle Redis connection failures gracefully. What is the recommended pattern?
Answer: Implement circuit breaker with fallback to stateless processing
A circuit breaker pattern detects failures and falls back gracefully, preventing cascading failures while maintaining availability.
Which AWS service should a developer use to automatically rotate database credentials without modifying application code?
Answer: AWS Secrets Manager
AWS Secrets Manager natively integrates with RDS, Redshift, and DocumentDB to automatically rotate credentials on a schedule.
A CloudFormation stack deployment fails midway. What happens to previously created resources by default?
Answer: They are retained and the stack enters ROLLBACK_COMPLETE state
By default, CloudFormation rolls back all changes on failure, deleting resources created during the failed deployment and entering ROLLBACK_COMPLETE.
A developer needs to trigger a Lambda function whenever an item is modified in a DynamoDB table. What should they enable?
Answer: DynamoDB Streams
DynamoDB Streams captures item-level changes and can trigger Lambda functions to process each change record.
An API Gateway REST API must only be accessible from within a VPC. Which endpoint type should be configured?
Answer: Private endpoint
Private API Gateway endpoints are accessible only from within a VPC using a VPC endpoint (PrivateLink), blocking public internet access.
A developer notices a Lambda function's cold start latency is too high. Which strategy MOST directly reduces cold start duration?
Answer: Enable provisioned concurrency
Provisioned concurrency pre-initializes execution environments, eliminating cold start latency for the configured number of instances.
When using AWS X-Ray to trace a distributed application, what does a segment represent?
Answer: Work done by a single service or application for a request
An X-Ray segment records data about work done by a single service, including timing, HTTP data, and any subsegments for downstream calls.