📝 Drill SAP-C02 — sore 2026-11-04
Set #74 · fokus Domain 4 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 4
An e-commerce company is breaking its monolithic order-processing module into separate payment, inventory-reservation, and shipping microservices. The steps must run in a fixed order, and a failure in any step must trigger compensating actions such as refunding the payment and releasing reserved inventory. Some orders wait up to 3 days for a manual warehouse confirmation, and the operations team wants a visual execution history for each order. Which solution meets these requirements with the LEAST operational overhead?
A.
Connect the services with Amazon SQS queues and dead-letter queues, and implement the compensation logic inside AWS Lambda consumers that read from the dead-letter queues.
B.
Publish domain events to Amazon EventBridge and create one rule per failure event type that invokes the matching compensation Lambda function.
C.
Build an AWS Step Functions Standard workflow that calls each service as a task, uses Retry and Catch fields to invoke compensating tasks, and uses a task token callback to wait for the warehouse confirmation.
D.
Build an AWS Step Functions Express workflow that calls each service as a task and uses Catch fields to invoke compensating tasks while polling for the warehouse confirmation.
2
Domain 4
A company runs a monolithic Java application on Amazon EC2 instances behind an Application Load Balancer (ALB). The company wants to incrementally extract the invoicing feature, served under the /invoices path, into a new containerized service on Amazon ECS with AWS Fargate. Client URLs must not change, and the team must be able to roll back to the monolith quickly. Which approach requires the LEAST effort?
A.
Register the Fargate tasks in a new target group and add a listener rule on the existing ALB with a path-pattern condition of /invoices/* that forwards to the new target group. Remove the rule to roll back.
B.
Create a new subdomain for the invoicing service and use Amazon Route 53 weighted records to gradually move clients to the new subdomain.
C.
Place an Amazon CloudFront distribution in front of the ALB and use Lambda@Edge to rewrite /invoices requests to the public IP addresses of the Fargate tasks.
D.
Rewrite the entire monolith as microservices and cut over all paths at once by using a blue/green deployment.
3
Domain 4
A company is moving its applications to containers and stores all images in Amazon ECR. The security team requires that images be scanned for both operating system and programming language package vulnerabilities, that images already in the registry be rescanned automatically when new CVEs are published, and that findings appear in AWS Security Hub. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable ECR basic scanning with scan on push, and use an Amazon EventBridge scheduled rule to invoke a Lambda function that starts a manual scan of every image each day.
B.
Enable ECR enhanced scanning, which uses Amazon Inspector, with continuous scanning configured for the repositories, and enable the Amazon Inspector integration with Security Hub.
C.
Add an open source image scanner to the AWS CodeBuild build stage and upload the scan reports to Amazon S3 for the security team to review.
D.
Enable Amazon GuardDuty Runtime Monitoring for the container workloads and forward the findings to Security Hub.
4
Domain 4
A company migrated a Java Spring Boot API to AWS Lambda. Traffic is unpredictable, and p99 latency spikes to 6-8 seconds because of function initialization during cold starts. The company wants to reduce cold start latency significantly without paying for idle pre-initialized capacity. Which solution is the MOST cost-effective?
A.
Configure provisioned concurrency on the function alias, sized for the expected peak traffic.
B.
Increase the function memory to the maximum of 10,240 MB to get more CPU during initialization.
C.
Create an Amazon EventBridge scheduled rule that invokes the function every 5 minutes to keep execution environments warm.
D.
Enable Lambda SnapStart on the function, publish a version, and route invocations through an alias that points to the published version.
5
Domain 4
A company is migrating Windows-based application servers to Amazon EC2. The servers depend on 20 TB of on-premises Windows file shares that use SMB, NTFS ACLs, and the company's self-managed Active Directory. The file storage on AWS must be highly available across Availability Zones, and the company wants to keep the existing permissions. Which solution meets these requirements with the LEAST operational overhead?
A.
Create an Amazon EFS file system with Multi-AZ storage and mount it on the Windows EC2 instances, then copy the data with robocopy.
B.
Deploy Windows Server EC2 file servers in two Availability Zones, replicate the shares with DFS Replication, and migrate the data with robocopy.
C.
Deploy an Amazon S3 File Gateway on EC2 that exposes SMB shares backed by an S3 bucket, and join the gateway to Active Directory.
D.
Create an Amazon FSx for Windows File Server Multi-AZ file system joined to the self-managed Active Directory, and migrate the data with AWS DataSync while preserving the NTFS ACLs.
6
Domain 4
A company runs a 30-node self-managed Apache Cassandra cluster on premises. The application uses CQL drivers, and the database team spends significant time on patching, compaction tuning, and adding nodes. The company wants to migrate to AWS with minimal application code changes and wants a serverless database that scales automatically. Which solution meets these requirements?
A.
Migrate the data to Amazon DynamoDB and rewrite the data access layer to use the DynamoDB SDK.
B.
Migrate to Amazon Keyspaces (for Apache Cassandra) with on-demand capacity mode, and point the existing CQL drivers to the Keyspaces endpoint over TLS.
C.
Deploy Cassandra on storage optimized EC2 instances in an Auto Scaling group across three Availability Zones.
D.
Migrate the data to Amazon DocumentDB (with MongoDB compatibility) and use the DocumentDB elastic clusters feature.
7
Domain 1
A company has 200 AWS accounts in AWS Organizations and adds new accounts every month. All Amazon EBS volumes and Amazon RDS databases tagged backup=daily must be backed up every day, and a copy of each backup must be stored in a dedicated backup account in a different AWS Region, where the copies cannot be deleted by anyone for 35 days. New accounts must be covered automatically. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable AWS Backup cross-account management, attach an AWS Organizations backup policy that selects resources by tag and includes a copy action to a vault in the central backup account in another Region, and apply AWS Backup Vault Lock in compliance mode to that vault.
B.
Deploy a Lambda function in every account that creates snapshots of tagged resources daily and copies them to the backup account, and apply an S3 Object Lock policy to the copies.
C.
Use AWS CloudFormation StackSets to deploy an AWS Backup plan to each account, and manually update the stack set each time a new account is created.
D.
Create Amazon Data Lifecycle Manager policies in each account that copy EBS snapshots cross-account, and use RDS automated backups with cross-Region replication.
8
Domain 2
A gaming company runs UDP-based multiplayer game servers on Amazon EC2 behind Network Load Balancers in three AWS Regions. Players report jitter over the public internet, and many corporate and school networks allow outbound traffic only to a small, fixed set of IP addresses. The company also needs traffic to fail over to a healthy Region within seconds if a Regional endpoint becomes unhealthy. Which solution meets these requirements?
A.
Create an Amazon CloudFront distribution with an origin group that contains the three Network Load Balancers for origin failover.
B.
Use Amazon Route 53 latency-based routing records with health checks that point to the three Network Load Balancers.
C.
Use AWS Transit Gateway inter-Region peering and assign Elastic IP addresses to the game servers in each Region.
D.
Create an AWS Global Accelerator standard accelerator with a UDP listener and one endpoint group per Region that contains the Network Load Balancer, and give players the two static anycast IP addresses.
9
Domain 3
Choose 2
A company deploys a web application to an Amazon EC2 Auto Scaling group behind an Application Load Balancer by using AWS CodeDeploy in-place deployments. Several faulty releases recently caused full outages before engineers could react. The company wants to reduce the impact of bad releases and roll back automatically when the HTTP error rate increases. Which combination of steps should a solutions architect take? (Choose TWO)
A.
Change the deployment group to a blue/green deployment that provisions a replacement Auto Scaling group and shifts ALB traffic to it, keeping the original instances available for rollback.
B.
Create Amazon CloudWatch alarms on the ALB HTTPCode_Target_5XX_Count metric, add them to the deployment group, and enable automatic rollback when an alarm threshold is met.
C.
Increase the health check grace period of the Auto Scaling group so that new instances have more time to start.
D.
Create an AWS Config rule that detects changes to the application revision and sends a notification to the operations team.
E.
Enable instance scale-in protection on all instances in the Auto Scaling group.
10
Domain 2
A company wants external contractors to access several internal web applications that run behind an internal Application Load Balancer in private subnets. The company does not want to operate a VPN. Every request must be evaluated against policies that use the user's identity from the corporate IdP and the security posture of the contractor's device from a third-party device management provider. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy AWS Client VPN with SAML-based federated authentication and authorization rules for each application subnet.
B.
Move the applications behind an internet-facing ALB and configure an authenticate-cognito listener action that federates with the corporate IdP.
C.
Deploy AWS Verified Access with an identity trust provider and a device trust provider, and create a Verified Access endpoint for the internal ALB with group-level access policies.
D.
Give contractors IAM users and have them use AWS Systems Manager Session Manager port forwarding to reach the ALB.
0/10 terjawab
Periksa