📝 Drill SAP-C02 — sore 2026-10-12
Set #28 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A company runs production and development EC2 instances in the same AWS accounts. Security policy requires that every instance tagged Environment=Production be launched only from a list of approved, hardened AMIs, and any noncompliant production instance must be stopped automatically. Developers must remain free to launch any AMI for instances tagged Environment=Development. Which solution meets these requirements with the LEAST operational overhead?
A.
Attach an SCP to the organization root that denies ec2:RunInstances unless the ec2:ImageId condition key matches one of the approved AMI IDs.
B.
Create an Amazon EventBridge rule for RunInstances API calls that invokes a custom Lambda function, which compares the AMI ID against a list stored in DynamoDB and stops noncompliant instances.
C.
Deploy the AWS Config managed rule approved-amis-by-id with the rule scope limited to resources tagged Environment=Production, and configure automatic remediation with the AWS-StopEC2Instance Systems Manager Automation runbook.
D.
Enable Amazon Inspector on all instances and create an AWS Security Hub custom action that stops instances whose findings reference an unapproved AMI.
2
Domain 2
A manufacturer runs a 40-server ERP system (Windows and Linux) on VMware in its own data center. The company needs a disaster recovery site in AWS with an RPO of seconds and an RTO under 30 minutes. Leadership wants to minimize cost while the DR site is idle, so full-size replica servers must not run continuously. DR drills must not disrupt production. Which solution meets these requirements?
A.
Use AWS Elastic Disaster Recovery to continuously replicate the servers' block storage into a low-cost staging area subnet, and launch recovery instances only during drills or a real failover.
B.
Use AWS Backup for VMware to take hourly backups of the virtual machines to AWS and restore them as EC2 instances when a disaster occurs.
C.
Run a warm standby fleet of right-sized EC2 instances in AWS and keep data synchronized with scheduled rsync jobs and AWS DMS tasks.
D.
Deploy AWS Storage Gateway Volume Gateway in cached mode and create EBS snapshots from the volumes every 15 minutes for recovery in AWS.
3
Domain 2
A company's containerized application on Amazon ECS on Fargate connects to an Amazon RDS for MySQL database. The database password is currently hardcoded in the task definition environment variables. A new security standard requires the credential to be rotated every 30 days without application downtime, and all access to the credential must be auditable. Which solution meets these requirements with the LEAST operational overhead?
A.
Store the password as an AWS Systems Manager Parameter Store SecureString parameter and write a Lambda function, invoked by an EventBridge schedule, that changes the database password and updates the parameter.
B.
Store the credential in AWS Secrets Manager, enable managed rotation every 30 days using the alternating-users strategy, reference the secret ARN in the task definition secrets section, and audit GetSecretValue calls in AWS CloudTrail.
C.
Encrypt the password with an AWS KMS key, store the ciphertext in the task definition environment variables, and use a scheduled AWS CodePipeline run to change the password and redeploy the service every 30 days.
D.
Store the password in an S3 object encrypted with SSE-KMS, have the application read it at startup, and run a monthly Lambda function that updates the object and the database password.
4
Domain 2
A company has a steady compute spend of about $40 per hour across Amazon EC2 (m5 and c6g instance families), AWS Fargate, and AWS Lambda in us-east-1 and eu-west-1. Over the next year, the company plans to move most EC2 workloads to Fargate and may switch instance families. The company is willing to make a 3-year commitment and wants the largest discount that still accommodates these changes. Which purchasing option should a solutions architect recommend?
A.
Purchase EC2 Instance Savings Plans for the m5 and c6g families in each Region.
B.
Purchase Standard Reserved Instances for the current EC2 instances and use On-Demand pricing for Fargate and Lambda.
C.
Purchase Convertible Reserved Instances for EC2 and move the Fargate tasks to Fargate Spot.
D.
Purchase a Compute Savings Plan sized to the steady hourly compute spend.
5
Domain 2
A regulated fintech company stores customer documents in Amazon S3. Compliance requires that the encryption key material be generated in the company's on-premises HSM, that AWS never generate the key material, and that the company be able to make the key immediately unusable in AWS without waiting for a deletion waiting period. The company wants to keep native S3 SSE-KMS integration with minimal operational overhead. Which solution meets these requirements?
A.
Create an AWS KMS key with no key material (origin EXTERNAL), import key material generated in the on-premises HSM, and use the key for SSE-KMS. Delete the imported key material when the key must be made unusable.
B.
Deploy an AWS CloudHSM cluster, generate the keys inside the cluster, and configure the applications to encrypt objects client-side before upload.
C.
Use SSE-C, with the application retrieving keys from the on-premises HSM and supplying them with every S3 PUT and GET request.
D.
Create an AWS KMS customer managed key with automatic rotation enabled, and schedule key deletion with the minimum 7-day waiting period when the key must be revoked.
6
Domain 2
Choose 2
An e-commerce company runs Amazon RDS for PostgreSQL in a Multi-AZ deployment in us-east-1. A new requirement states the platform must survive a full Regional outage with an RPO of 5 minutes and an RTO of 30 minutes, as cost-effectively as possible. The stateless application tier can be deployed in us-west-2 with infrastructure as code in about 15 minutes. Which combination of steps meets these requirements? (Choose TWO)
A.
Configure AWS Backup to take hourly RDS snapshots and copy them to us-west-2.
B.
Create a cross-Region read replica of the RDS DB instance in us-west-2 and promote it to a standalone instance during a disaster.
C.
Migrate the database to Amazon DynamoDB global tables so both Regions can accept writes.
D.
Deploy a full-size active-active application stack in both Regions behind an Application Load Balancer that spans the two Regions.
E.
Configure Amazon Route 53 failover routing with health checks on the primary endpoint and a low TTL to redirect traffic to us-west-2.
7
Domain 1
A company manages 200 accounts in AWS Organizations. Data residency rules require that workloads run only in eu-central-1 and eu-west-1. Global services such as IAM, Amazon CloudFront, Amazon Route 53, and AWS Support must continue to work, and a central security role must be exempt from the restriction. The control must be preventive. Which solution meets these requirements with the LEAST operational overhead?
A.
Create an IAM permissions boundary in every account that allows actions only in eu-central-1 and eu-west-1, and require all roles to use it.
B.
Attach an SCP to the organization root that denies all actions ("*") when aws:RequestedRegion is not eu-central-1 or eu-west-1.
C.
Attach an SCP to the organization root that denies all actions except a NotAction list of global services when aws:RequestedRegion is not eu-central-1 or eu-west-1, with an aws:PrincipalARN condition that excludes the security role.
D.
Deploy an AWS Config rule in every Region that detects resources outside the approved Regions and triggers a Lambda function to delete them.
8
Domain 3
An online retailer has noticed that its checkout flow sometimes breaks after deployments even though Application Load Balancer health checks and CloudWatch infrastructure metrics remain healthy. The company wants to proactively detect failures in the multi-step journey (login, add to cart, checkout) every 5 minutes from several Regions, capture screenshots of failures, and alert the on-call team, with the LEAST operational overhead. Which solution should a solutions architect recommend?
A.
Enable Amazon CloudWatch RUM on the website and alarm when the JavaScript error rate increases.
B.
Create Amazon Route 53 health checks with string matching against the checkout page URL in multiple Regions.
C.
Run Selenium test scripts on a scheduled basis from EC2 instances in several Regions and publish custom metrics to CloudWatch.
D.
Create Amazon CloudWatch Synthetics canaries with scripted multi-step workflows in several Regions on a 5-minute schedule, and configure CloudWatch alarms on canary failures.
9
Domain 4
A logistics company is migrating to AWS. About 300 external partners upload files daily to an on-premises SFTP server using SSH key authentication. Many partners' firewalls allow outbound connections only to fixed IP addresses. The company wants files to land directly in Amazon S3, partners must not change their clients or keys, and the company wants to retire the on-premises server with the LEAST operational overhead. Which solution meets these requirements?
A.
Launch EC2 instances running OpenSSH with an S3 file system mount behind a Network Load Balancer, and import the partners' public keys.
B.
Create an AWS Transfer Family SFTP server with a VPC-hosted, internet-facing endpoint that uses Elastic IP addresses, back it with Amazon S3, import partners' SSH public keys as service-managed users, and update the DNS record.
C.
Create an AWS Transfer Family SFTP server with a publicly accessible endpoint, back it with Amazon S3, and give partners the new endpoint IP addresses.
D.
Keep the on-premises SFTP server and use AWS DataSync to copy uploaded files to Amazon S3 on a schedule.
10
Domain 3
A gaming company has used Amazon DynamoDB on-demand capacity mode for a table for one year. Traffic is now steady and predictable at roughly 2,000 WCU and 8,000 RCU, with a gentle daily curve of about plus or minus 20%. The company wants to reduce DynamoDB costs significantly without increasing the risk of throttling, using the least effort. Which solution meets these requirements?
A.
Switch the table to provisioned capacity mode with auto scaling at a 70% target utilization, and purchase DynamoDB reserved capacity for the steady baseline.
B.
Keep on-demand mode and add a DynamoDB Accelerator (DAX) cluster in front of the table.
C.
Change the table class to DynamoDB Standard-Infrequent Access.
D.
Switch the table to provisioned capacity mode with a fixed capacity set at the daily peak and no auto scaling.
0/10 terjawab
Periksa