📝 Drill SAP-C02 — pagi 2026-10-06
Set #15 · 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. When a test cycle ends, the team deletes the stack to stop costs, but auditors require that the final state of each database be recoverable for 90 days. The team wants the LEAST operational overhead and does not want to keep the DB instances running. What should the solutions architect do?
A.
Set DeletionPolicy: Retain on the DB instance resource so the database remains after the stack is deleted.
B.
Add a custom resource backed by AWS Lambda that exports the database to Amazon S3 before stack deletion.
C.
Set DeletionPolicy: Snapshot on the DB instance resource and manage snapshot retention with a scheduled cleanup after 90 days.
D.
Enable termination protection on the stack and stop the DB instance manually at the end of each cycle.
2
Domain 2
A fintech company deploys a payment-validation AWS Lambda function several times a week. A recent release caused errors for all users before anyone noticed. The company wants new versions to receive a small portion of traffic first and to roll back automatically if the error rate rises, with the LEAST custom code. Which solution meets these requirements?
A.
Publish versions behind an alias and use AWS CodeDeploy with a Canary10Percent5Minutes deployment configuration and CloudWatch alarms configured for automatic rollback.
B.
Use Amazon API Gateway canary release settings on the stage and manually promote the canary after reviewing metrics.
C.
Create a Step Functions workflow that updates the alias routing weights every 5 minutes and checks CloudWatch metrics with a Lambda function.
D.
Deploy the new version as a separate function and use Amazon Route 53 weighted records to shift 10% of traffic to it.
3
Domain 2
A healthcare company stores data in Amazon S3 and Amazon EBS using SSE-KMS. A new regulation requires that encryption keys be generated and stored in single-tenant HSMs that the company exclusively controls. The company wants to keep using the native AWS service integrations with the LEAST application change. What should the solutions architect recommend?
A.
Import company-generated key material into AWS KMS customer managed keys and set an expiration date.
B.
Create an AWS CloudHSM cluster and configure an AWS KMS custom key store backed by that cluster; create KMS keys in the custom key store for S3 and EBS.
C.
Deploy an AWS CloudHSM cluster and rewrite the applications to perform client-side encryption using the CloudHSM client SDK.
D.
Use AWS KMS multi-Region keys with automatic key rotation enabled.
4
Domain 2
An analytics application runs on Amazon EC2 instances in private subnets and transfers several terabytes per day to and from Amazon S3 and Amazon DynamoDB in the same Region. All traffic currently flows through NAT gateways, and NAT data processing charges are high. Security requires that the traffic not traverse the internet. Which solution is MOST cost-effective?
A.
Create interface VPC endpoints for Amazon S3 and Amazon DynamoDB in each Availability Zone and enable private DNS.
B.
Replace the NAT gateways with NAT instances on Graviton-based EC2 instances.
C.
Move the EC2 instances to public subnets and restrict access with security groups.
D.
Create gateway VPC endpoints for Amazon S3 and Amazon DynamoDB and associate them with the private subnet route tables.
5
Domain 2
A company uses AWS Organizations and creates new accounts in a Workloads OU every week. Every account in that OU must automatically receive a standard set of IAM roles and an Amazon EventBridge rule as soon as it joins the OU, and the resources must be removed if the account leaves the OU. Which approach requires the LEAST operational overhead?
A.
Create a CloudFormation StackSet with service-managed permissions targeting the Workloads OU, and enable automatic deployment with resource removal on account removal.
B.
Create a CloudFormation StackSet with self-managed permissions and add each new account to the StackSet manually.
C.
Use an EventBridge rule on CreateAccount events to invoke a Lambda function that deploys a CloudFormation stack in the new account.
D.
Share the CloudFormation template through AWS Service Catalog and ask each account owner to launch the product.
6
Domain 2
Choose 2
A retail company runs a public web application behind an Application Load Balancer. Logs show frequent SQL injection attempts and bursts of requests from individual IP addresses that overwhelm the login page. The company wants a managed solution with minimal maintenance that blocks these requests before they reach the application. Which combination of actions should the solutions architect take? (Choose TWO)
A.
Enable Amazon GuardDuty and configure it to block malicious IP addresses at the ALB.
B.
Associate an AWS WAF web ACL with the ALB and add the AWS managed SQL database rule group.
C.
Add network ACL deny rules for every IP address that appears in the attack logs.
D.
Add a rate-based rule in the AWS WAF web ACL scoped to the login URI path.
E.
Deploy AWS Network Firewall in front of the ALB with stateful Suricata rules for SQL injection.
7
Domain 1
A company has 120 AWS accounts in AWS Organizations. The security team needs API activity from every current and future account delivered to a single Amazon S3 bucket in a dedicated log archive account. Member account administrators must not be able to stop or modify this logging. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy a CloudFormation StackSet that creates a CloudTrail trail in each account delivering to the central bucket, and use an SCP to deny cloudtrail:StopLogging.
B.
Enable AWS Config aggregators in the log archive account to collect configuration history from all accounts.
C.
Create an organization trail in the management account (or a delegated administrator account) that delivers to the S3 bucket in the log archive account.
D.
Configure Amazon EventBridge rules in every account to forward all API events to an event bus in the log archive account.
8
Domain 3
A gaming company stores player profiles in Amazon DynamoDB. During tournaments, the same profiles are read thousands of times per second, causing throttling on hot partitions and single-digit millisecond read latency that is too slow for the leaderboard service. The company wants microsecond read latency with minimal application changes. What should the solutions architect do?
A.
Switch the table to on-demand capacity mode and enable DynamoDB Streams.
B.
Add an Amazon ElastiCache for Redis cluster and implement cache-aside logic in the application.
C.
Create a global secondary index on the player ID attribute to spread reads across partitions.
D.
Deploy a DynamoDB Accelerator (DAX) cluster and point the application to the DAX client endpoint.
9
Domain 4
A manufacturing company is considering moving 800 on-premises servers to AWS. Before approving the project, the CFO wants a data-driven business case that projects AWS costs based on actual server utilization and existing licensing, within a few weeks and without installing agents on every server. Which solution should the solutions architect use?
A.
AWS Application Discovery Service with the Discovery Agent installed on each server, then export data to Amazon Athena.
B.
Migration Evaluator with its agentless collector to gather utilization data and produce a total cost of ownership assessment.
C.
AWS Pricing Calculator with manually entered server specifications from the CMDB.
D.
AWS Application Migration Service to replicate a sample of servers and measure costs on AWS.
10
Domain 3
A media company has steady baseline compute usage spread across Amazon EC2 instances of several families, AWS Fargate tasks, and AWS Lambda functions. The engineering team frequently changes instance families and Regions as workloads evolve. Leadership wants to reduce compute costs with a 1-year commitment while keeping this flexibility. What should the solutions architect recommend?
A.
Purchase a Compute Savings Plan sized to the steady baseline hourly spend.
B.
Purchase EC2 Instance Savings Plans for the most-used instance family in each Region.
C.
Purchase Standard Reserved Instances for the current EC2 instances and use Spot for Fargate.
D.
Purchase Convertible Reserved Instances and exchange them when instance families change.
0/10 terjawab
Periksa