📝 Drill SAP-C02 — pagi 2026-10-10
Set #23 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A retailer serves product images through Amazon CloudFront from a custom origin of EC2 instances behind an Application Load Balancer. CloudWatch shows a CloudFront cache hit ratio of 35%, and the origin fleet is frequently CPU-bound. Image content rarely changes, and when it does the application publishes it under a new versioned file name. The origin currently returns 'Cache-Control: max-age=60' for all images. Which change will MOST improve performance for end users while reducing origin load?
A.
Add more EC2 instances to the origin Auto Scaling group and enable ALB cross-zone load balancing.
B.
Configure the origin to return 'Cache-Control: max-age=31536000' for image objects, relying on the versioned file names to publish updated images.
C.
Enable CloudFront Origin Shield in the Region closest to the origin and keep the existing Cache-Control headers.
D.
Update the cache policy to include all viewer headers and query strings in the cache key so the origin can tailor each response.
2
Domain 3
A ticketing company runs its web tier on an EC2 Auto Scaling group with a target tracking policy on average CPU. Every weekday at 09:00, when sales open, traffic rises sharply, and marketing campaigns also cause unpredictable spikes at other times. New instances need about 8 minutes to bootstrap, so users experience high latency every morning before capacity catches up. Which solution addresses BOTH traffic patterns with the LEAST operational overhead?
A.
Replace the target tracking policy with a scheduled action that raises desired capacity at 08:45 each weekday.
B.
Replace the target tracking policy with a step scaling policy that uses lower CPU thresholds and larger step adjustments.
C.
Move to larger instance types so that each instance absorbs more of the 09:00 surge.
D.
Add a predictive scaling policy in forecast-and-scale mode with a pre-launch buffer, and keep the existing target tracking policy for unexpected spikes.
3
Domain 3
An order-processing API runs on Amazon API Gateway in front of several microservices on Amazon ECS with AWS Fargate. The services call Amazon DynamoDB, an internal payment service, and Amazon SQS. The p99 latency of the order API has doubled, and the team cannot determine which downstream call is responsible. Which approach will identify the bottleneck with the LEAST effort?
A.
Enable AWS X-Ray tracing on the API Gateway stage, instrument the services with the AWS Distro for OpenTelemetry (or X-Ray SDK), and analyze the service map and trace latency distributions.
B.
Write CloudWatch Logs Insights queries against each service's log group and manually correlate request IDs across services.
C.
Enable VPC Flow Logs for the service subnets and query them with Amazon Athena to measure connection durations.
D.
Enable AWS CloudTrail data events for DynamoDB and SQS and compare event timestamps with API Gateway access logs.
4
Domain 3
A company with 60 AWS accounts in AWS Organizations wants its FinOps team to analyze hourly, resource-level cost and usage line items for every account and join them with an internal table that maps resource tags to cost centers using SQL. The data must be refreshed daily and retained for multiple years. Which solution meets these requirements?
A.
Use AWS Cost Explorer with hourly granularity, group by tag, and export the results to CSV each day.
B.
Create CloudWatch billing alarms in each member account and stream the alarm history to Amazon S3.
C.
Create a Cost and Usage Report (CUR 2.0 data export) in the management account with hourly granularity and resource IDs, delivered to Amazon S3 in Parquet, then catalog it with AWS Glue and query it with Amazon Athena.
D.
Configure AWS Budgets reports for each account to be emailed daily to the FinOps team.
5
Domain 3
A company stores container images in Amazon ECR across 40 member accounts in AWS Organizations. The security team requires that images be rescanned automatically whenever new CVEs are published, not only when images are pushed, and that all findings be visible from one security account. Which solution meets these requirements with the LEAST operational overhead?
A.
Designate the security account as the Amazon Inspector delegated administrator, enable Amazon ECR enhanced scanning for all member accounts, and review the aggregated findings in that account.
B.
Enable ECR basic scanning on push in every account and forward the scan results to the security account with EventBridge.
C.
Run a nightly AWS CodeBuild project in each account that pulls every image, scans it with an open-source scanner, and writes the reports to a central S3 bucket.
D.
Enable Amazon GuardDuty Runtime Monitoring for Amazon ECS across the organization and review the findings in the GuardDuty administrator account.
6
Domain 3
Choose 2
A web application runs on EC2 instances in an Auto Scaling group across two Availability Zones behind an Application Load Balancer. The ALB health check targets the path '/', which is served by NGINX as a static page. Occasionally the application worker process behind NGINX hangs; the instance keeps running and keeps passing health checks, so users receive errors from that instance for hours until an engineer replaces it manually. Which combination of steps will provide automatic recovery? (Choose TWO)
A.
Enable detailed (1-minute) monitoring on the EC2 instances.
B.
Add a nightly scheduled action that replaces every instance in the Auto Scaling group.
C.
Configure the Auto Scaling group to use Elastic Load Balancing health checks in addition to EC2 status checks, with an appropriate health check grace period.
D.
Create a CloudWatch alarm on StatusCheckFailed_System that triggers the EC2 recover action.
E.
Change the ALB target group health check to a '/health' endpoint that is served by the application worker and verifies its critical dependencies.
7
Domain 1
A company has 30 VPCs across multiple accounts in AWS Organizations, all connected to a central networking account through AWS Transit Gateway. On-premises DNS servers, reachable over AWS Direct Connect, are authoritative for corp.example.internal. Workloads in every VPC must resolve names in this domain, and new VPCs should get the same behavior with minimal effort. Which solution has the LEAST operational overhead?
A.
Deploy a pair of BIND forwarder EC2 instances in each VPC and update each VPC's DHCP options set to use them.
B.
Create a Route 53 private hosted zone for corp.example.internal and copy the on-premises records into it with a scheduled script.
C.
Create a Route 53 Resolver outbound endpoint in the networking account, create a forwarding rule for corp.example.internal that targets the on-premises DNS servers, share the rule through AWS RAM, and associate it with each VPC.
D.
Create a Route 53 Resolver inbound endpoint in each VPC and point the on-premises DNS servers at those endpoints.
8
Domain 2
A company receives about 2 million small JSON files in an Amazon S3 prefix each day. Every night the files must be processed by an existing AWS Lambda function with controlled concurrency, automatic retries, a configurable failure tolerance for the whole batch, and a visual record of each run's progress. Which solution meets these requirements with the LEAST operational overhead?
A.
Configure S3 event notifications to invoke the Lambda function directly for each object as it arrives.
B.
Run a cron script on an EC2 instance that lists the prefix with the AWS CLI and invokes the Lambda function for each object.
C.
Create a Step Functions Standard workflow that lists the objects and processes them with an inline Map state.
D.
Create a Step Functions workflow with a Distributed Map state that reads the S3 prefix, invokes the Lambda function in child executions with MaxConcurrency and retry settings, and sets a tolerated failure percentage.
9
Domain 4
A company is migrating 200 TB from an on-premises NFS NAS to Amazon EFS. It has a 10 Gbps AWS Direct Connect connection with plenty of spare capacity. The data must be copied with integrity verification, and incremental changes must be synchronized repeatedly until a weekend cutover. The team wants to avoid writing custom scripts. Which solution meets these requirements?
A.
Mount the EFS file system on an on-premises Linux server over Direct Connect and run scheduled rsync jobs.
B.
Deploy an AWS DataSync agent on premises and create a scheduled DataSync task from the NFS location to the EFS location over Direct Connect, with data verification enabled.
C.
Order AWS Snowball Edge devices for the initial copy and import the data into Amazon EFS.
D.
Deploy an AWS Storage Gateway S3 File Gateway and copy the NAS data to the gateway share.
10
Domain 1
A company is growing from 40 to 150 AWS accounts in AWS Organizations. The network team tracks VPC CIDR blocks in a spreadsheet, and several overlapping CIDRs have already caused Transit Gateway routing problems. The company needs centralized IP planning with allocation rules per Region and environment, automatic assignment of non-overlapping CIDRs when teams create VPCs, and organization-wide monitoring of IP usage compliance. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable Amazon VPC IP Address Manager (IPAM) integrated with AWS Organizations using a delegated administrator, create pools per Region and environment with allocation rules, and share the pools with AWS RAM so VPCs are created from IPAM pools.
B.
Build a CIDR allocation service with an Amazon DynamoDB table and AWS Lambda, and call it from a CloudFormation custom resource whenever a VPC is created.
C.
Create an AWS Config rule that detects overlapping VPC CIDRs and invokes an automation that deletes the noncompliant VPC.
D.
Deploy private NAT gateways in every VPC so that overlapping CIDRs can still communicate through the Transit Gateway.
0/10 terjawab
Periksa