📝 Drill SAP-C02 — pagi 2026-10-22
Set #47 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A media company serves product images and JavaScript bundles through Amazon CloudFront from an Application Load Balancer origin. CloudWatch shows the CloudFront cache hit ratio is below 30%, and the origin fleet is frequently scaled out to absorb requests. The static files change only when a new release is deployed, and each release uses versioned file names. Which change will MOST improve the cache hit ratio with the LEAST operational overhead?
A.
Increase the minimum size of the origin Auto Scaling group so it can serve more cache misses.
B.
Enable CloudFront Origin Shield in a Region far from the origin to add another caching layer.
C.
Configure the origin to return a Cache-Control max-age header with the longest practical value for the versioned static files.
D.
Create a scheduled Lambda function that issues CloudFront invalidations for all paths every hour.
2
Domain 3
An e-commerce checkout flow calls six microservices running on Amazon ECS and AWS Lambda, plus Amazon DynamoDB and a third-party payment API. p99 latency has doubled since last month, but per-service CloudWatch CPU and memory metrics look normal. The team needs to identify which downstream call is responsible for the added latency with the LEAST effort. What should the solutions architect recommend?
A.
Instrument the services with the AWS X-Ray SDK or ADOT, enable active tracing, and analyze the service map and trace segments.
B.
Enable VPC Flow Logs and query them with Amazon Athena to measure packet round-trip times.
C.
Increase the CloudWatch metric resolution to 1 second for every service and compare graphs manually.
D.
Run a load test on Spot Instances against each service in isolation to find the slowest one.
3
Domain 3
A company runs a web application on an EC2 Auto Scaling group with a target tracking policy at 60% CPU. Traffic follows a strong daily pattern: it rises sharply every weekday at 08:00 and drops after 18:00. Instances take about 6 minutes to become healthy, so users see slow responses for the first 15 minutes of each morning ramp. Occasional unplanned spikes also occur during the day. Which solution BEST improves performance for both patterns?
A.
Replace target tracking with a step scaling policy that adds 50% capacity when CPU exceeds 80%.
B.
Create a scheduled action to set the maximum capacity higher at 08:00 every weekday.
C.
Switch to a larger instance type and keep the existing target tracking policy unchanged.
D.
Add a predictive scaling policy in forecast-and-scale mode with a pre-launch buffer, and keep the target tracking policy for unplanned spikes.
4
Domain 3
During a marketing event, an Auto Scaling group failed to launch new On-Demand instances, and the activity history shows 'VcpuLimitExceeded'. The company expects workload growth of about 40% over the next quarter and wants to be warned well before this happens again, with minimal custom code. What should the solutions architect do?
A.
Move the workload to Spot Instances, which are not subject to vCPU quotas.
B.
Request an increase to the Running On-Demand Standard instances vCPU quota through Service Quotas, and create a CloudWatch alarm on the quota usage metric (for example at 80% of the applied quota).
C.
Open an AWS Support case after each failed scaling event to have the limit raised temporarily.
D.
Split the Auto Scaling group across additional Availability Zones to spread the vCPU usage.
5
Domain 3
A company hosts a static marketing website in an Amazon S3 bucket in us-east-1 behind Amazon CloudFront. A recent regional S3 disruption made the site unavailable for two hours. The company wants the site to keep serving content automatically if the primary bucket returns errors, with the LEAST operational overhead and no DNS changes. What should the solutions architect do?
A.
Enable S3 Cross-Region Replication to a bucket in us-west-2 and configure a CloudFront origin group with the replica bucket as the secondary origin, failing over on 5xx/403/404 status codes.
B.
Create a second CloudFront distribution pointing at a replica bucket and use Route 53 failover routing between the two distributions.
C.
Increase the CloudFront default TTL to 7 days so that cached objects remain available during an outage.
D.
Use S3 Multi-Region Access Points as the CloudFront origin with active-passive routing controlled manually.
6
Domain 1
Choose 2
A company with 120 AWS accounts in AWS Organizations keeps running into overlapping VPC CIDR ranges, which blocks Transit Gateway connectivity. The networking team wants a centrally managed, automated way to allocate non-overlapping CIDRs to VPCs in member accounts and to monitor IP address usage across the organization. Which combination of steps meets these requirements? (Choose TWO)
A.
Maintain a shared spreadsheet of CIDR allocations and add an AWS Config custom rule that flags overlaps after creation.
B.
Delegate Amazon VPC IP Address Manager (IPAM) administration to the networking account and integrate IPAM with AWS Organizations.
C.
Configure Transit Gateway route tables to drop routes for overlapping CIDRs automatically.
D.
Create IPAM pools with allocation rules (for example, allowed netmask lengths) and share them with the relevant OUs through AWS RAM so that VPCs are created from pool allocations.
E.
Attach an SCP that denies ec2:CreateVpc in all member accounts and have the networking team create every VPC manually.
7
Domain 3
A company runs a self-managed Apache Cassandra cluster of 48 nodes on EC2. A recent underlying hardware failure took down several nodes holding replicas of the same token ranges, causing read failures. The company wants to reduce the impact of correlated hardware failures while keeping the cluster large and topology-aware for replica placement. Which solution meets these requirements?
A.
Launch all nodes in a cluster placement group to minimize inter-node latency.
B.
Launch the nodes in a spread placement group within a single Availability Zone.
C.
Launch the nodes in a partition placement group and map each partition to a Cassandra rack so replicas land on separate partitions.
D.
Launch the nodes on Dedicated Hosts so that AWS isolates them from other customers' hardware.
8
Domain 2
A financial services company runs its trading ledger on Amazon Aurora MySQL in eu-west-1. A new regulation requires the ability to recover in another Region with an RPO of about 1 second and an RTO of under 1 minute, while serving low-latency read-only reports to analysts in us-east-1. Which solution meets these requirements?
A.
Take automated Aurora snapshots every hour and copy them to us-east-1 with AWS Backup.
B.
Create a cross-Region read replica using MySQL binary log replication and promote it during a disaster.
C.
Use AWS DMS with ongoing replication to an Aurora cluster in us-east-1.
D.
Convert the cluster to an Aurora Global Database with a secondary cluster in us-east-1, and use managed failover (or switchover) to promote the secondary during a Regional event.
9
Domain 4
A company must migrate a 6 TB self-managed MySQL 8.0 database from its data center to Amazon Aurora MySQL. The company has a 1 Gbps AWS Direct Connect link and can tolerate only 15 minutes of downtime. A logical dump and import was tested and took more than 30 hours. What is the FASTEST approach that meets the downtime requirement?
A.
Use mysqldump with parallel threads, upload the dump to Amazon S3, and import it into Aurora during the maintenance window.
B.
Create a physical backup with Percona XtraBackup, upload it to Amazon S3, restore it into a new Aurora MySQL cluster, then configure binary log replication from the source and cut over once the replica catches up.
C.
Use AWS Snowball Edge to ship a mysqldump file and import it directly into Aurora when it arrives.
D.
Use AWS Application Migration Service to replicate the database server and launch it as an EC2 instance.
10
Domain 2
A healthcare company encrypts patient records client-side with AWS KMS in ap-southeast-1 before writing them to Amazon DynamoDB. The data is replicated to ap-southeast-2 for disaster recovery. Applications in ap-southeast-2 must decrypt the data locally, even if ap-southeast-1 is unavailable, without re-encrypting records during replication. Which solution meets these requirements?
A.
Create a KMS multi-Region primary key in ap-southeast-1, replicate it to ap-southeast-2, and use the local replica key for decryption in each Region.
B.
Create independent KMS keys in each Region and use a Lambda function on the replication stream to re-encrypt each record.
C.
Export the key material from the ap-southeast-1 KMS key and import it into a new key in ap-southeast-2.
D.
Grant the ap-southeast-2 application role access to the ap-southeast-1 key and call KMS cross-Region for decryption.
0/10 terjawab
Periksa