📝 Drill SAP-C02 — pagi 2026-11-12
Set #88 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A media company runs a steady baseline of compute 24/7. Over the next 3 years, the engineering team plans to move much of its workload from EC2 instances in us-east-1 to Amazon ECS on AWS Fargate and AWS Lambda, and may also change instance families and Regions. Finance wants the largest discount possible on the committed baseline while keeping that flexibility. Which purchasing option should a solutions architect recommend?
A.
Purchase Standard Reserved Instances for the current EC2 instance types with a 3-year All Upfront term.
B.
Purchase a 3-year Compute Savings Plan sized to the steady hourly baseline spend.
C.
Purchase a 3-year EC2 Instance Savings Plan for the current instance family in us-east-1.
D.
Run the baseline on Spot Instances and Fargate Spot with On-Demand fallback.
2
Domain 2
A team deploys short-lived test environments with AWS CloudFormation. Each stack includes an Amazon RDS for PostgreSQL DB instance. When a stack is deleted, compliance requires that a final copy of the database be preserved, but the team does not want to keep paying for a running DB instance. What should the solutions architect do with the LEAST operational overhead?
A.
Set DeletionPolicy: Retain on the DB instance resource and stop the instance after stack deletion.
B.
Add a custom resource backed by Lambda that calls CreateDBSnapshot before the stack deletes the DB instance.
C.
Set DeletionPolicy: Snapshot on the AWS::RDS::DBInstance resource.
D.
Enable automated backups with a 35-day retention period and rely on them after the stack is deleted.
3
Domain 2
A company runs a containerized API on Amazon ECS behind an Application Load Balancer. Releases currently update tasks in place, and a bad release last month caused a 40-minute outage. The company wants new versions to receive 10% of traffic for 5 minutes before full cutover, and wants traffic to return to the previous version automatically if the 5XX error rate rises. Which solution meets these requirements?
A.
Use an ECS rolling update with minimumHealthyPercent set to 100 and the deployment circuit breaker enabled.
B.
Create a second ALB for the new version and use Route 53 weighted records, adjusting weights manually after checking dashboards.
C.
Use CloudFormation change sets to review each task definition update before executing it in production.
D.
Use AWS CodeDeploy blue/green deployments for ECS with the CodeDeployDefault.ECSCanary10Percent5Minutes configuration and CloudWatch alarms configured for automatic rollback.
4
Domain 2
A cost review shows that an AWS account holds thousands of EBS snapshots created manually by different teams over 4 years, plus many unattached volumes. Policy requires daily snapshots of production volumes kept for 14 days, and monthly snapshots kept for 7 years for audit, which are rarely restored. Which approach is MOST cost-effective going forward?
A.
Tag production volumes and create Amazon Data Lifecycle Manager policies for the daily (14-day) and monthly schedules, archiving the monthly snapshots to the EBS Snapshots Archive tier; delete unattached volumes after review.
B.
Write a Lambda function on an EventBridge schedule that copies all snapshots to Amazon S3 Glacier Deep Archive using the S3 API.
C.
Use AWS Backup with a single plan that keeps every daily snapshot for 7 years in the warm tier.
D.
Convert all volumes to gp3 and keep the existing snapshot process, since gp3 snapshots are billed at a lower rate.
5
Domain 2
A startup is building a new mobile app that needs user sign-up, email verification, MFA, social login with Google and Apple, and token-based authorization for an Amazon API Gateway REST API. The two-person team proposes building an authentication service on EC2 with a self-managed user database. Leadership wants the lowest total cost of ownership and the LEAST operational overhead. What should the solutions architect recommend?
A.
Run the custom authentication service on AWS Fargate with Amazon RDS to remove server management.
B.
Use Amazon Cognito user pools with Google and Apple as federated identity providers and a Cognito authorizer on API Gateway.
C.
Use IAM users for each app user and sign API requests with SigV4 from the mobile app.
D.
Use AWS IAM Identity Center as the identity store for app users and integrate it with API Gateway.
6
Domain 2
A financial services company must encrypt data in Amazon S3 and Amazon EBS. Regulators require that key material be generated and stored in single-tenant HSMs that the company controls, validated at FIPS 140-2 Level 3, and that every key use be auditable. The company still wants native integration with AWS services and minimal application changes. Which solution meets these requirements?
A.
Use AWS KMS customer managed keys with automatic key rotation enabled.
B.
Import key material into AWS KMS from an on-premises HSM and set an expiration date.
C.
Create an AWS KMS custom key store backed by an AWS CloudHSM cluster and use KMS keys from that store for S3 and EBS encryption.
D.
Use AWS CloudHSM directly and modify applications to perform client-side encryption with the CloudHSM SDK before writing to S3 and EBS.
7
Domain 1
A company with 20 AWS accounts is creating new accounts every week for product teams. Each new account must be placed in the correct OU, have CloudTrail and AWS Config enabled with logs sent to a central log archive account, and be blocked from disabling those controls. The company wants a self-service process with the LEAST operational overhead. What should the solutions architect do?
A.
Write a script that calls the Organizations CreateAccount API and then deploys CloudFormation templates into each new account.
B.
Ask product teams to create standalone accounts and invite them into the organization after a manual security review.
C.
Use AWS Service Catalog with a custom product that creates IAM users in the management account for each team.
D.
Set up AWS Control Tower, enroll the existing OUs, and let teams request accounts through Account Factory with mandatory and preventive controls applied.
8
Domain 3
An order-processing application uses AWS Lambda functions that connect to an Amazon RDS for MySQL DB instance. During flash sales, Lambda concurrency spikes to thousands, and the database returns 'Too many connections' errors while CPU remains under 40%. The company wants to fix this with minimal code changes and without over-provisioning the database. What should the solutions architect do?
A.
Place Amazon RDS Proxy in front of the DB instance and point the Lambda functions to the proxy endpoint.
B.
Scale the DB instance to a larger instance class to raise the max_connections limit.
C.
Add two read replicas and distribute all Lambda connections across them.
D.
Set reserved concurrency on the Lambda functions to 1 to serialize database access.
9
Domain 4
A company plans to migrate 600 VMs from a VMware vCenter environment to AWS. The migration team has no inventory of server dependencies and needs utilization data to right-size targets and group servers into migration waves. The security team forbids installing software on the guest operating systems during the assessment. Which approach should the solutions architect use?
A.
Install the AWS Application Discovery Agent on every VM and view the network connections in AWS Migration Hub.
B.
Use AWS Application Migration Service to replicate all VMs and analyze dependencies after cutover.
C.
Export a CSV from vCenter and import it into AWS Migration Hub as the only data source.
D.
Deploy the Application Discovery Service Agentless Collector in vCenter and use AWS Migration Hub to analyze utilization and group servers into applications.
10
Domain 3
Choose 2
A company processes image uploads with an Amazon SQS standard queue and an Auto Scaling group of EC2 workers. Processing takes up to 4 minutes, and the queue's visibility timeout is 30 seconds. The team sees the same images processed multiple times, and a few malformed messages are retried forever, blocking worker capacity. Which actions will resolve these issues? (Choose TWO)
A.
Increase the queue's visibility timeout to longer than the maximum processing time.
B.
Convert the queue to an SQS FIFO queue to guarantee that each message is processed only once regardless of timeout.
C.
Configure a dead-letter queue with a redrive policy and an appropriate maxReceiveCount.
D.
Enable long polling by setting ReceiveMessageWaitTimeSeconds to 20.
E.
Reduce the message retention period to 1 minute so failed messages expire quickly.
0/10 terjawab
Periksa