📝 Drill SAP-C02 — pagi 2026-11-01
Set #67 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A media company serves product images through Amazon CloudFront with an Application Load Balancer origin. CloudWatch shows a cache hit ratio below 20%, and origin load keeps growing. Analysis shows the distribution uses a legacy cache setting that forwards all headers, cookies, and query strings, although images vary only by the 'size' query string. The images change at most once per week. Which change will MOST improve the cache hit ratio with the LEAST operational overhead?
A.
Add more targets to the ALB target group and enable cross-zone load balancing to absorb the origin traffic.
B.
Attach a cache policy that includes only the 'size' query string in the cache key, and have the origin return Cache-Control max-age set to the longest practical value; invalidate paths when images change.
C.
Enable CloudFront Origin Shield in the Region closest to the ALB while keeping the current cache settings.
D.
Create a Lambda@Edge viewer request function that strips all cookies and headers, and set the default TTL to 0 so the origin controls freshness.
2
Domain 3
A company gives every developer a sandbox account in AWS Organizations under a Sandbox OU. Several sandboxes recently ran large EC2 instances for weeks, causing unexpected spend. Finance requires that once a sandbox account exceeds its monthly budget of $500, no new EC2 instances can be launched in that account until an administrator approves, without relying on developers to react to emails. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a CloudWatch billing alarm in each account that sends an SNS email to the developer and the administrator when estimated charges exceed $500.
B.
Use Cost Explorer anomaly detection with daily summaries to the administrator, who then manually stops instances in the affected account.
C.
Schedule a Lambda function that queries the Cost and Usage Report through Athena every hour and terminates all EC2 instances in accounts above $500.
D.
Create an AWS Budgets budget per sandbox account with a budget action that, when actual spend exceeds $500, applies an SCP denying ec2:RunInstances to that account, configured to require approval from the administrator.
3
Domain 3
An order API runs on Amazon API Gateway, AWS Lambda, and several Amazon ECS microservices that call Amazon DynamoDB and a third-party payment API. Customers report that p99 latency rose from 400 ms to 3 seconds after recent releases, but average CPU and memory on all services look normal. The team must identify which service or downstream call causes the latency with the LEAST effort. What should the solutions architect recommend?
A.
Enable AWS X-Ray active tracing on API Gateway and Lambda, instrument the ECS services with the X-Ray SDK or AWS Distro for OpenTelemetry with an X-Ray daemon/collector sidecar, and analyze the trace map and latency segments.
B.
Enable VPC Flow Logs on all subnets and query them with Athena to find connections with the longest durations.
C.
Increase the CloudWatch Logs retention period and add detailed timestamp logging to each service, then correlate logs manually by request ID.
D.
Enable CloudWatch detailed monitoring for all ECS tasks and create alarms on CPUUtilization above 70%.
4
Domain 3
A gaming company runs multiplayer game servers on EC2 instances in three Regions. A matchmaking service assigns each player to a specific game session running on a specific EC2 instance and port. Players worldwide experience jitter over the public internet. The company wants to route each player deterministically to the assigned instance and port over the AWS global network, without exposing instance public IPs. Which solution meets these requirements?
A.
Create a standard AWS Global Accelerator with Network Load Balancer endpoints in each Region and use client affinity set to source IP.
B.
Use Amazon CloudFront with the game servers as custom origins and configure a cache policy with TTL 0 for UDP traffic.
C.
Create an AWS Global Accelerator custom routing accelerator with VPC subnet endpoints, and have the matchmaking service use the port mapping to give each player the accelerator IP and port that maps to the target instance and port.
D.
Use Amazon Route 53 latency-based routing with one record per EC2 instance and a 0-second TTL.
5
Domain 3
A company runs a self-managed Apache Hadoop (HDFS) cluster of 60 EC2 instances in one Availability Zone. During a recent hardware failure, several instances holding replicas of the same data blocks failed together, causing data unavailability. The company wants HDFS to place replicas on isolated hardware and wants the cluster to keep high network throughput. Which approach should the solutions architect recommend?
A.
Launch all instances in a cluster placement group to maximize network throughput between nodes.
B.
Launch the instances in a partition placement group with multiple partitions, and configure HDFS rack awareness using the partition number exposed in instance metadata.
C.
Launch the instances in a spread placement group so each instance runs on distinct hardware.
D.
Distribute the instances across three Availability Zones in an Auto Scaling group with no placement group.
6
Domain 3
Choose 2
A company with 40 AWS accounts in AWS Organizations cannot allocate costs because many resources lack the 'CostCenter' tag or use inconsistent values such as 'cc-01' and 'CC01'. The finance team wants standardized tag values going forward and wants existing noncompliant resources to be detected and fixed automatically. Which combination of actions will meet these requirements with the LEAST operational overhead? (Choose TWO)
A.
Ask each account owner to export a monthly list of untagged resources from Tag Editor and fix them manually.
B.
Enable Cost Explorer forecasting and group costs by linked account instead of by tag.
C.
Create an Organizations tag policy that defines the allowed 'CostCenter' key capitalization and values, with enforcement enabled for the supported resource types.
D.
Deploy an AWS Config required-tags rule across the organization with automatic remediation that runs an AWS Systems Manager Automation runbook to apply the correct tag.
E.
Create an SCP that denies all API actions for any principal whose IAM user lacks a 'CostCenter' tag.
7
Domain 1
A regulated company must ensure that workloads in all member accounts run only in eu-central-1 and eu-west-1. A previous attempt using an SCP that denied all actions outside those Regions broke IAM, AWS Organizations, Amazon CloudFront, and AWS Support access for administrators. The security team also needs a break-glass role to remain unrestricted. Which SCP design meets these requirements?
A.
Attach an SCP that allows only actions in eu-central-1 and eu-west-1 and remove the FullAWSAccess SCP from the root.
B.
Create IAM permission boundaries in each account that deny actions where aws:RequestedRegion is not one of the two Regions.
C.
Enable AWS Control Tower and rely on the default guardrails to block other Regions automatically, with no further configuration.
D.
Attach an SCP with a Deny statement on NotAction listing global services (such as iam:*, organizations:*, cloudfront:*, support:*, sts:*), conditioned on aws:RequestedRegion not equal to the two Regions and aws:PrincipalARN not like the break-glass role ARN.
8
Domain 2
A fintech company processes account ledger updates. Updates for the same customer account must be processed exactly once and in order, but updates for different accounts should be processed in parallel to handle 20,000 messages per second at peak. The company wants a fully managed solution with the LEAST operational overhead. Which design meets these requirements?
A.
Use an Amazon SQS FIFO queue with high throughput mode enabled, set the MessageGroupId to the customer account ID, use deduplication IDs, and process with AWS Lambda.
B.
Use an Amazon SQS standard queue and have consumers sort messages by timestamp before applying updates.
C.
Use a single-shard Amazon Kinesis data stream so all records are strictly ordered, consumed by one Lambda function.
D.
Use an Amazon SNS standard topic with an SQS standard queue subscription and a DynamoDB table to track processed message IDs.
9
Domain 4
A company is migrating a 60 TB on-premises NFS file share used by a Linux web application to Amazon EFS. The company has a 1 Gbps AWS Direct Connect connection. Files continue to change until the cutover weekend, and the company wants to verify data integrity and minimize the final cutover window with the LEAST custom scripting. Which solution meets these requirements?
A.
Order AWS Snowball Edge devices, copy the share, and ship them to AWS; then use rsync over Direct Connect for changes during cutover.
B.
Mount the EFS file system on-premises over Direct Connect and run a nightly cp -r job from the NFS share.
C.
Deploy an AWS DataSync agent on premises, create a task from the NFS location to the EFS location over Direct Connect, run the initial full transfer, then run scheduled incremental tasks with data verification and a final incremental run at cutover.
D.
Use AWS Storage Gateway File Gateway in front of the NFS share and point the application to the gateway permanently.
10
Domain 2
A research company stores 8 million small JSON files in an Amazon S3 bucket and must run a validation and enrichment Lambda function on each file every night. The job must finish within 2 hours, retry transient failures, and report which items failed, without the company managing servers or custom queue-based orchestration. Which solution meets these requirements with the LEAST operational overhead?
A.
Run an AWS Batch job on EC2 Spot Instances that lists the bucket and invokes the Lambda function in a loop.
B.
Use an AWS Step Functions state machine with a Distributed Map state that reads the S3 object list, runs child workflows invoking the Lambda function with high concurrency, configures retries and a tolerated failure threshold, and writes results to S3.
C.
Use an AWS Step Functions state machine with an inline Map state that passes all 8 million keys as an array in the state input.
D.
Configure S3 Event Notifications to an SQS queue and re-upload every file nightly to trigger processing.
0/10 terjawab
Periksa