Determine a strategy to improve performance.

14 practice questions under this official exam objective (SAP-C02), each with the answer key, an option-by-option explanation and instant feedback.

Questions under this objective

14 total · page 1 of 1
SAP-C02 S-grade

Enrich IoT data with Lambda through Kinesis Data Firehose buffering

A factory application sends sensor data from hundreds of devices through AWS IoT Core to an S3 data lake, transmitting every five seconds. The data mu

19 comments
SAP-C02 S-grade

Use RDS Proxy to absorb Lambda connection bursts against RDS for PostgreSQL

During a flash sale the API call volume spiked, Lambda invocations and database connections surged together, and the RDS instance CPU was high. The pa

17 comments
SAP-C02 S-grade

Mount the S3 pricing file with Mountpoint for Amazon S3 to eliminate stale pricing

A ticketing service on Linux EC2 instances downloads a pricing file from S3 at instance launch, so instances that have been running for a while serve

13 comments
SAP-C02 S-grade

Use Lambda over a CloudWatch Logs stream to count unique users per client

The company needs unique user counts per client for daily, weekly, and monthly periods, and all log files already go to CloudWatch with logins recorde

13 comments
SAP-C02 S-grade

Cut Java Lambda cold starts with SnapStart and move non-deterministic code into handlers

Several Java Lambda functions do initialization work outside the handler, including loading libraries, initializing classes, and generating unique IDs

11 comments
SAP-C02 S-grade

Add RDS Proxy and provisioned concurrency to bursty serverless Lambda functions

A serverless ecommerce application runs Java Lambda functions behind API Gateway that connect to RDS for MySQL. A sale event produced poor API perform

11 comments
SAP-C02 A-grade

Run interruptible batch simulations on AWS Batch with Spot Instances only

Large batch simulation jobs read 15 to 20 GB each from an S3 bucket and write results to a different bucket. The results are not time sensitive, the p

7 comments
SAP-C02 S-grade

Use Amazon MemoryDB for Redis in Multi-AZ mode for a real-time game leaderboard

A multiplayer game leaderboard needs microsecond reads, single-digit-millisecond writes, terabyte-scale datasets, and the ability to accept writes wit

7 comments
SAP-C02 A-grade

Batch smart meter readings through Kinesis Data Streams and raise DynamoDB write capacity

A utility collects usage data every five minutes from smart meters through API Gateway and Lambda into a DynamoDB table. In the pilot the functions to

6 comments
SAP-C02 A-grade

Store VPC flow logs in Apache Parquet with hourly partitions for Athena

VPC flow logs from many accounts are published as gzip-compressed text files to a centralized S3 bucket, retained indefinitely, and occasionally queri

6 comments
SAP-C02 A-grade

Distribute a 5 GB game package through S3 and CloudFront instead of on-premises FTP

A game publisher currently serves downloads for existing releases from a Linux FTP site in an on-premises data center and needs to publish a new 5 GB

6 comments
SAP-C02 A-grade

Move a serverless SaaS database to Aurora with RDS Proxy connection pooling

A SaaS application runs Lambda functions against an RDS for MySQL Multi-AZ database, and during market events the workload spikes sharply and users se

6 comments
SAP-C02 A-grade

Enable DynamoDB auto scaling to remove throttling under traffic growth

A web application uses API Gateway, Lambda, and DynamoDB, and a marketing campaign increased demand. Requests now take much longer, twenty percent of

6 comments
SAP-C02 A-grade

Alarm on the AWS/Usage service quota metric for Fargate task count

A company runs about 100 services in an ECS cluster, recently moved from EC2 instances to Fargate, and previously came close to the account's maximum

4 comments