📝 Drill SAP-C02 — pagi 2026-10-02
Set #7 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A company runs a microservices application on Amazon ECS with AWS Fargate behind an Application Load Balancer. Each request calls Amazon DynamoDB, an internal pricing service, and a third-party payment API. The p99 latency has doubled, but CloudWatch CPU and memory metrics for all services are normal. A solutions architect must identify which downstream call is causing the latency with the LEAST operational overhead.
A.
Enable ALB access logs to Amazon S3 and query target processing time with Amazon Athena.
B.
Instrument the services with the AWS X-Ray SDK (or AWS Distro for OpenTelemetry), run the collector as a sidecar in each task definition, and analyze the X-Ray service map and trace segments.
C.
Enable VPC Flow Logs on the task subnets and analyze connection durations with CloudWatch Logs Insights.
D.
Double the task CPU and memory and add an Amazon ElastiCache cluster in front of DynamoDB.
2
Domain 3
During a flash sale, an Auto Scaling group failed to launch additional On-Demand instances, and the activity history shows a VcpuLimitExceeded error. Traffic for next quarter's sale is forecast to be 60% higher. The company wants to prevent the failure and receive early warning before capacity approaches the limit again.
A.
Change the Auto Scaling group to use only Spot Instances, which are not subject to vCPU limits.
B.
Switch to a larger instance type so fewer instances are needed during scale-out.
C.
Request an increase to the Running On-Demand Standard instances vCPU quota through Service Quotas, and create a CloudWatch alarm on the AWS/Usage vCPU metric using the SERVICE_QUOTA() function at 80% of the quota.
D.
Enable the AWS Trusted Advisor service limits check and review the weekly summary email before each sale.
3
Domain 3
A media company serves video-on-demand segments worldwide through Amazon CloudFront. The custom origin runs on EC2 instances in us-east-1. Origin logs show many duplicate requests for the same objects arriving from different CloudFront regional edge caches, which drives high origin CPU and data transfer cost. The company wants to reduce origin load with minimal architectural change.
A.
Enable CloudFront Origin Shield on the origin and choose the Origin Shield Region closest to us-east-1.
B.
Place AWS Global Accelerator in front of the origin EC2 instances.
C.
Add a Lambda@Edge origin-request function that deduplicates concurrent requests.
D.
Create additional CloudFront distributions per continent pointing to the same origin.
4
Domain 3
A company runs a self-managed Kubernetes cluster on EC2 instances provisioned with kOps. The platform team spends significant time upgrading the control plane, backing up etcd, and patching nodes. The company wants to reduce this operational overhead while continuing to use its existing Kubernetes manifests and Helm charts.
A.
Rewrite the workloads as Amazon ECS task definitions and run them on AWS Fargate.
B.
Move the applications to AWS Elastic Beanstalk multi-container Docker environments.
C.
Run the control plane nodes in an Auto Scaling group and schedule a Lambda function to snapshot etcd to Amazon S3.
D.
Create an Amazon EKS cluster with managed node groups and redeploy the existing manifests and Helm charts to it.
5
Domain 3
An application on EC2 instances in an Auto Scaling group takes about 8 minutes to become ready because it installs large dependencies and warms a local cache at boot. Sudden traffic surges cause high latency until new instances are in service. The company wants faster scale-out in the MOST cost-effective way.
A.
Raise the minimum capacity of the Auto Scaling group to the historical peak instance count.
B.
Configure a warm pool for the Auto Scaling group with instances kept in the Stopped state after initialization.
C.
Change the target tracking policy to a step scaling policy with a lower CPU threshold.
D.
Replace the Auto Scaling group with a Spot Fleet using the capacity-optimized allocation strategy.
6
Domain 3
Choose 2
A company has about 300 EC2 instances across 25 accounts in AWS Organizations. Finance suspects many instances are over-provisioned. The company wants data-driven rightsizing recommendations across all accounts that account for both CPU and memory utilization, with the LEAST effort. Which steps should a solutions architect take? (Choose TWO)
A.
Opt in to AWS Compute Optimizer for all member accounts from the management account (or a delegated administrator).
B.
Deploy the CloudWatch agent to the instances to publish memory utilization so Compute Optimizer can include it in recommendations.
C.
Use the Cost Explorer forecast to project next month's EC2 spend per account.
D.
Write a Lambda function that polls CPU utilization daily and automatically resizes instances below 20%.
E.
Purchase Standard Reserved Instances for all currently running instance types.
7
Domain 1
A security team must continuously identify S3 buckets, KMS keys, IAM roles, and SQS queues in any account of the company's AWS Organization that are shared with principals outside the organization. Findings must be centralized in a dedicated security account with the LEAST operational overhead.
A.
Deploy AWS Config custom rules in every account that evaluate resource policies and aggregate results in the security account.
B.
Enable Amazon Macie in all accounts with the security account as the Macie administrator.
C.
Register the security account as the delegated administrator for IAM Access Analyzer and create an organization-level external access analyzer with the organization as the zone of trust.
D.
Use CloudTrail Lake in the security account to query PutBucketPolicy and PutKeyPolicy events daily.
8
Domain 2
A company ingests clickstream data into Amazon Kinesis Data Streams. Five independent consumer applications read from the same stream using GetRecords and frequently hit ReadProvisionedThroughputExceeded errors, with end-to-end latency of several seconds. Each consumer needs its own dedicated read throughput and latency of about 70 ms.
A.
Double the number of shards in the stream so that consumers share more read capacity.
B.
Replace the stream with Amazon Data Firehose and deliver to each consumer through separate destinations.
C.
Increase the polling interval of each consumer to reduce GetRecords calls per second.
D.
Register each application as an enhanced fan-out consumer and read with SubscribeToShard (for example, through KCL 2.x).
9
Domain 2
An e-commerce platform sends order events to an Amazon SQS FIFO queue. Events must be processed in order for each customer, but ordering across different customers does not matter. All producers currently use the same MessageGroupId, and the backlog grows during peak hours even after adding more consumers.
A.
Switch to an SQS standard queue and enforce ordering by storing sequence numbers in DynamoDB.
B.
Increase the visibility timeout and enable long polling on the FIFO queue.
C.
Set the MessageGroupId to the customer ID and enable high throughput mode for the FIFO queue.
D.
Replace the queue with a Kinesis data stream that has a single shard.
10
Domain 4
A company must migrate a 2 TB on-premises MySQL 8.0 database to Amazon Aurora MySQL. The business allows no more than 15 minutes of downtime, and the team wants the fastest initial load with minimal custom tooling. The on-premises network has a 1 Gbps AWS Direct Connect connection.
A.
Use mysqldump to export the database, upload the file to Amazon S3, import it into Aurora, and then switch the application.
B.
Use AWS DMS with a full-load-only task and stop the application during the entire load.
C.
Copy a backup to an AWS Snowball Edge device, restore it into Aurora when it arrives, and then switch the application.
D.
Take a Percona XtraBackup physical backup, upload it to Amazon S3, restore it as an Aurora MySQL cluster, then configure binlog replication from on premises to Aurora and cut over once replication lag is near zero.
0/10 terjawab
Periksa