📝 Drill SAP-C02 — pagi 2026-10-24
Set #51 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A company operates 45 AWS accounts in AWS Organizations. During an audit, the security team found several security groups that allow inbound SSH (port 22) from 0.0.0.0/0. The team requires that any such rule be detected and corrected automatically within minutes in every account, including accounts created in the future. Developers must still be able to create and modify other security group rules. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable Amazon GuardDuty in all accounts. Create an Amazon EventBridge rule that matches GuardDuty findings and invokes an AWS Lambda function that deletes the affected security group.
B.
Deploy the AWS Config managed rule restricted-ssh across the organization (for example, through an organization conformance pack) and configure automatic remediation with the AWS Systems Manager Automation runbook AWS-DisablePublicAccessForSecurityGroup.
C.
Enable the AWS Trusted Advisor security group check in each account and have the security team review the weekly email report and remove offending rules manually.
D.
Attach an SCP to the root OU that denies the ec2:AuthorizeSecurityGroupIngress action for all principals except a central security role.
2
Domain 3
A company gives developers sandbox accounts that are grouped in a Sandbox OU in AWS Organizations. Sandbox EC2 spending regularly exceeds the approved $5,000 monthly limit. Finance requires that when the forecasted monthly EC2 spend for the Sandbox OU exceeds the limit, developers are automatically prevented from launching new EC2 instances until finance reviews the situation. Existing instances must keep running. Which solution meets these requirements?
A.
Create an Amazon CloudWatch billing alarm on EstimatedCharges for each sandbox account that sends an Amazon SNS notification to the finance team.
B.
Configure AWS Cost Anomaly Detection with an SNS subscription that invokes an AWS Lambda function to terminate all running EC2 instances in the Sandbox OU.
C.
Use Service Quotas to lower the On-Demand instance vCPU quota in each sandbox account at the start of every month.
D.
Create an AWS Budgets cost budget filtered to EC2 for the Sandbox OU accounts with a budget action on the forecasted threshold that attaches an SCP denying ec2:RunInstances to the Sandbox OU.
3
Domain 3
An e-commerce company runs its storefront on Application Load Balancers in two AWS Regions behind Amazon Route 53. Last week, customers could not complete checkout for 2 hours because of a broken payment page, yet all ALB health checks and CloudWatch infrastructure metrics remained healthy. The company wants to detect user-facing failures of the login and checkout flow within 5 minutes, from outside the application, with the LEAST custom code to operate. What should a solutions architect recommend?
A.
Create Amazon CloudWatch Synthetics canaries that script the login and checkout workflow, run them every 5 minutes, and create CloudWatch alarms on canary success percentage that notify the on-call team.
B.
Add Route 53 health checks against the /health endpoint of each ALB and configure failover routing between the two Regions.
C.
Enable ALB access logs to Amazon S3 and run a daily Amazon Athena query that counts HTTP 5xx responses on the checkout path.
D.
Enable EC2 detailed monitoring and create CloudWatch alarms on CPUUtilization and the ALB HealthyHostCount metric.
4
Domain 3
A fintech company deploys a payments API built on AWS Lambda through AWS CodePipeline and AWS SAM. Previous all-at-once releases caused short outages. The company now requires that each release send 10% of traffic to the new version for 10 minutes, then shift the remaining traffic, and automatically roll back if the function's error-rate CloudWatch alarm enters the ALARM state. Which solution meets these requirements with the LEAST operational overhead?
A.
Publish a new Lambda version on each release and run a custom script in CodeBuild that updates the alias routing weights and polls CloudWatch to decide whether to revert.
B.
Deploy each release to a new Amazon API Gateway stage and use Route 53 weighted records to move 10% of traffic to the new stage, adjusting weights manually.
C.
Configure a SAM DeploymentPreference that uses AWS CodeDeploy with the Canary10Percent10Minutes deployment configuration on the function alias and lists the error-rate alarm for automatic rollback.
D.
Configure AWS CodeDeploy with the LambdaAllAtOnce deployment configuration and add a PreTraffic hook function that runs integration tests before traffic shifts.
5
Domain 3
A company runs about 400 Amazon EC2 instances from the m5 family across 12 accounts in AWS Organizations. CloudWatch shows average CPU utilization of 12%, but the company has no visibility into memory usage and fears that downsizing could cause out-of-memory errors. Management wants data-driven rightsizing recommendations across all accounts that account for both CPU and memory, with the LEAST operational overhead. What should a solutions architect do?
A.
Use the AWS Trusted Advisor Low Utilization Amazon EC2 Instances check in each account and downsize every instance it lists.
B.
Opt in to AWS Compute Optimizer at the organization level from the management account, and deploy the CloudWatch agent through Systems Manager to publish memory utilization metrics that Compute Optimizer uses in its recommendations.
C.
Use AWS Cost Explorer Reserved Instance purchase recommendations to identify the instance sizes to keep.
D.
Configure the AWS Cost and Usage Report, catalog it with AWS Glue, and write Amazon Athena queries to identify underutilized instances.
6
Domain 3
Choose 2
A company's Amazon CloudWatch Logs bill has tripled. Its 200 microservices write to log groups that all use the default Never expire retention setting. Compliance requires that logs be kept for 1 year and no longer. Most services emit verbose debug logs that engineers query only occasionally with CloudWatch Logs Insights; those debug logs are never used with metric filters, subscription filters, or Live Tail. Which combination of actions will reduce cost the MOST while meeting the requirements? (Choose TWO)
A.
Create new log groups that use the Infrequent Access log class for the debug logs and point the services' debug output to them.
B.
Enable CloudWatch Logs data protection policies on all log groups to mask sensitive data.
C.
Set the retention policy of all log groups to 30 days.
D.
Set the retention policy of all log groups to 365 days (1 year).
E.
Change the log class of the existing Standard log groups to Infrequent Access in place.
7
Domain 1
A company has 60 accounts in AWS Organizations and creates new accounts every month. A new compliance mandate requires that management and data-plane API activity in all current and future accounts be delivered to an Amazon S3 bucket in a dedicated log archive account. Administrators in member accounts must not be able to stop, modify, or delete this logging. Which solution meets these requirements with the LEAST operational overhead?
A.
Use CloudFormation StackSets to create a CloudTrail trail in every account that writes to the central bucket, and update the StackSet each time a new account is created.
B.
Create an AWS Config aggregator in the log archive account that collects configuration history from all accounts in the organization.
C.
Create an organization trail in AWS CloudTrail from the management account (or a delegated administrator account) that delivers to the S3 bucket in the log archive account.
D.
Configure CloudWatch Logs subscription filters in each account that stream CloudTrail event history to an Amazon Kinesis data stream in the log archive account.
8
Domain 2
A media company is building a content management web application on Linux Amazon EC2 instances in an Auto Scaling group that spans three Availability Zones. All instances must concurrently read and write the same user-uploaded files through a POSIX-compliant file system. Storage must grow and shrink automatically and remain available if an Availability Zone fails. Which solution meets these requirements with the LEAST operational overhead?
A.
Create an Amazon EFS file system with the Regional (Standard) storage class and a mount target in each Availability Zone, and mount it on all instances.
B.
Attach a single Amazon EBS io2 volume with Multi-Attach enabled to every instance in the Auto Scaling group.
C.
Store the files in an Amazon S3 bucket and mount it on each instance with Mountpoint for Amazon S3.
D.
Deploy Amazon FSx for Windows File Server in a Multi-AZ configuration and mount the share on each instance.
9
Domain 4
A logistics company is migrating an on-premises SFTP server that 300 external partners use to upload shipment files. Partners must keep using SFTP with their existing SSH key pairs and the same hostname, and the company wants the files to land directly in Amazon S3 for downstream processing. The company wants to stop managing servers. Which solution meets these requirements with the LEAST operational overhead?
A.
Run OpenSSH on Amazon EC2 instances in an Auto Scaling group behind a Network Load Balancer and mount the S3 bucket with s3fs.
B.
Deploy an AWS DataSync agent on premises that copies files from the existing SFTP server to Amazon S3 every hour.
C.
Deploy an Amazon S3 File Gateway and enable SFTP access for partners on the gateway appliance.
D.
Create an AWS Transfer Family SFTP server backed by Amazon S3, import the existing host key and the partners' SSH public keys as service-managed users, and point the existing hostname to the server endpoint with a Route 53 CNAME record.
10
Domain 2
A gaming company runs UDP-based multiplayer game servers behind Network Load Balancers in us-east-1 and eu-west-1. Players report high latency and jitter over the public internet. Several enterprise customers must allowlist a fixed set of IP addresses in their firewalls. If one Region becomes unhealthy, traffic must move to the other Region within seconds, without depending on DNS caching. Which solution meets these requirements?
A.
Place an Amazon CloudFront distribution in front of both NLBs and use an origin group for failover between the Regions.
B.
Create an AWS Global Accelerator standard accelerator with a UDP listener and an endpoint group in each Region that targets the NLB, and give customers the accelerator's two static anycast IP addresses.
C.
Use Amazon Route 53 latency-based routing with health checks for the two NLBs and publish the NLBs' Elastic IP addresses to customers.
D.
Connect both Regions with AWS Transit Gateway inter-Region peering and advertise the game servers through a single Elastic IP address.
0/10 terjawab
Periksa