Development with AWS Services

Develop code for applications hosted on AWS, Lambda functions, and data store integrations (~32% of exam).

5 minutes 5 Questions

AWS Development Services encompass a comprehensive suite of tools and services that developers use to build, deploy, and manage applications in the cloud. For the AWS Certified Developer Associate exam, understanding these core services is essential. **Compute Services**: AWS Lambda enables server…

Concepts covered
Event-driven architectural patternsUnit testing with AWS SAMStrongly consistent readsDynamoDB consistency modelsMicroservices architectureMonolithic architectureChoreography vs orchestration patternsFanout patternStateful vs stateless applicationsTightly coupled vs loosely coupled componentsSynchronous vs asynchronous patternsFault-tolerant application developmentResilient application patternsCreating and maintaining APIsAPI response and request transformationsAPI validation rulesOverriding API status codesWriting code for messaging servicesAWS SDKs and APIsHandling streaming dataAmazon Kinesis Data StreamsAmazon Q DeveloperAmazon EventBridge for event-driven patternsEventBridge rules and targetsRetry logic implementationCircuit breaker patternError handling patternsLambda VPC access configurationLambda environment variablesLambda memory and timeout configurationLambda concurrency settingsLambda runtime and handler configurationLambda layersLambda extensionsLambda triggers and event sourcesLambda destinationsLambda event lifecycleLambda dead-letter queuesLambda testing strategiesLambda integration with AWS servicesLambda performance tuningLambda Provisioned ConcurrencyLambda data processing and transformationLambda real-time stream processingDynamoDB partition keysHigh-cardinality partition key designEventually consistent readsDynamoDB query operationsDynamoDB scan operationsDynamoDB primary keysDynamoDB global secondary indexesDynamoDB local secondary indexesData serialization and deserializationData persistence patternsManaging data storesData lifecycle managementAmazon ElastiCacheDAX (DynamoDB Accelerator)Caching strategiesAmazon OpenSearch ServiceChoosing data stores by access patterns
Test mode:
DVA-C02 - Development with AWS Services Example Questions

Test your knowledge of Development with AWS Services

Question 1

A government agency operates a citizen portal using AWS Lambda behind API Gateway that serves public records from Amazon DynamoDB. The portal handles 55,000 requests per minute during business hours, with 65% of requests targeting the same 400 frequently accessed documents. Document content is static once published, but new documents are added daily and must be searchable within 10 minutes of publication. The team uses ElastiCache for Redis with cache-aside pattern and 15-minute TTL. During a recent audit, they discovered that the cache stores document metadata and full content together, consuming 12GB of memory. Analysis shows that 80% of initial requests only need metadata (title, date, category) for search results, while 20% proceed to view full document content. The metadata averages 2KB while full content averages 150KB per document. Cache memory is at 85% utilization and evictions are increasing. The team wants to optimize memory usage by 60% while maintaining fast search response times and ensuring document content remains quickly accessible when users click through. Which caching architecture modification should the development team implement?

Question 2

A cybersecurity firm is building a threat intelligence platform that processes security event logs from multiple enterprise clients. Each client's data flows through Amazon Kinesis Data Streams, where a consumer application correlates events to detect potential security breaches. The current architecture uses a standard consumer with the GetRecords API polling at 1-second intervals. During a recent security incident affecting one of their largest clients, the security analysts complained that threat alerts were arriving with a 15-20 second delay from when the events actually occurred. The development team confirmed that the Lambda processing time averages only 200ms per batch, and the stream has adequate shard capacity. The client generating the incident data sends approximately 4MB per second of logs. After investigation, the team discovered that three other consumer applications are also reading from the same stream for compliance logging, backup archival, and dashboard visualization purposes. What is causing the delayed threat detection, and which solution should the developer implement?

Question 3

A regional insurance company is migrating their claims processing system to AWS. The system stores claim documents and metadata in Amazon DynamoDB, with each claim containing policyholder information, claim status, adjuster notes, and payment details. Claims adjusters frequently update the status field and add notes as claims progress through review stages. The current implementation retrieves the entire claim document (average size 15KB), modifies the status or notes fields in the application, and writes the complete document back to DynamoDB. With 500 adjusters processing claims throughout the day, the system generates 25,000 update operations daily. The operations team has noticed that 90% of updates only modify 2-3 attributes while rewriting all 45 attributes in each claim record. Network bandwidth costs and write capacity consumption have exceeded budget projections. The team needs to optimize update operations to reduce both data transfer and write costs while preserving the complete claim history. Which DynamoDB persistence technique should the development team use to address this inefficiency?

More Development with AWS Services questions
1770 questions (total)