SkillSprout
Chapter 8

Scalability, Serverless, Containers and Platform Services

Choose the right scaling metrics and policies across services, add caching and loose coupling, deploy serverless and container platforms, and connect hybrid networks, storage and data services that DOP-C02 lists as in scope.

1Scaling Metrics and Auto Scaling Across AWS Services
Advanced
6 min
2Caching and Loosely Coupled, Event-Driven Architectures
Advanced
6 min
3Serverless and Container Platforms: API Gateway, Fargate, App Runner and Copilot
Advanced
6 min
4Hybrid Connectivity, Storage and Data Services for DevOps
Advanced
6 min

Chapter quiz

Scalability, Serverless, Containers and Platform Services · 10 questions

  1. 1.A fleet of EC2 workers processes jobs from an SQS queue. During peaks the queue grows to hundreds of thousands of messages, but average CPU stays at 15% because workers wait on external APIs. The ASG uses a CPU target tracking policy at 50%. What should be changed?

  2. 2.A DynamoDB table with provisioned capacity auto scaling throttles writes during a flash sale because traffic doubles within a minute. Traffic is highly unpredictable. What is the best solution?

  3. 3.An ECS cluster on EC2 shows tasks stuck in PROVISIONING/PENDING because there is not enough instance capacity. The team wants the cluster to add instances automatically when tasks need room. What should be configured?

  4. 4.A read-heavy product catalogue API (API Gateway and Lambda) experiences database overload from repeated identical requests. Data can be up to 60 seconds stale. Which change provides the largest reduction in backend calls with the least code change?

  5. 5.An order service publishes events that must be processed independently by billing, inventory and analytics teams. Each team needs its own retry behaviour, and a failure in one consumer must not affect others. Which design is best?

  6. 6.Users upload 4 GB videos for processing. The API behind API Gateway REST APIs times out at 29 seconds when processing synchronously. Which architecture resolves this with the least operational overhead?

  7. 7.A small team wants to deploy a containerised web application from a Git repository with automatic build, HTTPS, load balancing and scaling, without learning ECS task definitions or managing clusters. Which service is the best fit?

  8. 8.A company has two data centres and wants a resilient hybrid connection to dozens of VPCs. The network team needs consistent bandwidth with automatic failover if the primary link fails. Which design is most appropriate?

  9. 9.A Windows-based application needs a shared SMB file system with Active Directory authentication, Multi-AZ availability and automated backups. Which service meets the requirement with the least management?

  10. 10.A team must migrate a production Oracle database to Aurora PostgreSQL with minimal downtime while the source remains in use. What should they use?

0 of 10 answered