📝 Drill SAP-C02 — pagi 2026-10-20
Set #43 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A company runs 40 AWS accounts. Security audits keep finding security groups that allow inbound SSH (port 22) and RDP (port 3389) from 0.0.0.0/0, created by developers for quick troubleshooting. The security team wants these rules detected continuously and removed automatically, with a compliance history for auditors. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy the AWS Config managed rule restricted-ssh (and a rule for RDP) through a conformance pack, and configure automatic remediation that runs the AWS-DisablePublicAccessForSecurityGroup Systems Manager Automation runbook.
B.
Enable the AWS Trusted Advisor security group check in every account and subscribe the security team to an SNS topic so they can remove the rules manually.
C.
Create a daily Amazon Athena query over CloudTrail logs to find AuthorizeSecurityGroupIngress calls with 0.0.0.0/0 and email the results to account owners.
D.
Attach an SCP that denies ec2:AuthorizeSecurityGroupIngress for all principals in all member accounts.
2
Domain 3
A company uses AWS Compute Optimizer to right-size a fleet of 600 Amazon EC2 instances running memory-intensive Java applications. Engineers notice that the recommendations frequently suggest smaller instance types that later cause out-of-memory errors, and that seasonal monthly peaks are not reflected. The company wants more accurate rightsizing recommendations with minimal effort. What should a solutions architect do?
A.
Switch to AWS Cost Explorer rightsizing recommendations, which include memory utilization for all instances by default.
B.
Use the AWS Trusted Advisor Low Utilization Amazon EC2 Instances check, which analyzes memory and CPU over 90 days.
C.
Install the Amazon CloudWatch agent on the instances by using Systems Manager to publish memory utilization, and activate the Compute Optimizer enhanced infrastructure metrics feature.
D.
Enable detailed (1-minute) monitoring on all instances so that Compute Optimizer receives higher-resolution CPU data.
3
Domain 3
An online gaming company stores player profiles in an Amazon DynamoDB table. The workload is 95% reads of the same hot items, and the current p99 read latency of single-digit milliseconds is now too slow for a new leaderboard feature that requires microsecond response times. The application uses the AWS SDK DynamoDB client, and the team wants the fewest application code changes. Which solution should a solutions architect recommend?
A.
Switch the table to on-demand capacity mode and enable eventually consistent reads.
B.
Deploy a DynamoDB Accelerator (DAX) cluster in the VPC and point the application to it by using the DAX client, which is API-compatible with DynamoDB.
C.
Add an Amazon ElastiCache (Redis OSS) cluster and implement a write-through cache in the application data access layer.
D.
Convert the table to a DynamoDB global table so reads are served from the nearest replica Region.
4
Domain 3
A financial services company runs a multi-AZ application on Amazon ECS on Amazon EC2 behind an Application Load Balancer. Leadership wants regular, controlled game days in production that simulate instance terminations and API throttling to verify that recovery works, but any experiment must halt automatically if customer-facing error rates exceed a threshold. Which approach meets these requirements with the LEAST operational overhead?
A.
Write AWS Lambda functions that randomly terminate instances on a schedule, and have an on-call engineer watch dashboards to stop the schedule if errors spike.
B.
Run an AWS Resilience Hub assessment monthly and treat a passing resiliency score as proof that recovery works.
C.
Temporarily disable ALB health checks during game days so that failures are visible in application logs, then re-enable them afterward.
D.
Create AWS Fault Injection Service (FIS) experiment templates for the failure actions, and configure an Amazon CloudWatch alarm on the ALB 5XX error rate as a stop condition.
5
Domain 3
Amazon GuardDuty in a company's production account reports an EC2 instance communicating with a known cryptocurrency mining domain. The incident response policy requires that compromised instances be contained within minutes, 24/7, while preserving the instance and its disk state for forensic analysis. Which solution meets these requirements?
A.
Create an Amazon EventBridge rule for the GuardDuty finding that invokes a Lambda function to terminate the instance and launch a replacement from the latest AMI.
B.
Enable Amazon Inspector on the instance and configure it to automatically patch the vulnerable package that allowed the compromise.
C.
Create an Amazon EventBridge rule matching the GuardDuty finding type that starts an AWS Step Functions workflow to replace the instance's security groups with an isolation security group that has no rules, snapshot its EBS volumes, and tag it for investigation.
D.
Aggregate GuardDuty findings in AWS Security Hub and assign them to the security team for manual investigation during business hours.
6
Domain 3
Choose 2
A company runs 200 AWS Lambda functions written in Python with no native binary dependencies. All functions use the x86_64 architecture and were configured with 3,008 MB of memory by default, regardless of actual need. Lambda is now the largest line item on the bill. The company wants to reduce Lambda cost while maintaining performance, with minimal re-engineering. Which actions should a solutions architect recommend? (Choose TWO)
A.
Change the function architecture to arm64 (AWS Graviton) after validating the functions in a test environment.
B.
Configure provisioned concurrency for every function to avoid cold starts.
C.
Increase each function's timeout to the maximum of 15 minutes to reduce retries.
D.
Use AWS Compute Optimizer Lambda recommendations or the AWS Lambda Power Tuning tool to right-size memory for each function.
E.
Rewrite the functions as Amazon ECS tasks on AWS Fargate that run continuously.
7
Domain 1
A European company uses AWS Organizations. For data residency, workloads in all member accounts must run only in eu-west-1 and eu-central-1. Global services such as IAM, Amazon CloudFront, Amazon Route 53, and AWS Support must continue to work, and a central break-glass role must be exempt. The control must be preventive. Which solution meets these requirements?
A.
Attach an SCP that denies Action "*" when aws:RequestedRegion is not eu-west-1 or eu-central-1.
B.
Attach an SCP to the root that denies all actions using NotAction for the required global services, with a StringNotEquals condition on aws:RequestedRegion for the two approved Regions and an ArnNotLike condition on aws:PrincipalARN for the break-glass role.
C.
Deploy an AWS Config rule in every account that detects resources created outside the approved Regions and deletes them with a remediation runbook.
D.
Attach an IAM permissions boundary to every IAM role in every account that allows actions only in the two approved Regions.
8
Domain 2
A fitness app with users in North America and Europe stores workout sessions as key-value data. Users must be able to write data to the Region closest to them with low latency, and both Regions must continue accepting writes if the other Region becomes unavailable. The company wants an RPO of seconds and the LEAST operational overhead. Which solution should a solutions architect choose?
A.
Amazon Aurora global database with write forwarding enabled on the secondary Region cluster.
B.
Amazon RDS for MySQL with a cross-Region read replica that is promoted manually during an outage.
C.
Separate Amazon DynamoDB tables in each Region with DynamoDB Streams and Lambda functions that replicate changes to the other Region.
D.
Amazon DynamoDB global tables with replicas in a North American Region and a European Region.
9
Domain 2
A brokerage company's web dashboard polls a REST API on Amazon API Gateway every 2 seconds for price alerts. With 50,000 concurrent users, most requests return no new data, causing high cost and backend load. The company wants to push alerts to connected browsers in near real time by using a serverless architecture. Which solution meets these requirements?
A.
Create an API Gateway WebSocket API, store connection IDs in Amazon DynamoDB on $connect, and have a Lambda function send alerts to clients through the @connections management API.
B.
Configure Amazon SNS mobile push notifications and subscribe each browser session's endpoint to a price alert topic.
C.
Create one Amazon SQS queue per user and have the browser call ReceiveMessage directly with long polling.
D.
Increase the API Gateway cache TTL on the REST API to 60 seconds so repeated polls are served from cache.
10
Domain 4
A media company is migrating 80 TB of project files from an on-premises NFS server to Amazon EFS over an existing 1 Gbps AWS Direct Connect connection. Files keep changing until cutover, the copy must not saturate the link during business hours, and the company needs proof that the data was transferred intact. Which solution meets these requirements with the LEAST operational overhead?
A.
Run rsync from an EC2 instance that mounts both the NFS share over Direct Connect and the EFS file system, scheduled with cron.
B.
Deploy an AWS Storage Gateway S3 File Gateway on premises and copy the files to it so they are uploaded to Amazon EFS.
C.
Deploy an AWS DataSync agent on premises, create a scheduled task from the NFS location to the EFS location with a bandwidth limit and data integrity verification, and run a final incremental task at cutover.
D.
Use AWS Transfer Family with an SFTP endpoint backed by Amazon EFS and have users upload their project folders.
0/10 terjawab
Periksa