📝 Drill SAP-C02 — pagi 2026-11-17
Set #98 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A company uses AWS Organizations with more than 150 accounts. The security team must deploy a baseline (IAM roles, an AWS Config recorder, and an SNS topic) to every account in two OUs across three Regions. New accounts are created in these OUs every week and must receive the baseline automatically, and the baseline must be removed if an account leaves the OU. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a CodePipeline pipeline that assumes a cross-account role in each account and runs a CloudFormation CreateStack action per account and Region, adding new accounts to the pipeline configuration as they are created.
B.
Create a CloudFormation StackSet with service-managed permissions from the management (or delegated administrator) account, target the two OUs and three Regions, and enable automatic deployment with resource removal on account removal.
C.
Create a CloudFormation StackSet with self-managed permissions, create the administration and execution IAM roles in every account, and add new account IDs to the StackSet each week.
D.
Create an EventBridge rule for the CreateAccount event that invokes a Lambda function to call CreateStack in each of the three Regions of the new account.
2
Domain 2
A company runs a customer-facing API on Amazon ECS with AWS Fargate behind an Application Load Balancer. For each release, the QA team must run automated tests against the new task set using a separate port before any production traffic reaches it. If a CloudWatch alarm for 5xx errors fires during or after the traffic shift, the deployment must roll back automatically within minutes. Which deployment approach meets these requirements?
A.
Use the ECS rolling update deployment type with minimumHealthyPercent set to 100 and maximumPercent set to 200, and enable the ECS deployment circuit breaker with rollback.
B.
Create two separate ECS services, each behind its own ALB, and use Route 53 weighted records that the operations team adjusts manually after QA approves the release.
C.
Update the task definition through a CloudFormation stack update and configure CloudFormation rollback triggers that monitor the 5xx CloudWatch alarm.
D.
Use AWS CodeDeploy with the ECS blue/green deployment type, two ALB target groups with a production listener and a test listener, a Lambda validation hook on AfterAllowTestTraffic, and automatic rollback on the CloudWatch alarm.
3
Domain 2
A startup is building a mobile app backed by an Amazon API Gateway REST API. Users must be able to sign up with email or sign in with Google and Apple accounts, and the API must reject requests from users who are not signed in. The team wants the LEAST development and maintenance effort. Which solution should a solutions architect recommend?
A.
Create an Amazon Cognito user pool with Google and Apple as federated identity providers, and configure a Cognito user pool authorizer on the API Gateway methods.
B.
Build a Lambda authorizer that validates usernames and hashed passwords stored in a DynamoDB table, and write custom code to handle the Google and Apple OAuth flows.
C.
Create an Amazon Cognito identity pool that allows unauthenticated identities and set the API methods to use IAM authorization.
D.
Issue an API Gateway API key to each user at signup through a usage plan, and require the x-api-key header on every method.
4
Domain 2
A healthcare company stores 900 TB of medical images in Amazon S3 Standard. After the first 30 days, each image is accessed about once per quarter, but when a radiologist opens an image it must be returned in milliseconds. Images must be retained for 7 years and must remain available if an entire Availability Zone is lost. Which solution is the MOST cost-effective?
A.
Add an S3 Lifecycle rule that transitions objects to S3 Standard-IA after 30 days.
B.
Add an S3 Lifecycle rule that transitions objects to S3 Glacier Flexible Retrieval after 30 days and use Expedited retrievals when radiologists request images.
C.
Add an S3 Lifecycle rule that transitions objects to S3 Glacier Instant Retrieval after 30 days.
D.
Add an S3 Lifecycle rule that transitions objects to S3 One Zone-IA after 30 days.
5
Domain 2
A company exposes dozens of internal services through internal Application Load Balancers using private DNS names under corp.internal, which is not a publicly registered domain. Security policy requires HTTPS with certificates issued by a company-controlled CA, and certificates must renew automatically without manual work. Which solution meets these requirements with the LEAST operational overhead?
A.
Request public certificates from AWS Certificate Manager for *.corp.internal using DNS validation and attach them to the ALB listeners.
B.
Create a CA in AWS Private CA, request private certificates through ACM for the corp.internal names, attach them to the ALB listeners, and distribute the CA root certificate to internal clients.
C.
Generate self-signed certificates with OpenSSL, import them into ACM, attach them to the ALBs, and create an EventBridge rule that alerts the team before expiry.
D.
Deploy an AWS CloudHSM cluster, run open-source CA software on EC2 that uses the HSM for key storage, and install the issued certificates on the ALBs with a scheduled script.
6
Domain 2
Choose 2
A company's EBS snapshot bill has grown every month. A custom cron script takes daily snapshots of 400 volumes and never deletes any of them. Operations only needs daily snapshots for the last 14 days, while compliance requires one monthly snapshot per volume to be kept for 7 years; those monthly snapshots are restored less than once a year. Which actions will reduce cost while meeting these requirements? (Choose TWO)
A.
Replace the cron script with Amazon Data Lifecycle Manager policies that create daily snapshots with a 14-day retention rule so older daily snapshots are deleted automatically.
B.
Configure an S3 Lifecycle rule that transitions the EBS snapshots to S3 Glacier Deep Archive after 30 days.
C.
Enable EBS Fast Snapshot Restore on the monthly compliance snapshots.
D.
Copy all snapshots to a second Region with cross-Region snapshot copy and delete the source snapshots.
E.
Move the monthly compliance snapshots to the EBS Snapshots Archive tier, for example with a Data Lifecycle Manager archive rule.
7
Domain 1
A company has 30 VPCs in multiple AWS accounts connected to its data center through a Transit Gateway and AWS Direct Connect. On-premises servers must resolve records in Route 53 private hosted zones, and workloads in all VPCs must resolve names in the on-premises domain corp.example.com. The company wants a centrally managed solution with the LEAST operational overhead. What should a solutions architect do?
A.
Deploy a pair of EC2 instances running BIND in every VPC to forward queries between Route 53 and the on-premises DNS servers.
B.
Convert the private hosted zones to public hosted zones so on-premises servers can resolve them, and add on-premises records to the same zones.
C.
Create a DHCP options set in each VPC that points the domain name servers to the on-premises DNS servers, and add conditional forwarders on premises for the AWS zones.
D.
Create Route 53 Resolver inbound and outbound endpoints in a shared services VPC, create a forwarding rule for corp.example.com, share it through AWS RAM and associate it with all VPCs, and configure on-premises conditional forwarders that target the inbound endpoint IPs.
8
Domain 3
An analytics application runs on EC2 instances in an Auto Scaling group. Each new instance needs about 12 minutes to bootstrap because it loads a large reference dataset into local storage. Traffic spikes are sudden and unpredictable, and users see high latency while new instances start. The company wants faster scale-out without paying for permanently running extra capacity. Which solution meets these requirements MOST cost-effectively?
A.
Add a warm pool to the Auto Scaling group with instances kept in the Stopped state after they finish initialization, so scale-out events start pre-initialized instances.
B.
Raise the Auto Scaling group's minimum capacity to the observed peak instance count.
C.
Create scheduled scaling actions that add capacity at the times when spikes occurred last month.
D.
Enable predictive scaling on the Auto Scaling group based on the last 14 days of load.
9
Domain 4
A company plans to rehost 200 VMware virtual machines running a mix of Windows and Linux applications to Amazon EC2. The applications cannot be modified, each cutover window is limited to 30 minutes of downtime, and the team wants to run non-disruptive test launches before cutover with minimal manual effort. Which solution meets these requirements?
A.
Export each VM as an OVA image, upload it to Amazon S3, and use VM Import/Export to create AMIs during the cutover window.
B.
Use AWS Database Migration Service with ongoing replication to copy each server to EC2, then switch DNS to the new instances.
C.
Install the AWS Replication Agent on the source servers and use AWS Application Migration Service for continuous block-level replication, test launches, and cutover launches.
D.
Use AWS Server Migration Service to schedule incremental replication jobs of the VMs and launch EC2 instances from the generated AMIs.
10
Domain 1
A company wants application teams in 40 accounts to deploy workloads into a network that the central networking team fully controls, including subnets, route tables, network ACLs, and egress. Application teams must manage only their own EC2, RDS, and Lambda resources. The company wants to minimize the number of VPCs to manage and avoid per-VPC Transit Gateway attachment charges. Which solution meets these requirements?
A.
Create a VPC in each application account and peer every VPC with a central egress VPC owned by the networking account.
B.
Create a VPC in each application account and attach each VPC to a central Transit Gateway, with route tables managed by the networking team.
C.
Have the networking team publish VPC endpoint services with AWS PrivateLink that application accounts consume through interface endpoints in their own VPCs.
D.
Create shared VPCs in the networking account and use AWS Resource Access Manager to share specific subnets with the application accounts' OU.
0/10 terjawab
Periksa