📝 Drill SAP-C02 — sore 2026-10-24
Set #52 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A company provisions short-lived test environments with AWS CloudFormation. Each stack includes an Amazon RDS for PostgreSQL DB instance, and developers delete the stacks at the end of every sprint. A new compliance rule requires that a final copy of every database be preserved after its stack is deleted. Which solution meets this requirement with the LEAST operational overhead?
A.
Enable termination protection on every stack so that developers cannot delete them.
B.
Attach a stack policy that denies the Update:Delete action on the DB instance resource.
C.
Set the DeletionPolicy attribute to Snapshot on the AWS::RDS::DBInstance resource in the template.
D.
Create an Amazon EventBridge rule for DeleteStack API calls that invokes an AWS Lambda function to take a manual DB snapshot.
2
Domain 2
A company runs a containerized API on Amazon ECS with AWS Fargate behind an Application Load Balancer. For each release, the company must run automated validation tests against the new version before it receives any production traffic, and must be able to roll back instantly if the tests fail. Which deployment approach meets these requirements with the LEAST operational overhead?
A.
Use AWS CodeDeploy blue/green deployments for ECS with a test listener on the ALB and a Lambda function in the AfterAllowTestTraffic lifecycle hook that runs the tests and triggers rollback on failure.
B.
Use the ECS rolling update deployment type with minimumHealthyPercent set to 100 and maximumPercent set to 200.
C.
Create a second ECS service for each release and shift 10% of traffic to it by using Amazon Route 53 weighted records.
D.
Update the task definition in place and enable the ECS deployment circuit breaker with rollback.
3
Domain 2
An internal reporting application runs on Amazon EC2 instances with Amazon EBS volumes and an Amazon RDS for MySQL database in a single AWS Region. The business requires recovery from a full Region outage with an RTO of 24 hours and an RPO of 24 hours. Which disaster recovery solution is the MOST cost-effective?
A.
Implement a pilot light: create an RDS cross-Region read replica and keep EC2 AMIs ready in the DR Region.
B.
Implement a warm standby with a scaled-down Auto Scaling group and a running RDS instance in the DR Region.
C.
Use AWS Elastic Disaster Recovery to continuously replicate the EC2 instances to the DR Region.
D.
Create an AWS Backup plan with daily backups of the EC2 instances and RDS database and a copy rule to a backup vault in the DR Region; restore with CloudFormation when needed.
4
Domain 2
Choose 2
A company runs an active-passive web application in two AWS Regions. The DNS name is a CNAME record with a TTL of 86,400 seconds that the operations team updates manually during an outage. In the last DR test, users kept reaching the failed Region for hours. Which combination of steps will MOST reduce the time to fail over? (Choose TWO.)
A.
Enable DNSSEC signing for the public hosted zone.
B.
Configure a Route 53 failover routing policy with primary and secondary records, and associate a Route 53 health check with the primary record.
C.
Change the record to a geolocation routing policy with a default location record.
D.
Lower the TTL of the records to 60 seconds.
E.
Increase the negative caching TTL in the hosted zone's SOA record.
5
Domain 2
A company uses AWS Organizations. The security team must deploy a baseline IAM role and a set of AWS Config rules to every existing and future account in the Workloads OU across three AWS Regions. New accounts are created every week. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a self-managed CloudFormation StackSet and manually create the execution role in each account before adding it to the StackSet.
B.
Create a CloudFormation StackSet with service-managed permissions that targets the Workloads OU and has automatic deployment enabled.
C.
Build an AWS CodePipeline pipeline that loops through all accounts and Regions and runs create-stack in each one.
D.
Create an EventBridge rule for the CreateAccount event that invokes a Lambda function to assume a role in the new account and deploy the stack.
6
Domain 2
An application on Amazon EC2 connects to an Amazon RDS for MySQL database by using a password that is hardcoded in a configuration file. A security audit requires that the database credentials be rotated automatically every 30 days without application downtime. Which solution meets these requirements with the LEAST operational overhead?
A.
Store the password as an SSM Parameter Store SecureString and run a cron job on an EC2 instance that changes the password every 30 days.
B.
Store the password in an Amazon S3 object encrypted with SSE-KMS and update the object every 30 days.
C.
Store the credentials in AWS Secrets Manager with managed rotation every 30 days, and have the application retrieve the secret at runtime by using the SDK with client-side caching.
D.
Pass the password through EC2 user data and replace the instances with a new password every 30 days.
7
Domain 1
A company has 120 AWS accounts in AWS Organizations and creates new accounts regularly. The security team must enable Amazon GuardDuty in every existing and new account and review all findings from a dedicated security account. Which solution meets these requirements with the LEAST operational overhead?
A.
From the management account, designate the security account as the GuardDuty delegated administrator, and enable auto-enable for all organization member accounts.
B.
Enable GuardDuty in each account and send member invitations from the security account to every account.
C.
Use CloudFormation StackSets to create a GuardDuty detector in each account and forward findings through EventBridge to a central event bus.
D.
Enable GuardDuty only in the management account, because it automatically monitors all member accounts.
8
Domain 3
A serverless application uses AWS Lambda functions that connect to an Amazon RDS for PostgreSQL DB instance. During traffic spikes, Lambda concurrency reaches 2,000 and the database returns "too many connections" errors, even though CPU utilization stays below 40%. The company wants to fix the problem with minimal code changes and without reducing throughput. What should a solutions architect do?
A.
Scale the DB instance to a larger instance class to raise the max_connections limit.
B.
Add RDS read replicas and distribute queries across them.
C.
Set reserved concurrency of 50 on the Lambda functions.
D.
Create an Amazon RDS Proxy for the DB instance and point the Lambda functions to the proxy endpoint.
9
Domain 4
A company is migrating a 3 TB on-premises Oracle database that contains many stored procedures to Amazon Aurora PostgreSQL. The business allows less than 1 hour of downtime during cutover. The company has a 1 Gbps AWS Direct Connect connection. Which approach meets these requirements?
A.
Export the database with Oracle Data Pump, ship it with AWS Snowball Edge, and import it into Aurora PostgreSQL.
B.
Use AWS Schema Conversion Tool to convert the schema and stored procedures, then use AWS DMS with full load plus change data capture (CDC), and cut over when replication lag is near zero.
C.
Use AWS DMS full load only during a weekend maintenance window after stopping the application.
D.
Rehost the database server with AWS Application Migration Service and then upgrade the engine to PostgreSQL.
10
Domain 3
A company has a steady baseline of compute spend across Amazon EC2, AWS Fargate, and AWS Lambda. Over the next 3 years, the company expects to change EC2 instance families frequently and to move some workloads to another AWS Region. The company wants to reduce compute costs while keeping this flexibility. Which purchasing option should a solutions architect recommend?
A.
Purchase Compute Savings Plans that cover the baseline hourly spend.
B.
Purchase EC2 Instance Savings Plans for the current instance families.
C.
Purchase Standard Reserved Instances for the current instance types in the current Region.
D.
Purchase Convertible Reserved Instances for EC2 and use Spot capacity for the Fargate tasks.
0/10 terjawab
Periksa