📝 Drill SAP-C02 — sore 2026-11-25
Set #115 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A media company stores 800 TB of user-uploaded assets in S3 Standard. Access patterns are unpredictable: many objects are untouched for months and then suddenly become popular again. Objects range from 1 MB to 2 GB. The company wants to reduce storage costs without incurring retrieval fees or retrieval delays, and without having to analyze access patterns or tune lifecycle rules. Which solution meets these requirements MOST cost-effectively?
A.
Create an S3 Lifecycle rule that transitions objects to S3 Standard-IA 30 days after creation.
B.
Create an S3 Lifecycle rule that transitions objects to S3 Glacier Flexible Retrieval 90 days after creation.
C.
Transition the objects to S3 Intelligent-Tiering and let it move objects automatically between the Frequent, Infrequent, and Archive Instant Access tiers.
D.
Transition the objects to S3 One Zone-IA and configure Cross-Region Replication to a second bucket for durability.
2
Domain 2
When a customer places an order, an e-commerce web tier synchronously calls three downstream services: inventory, email notification, and analytics. During a recent analytics outage, order placement failed for all customers. The company wants a design in which a slow or failed downstream service cannot affect order placement or the other services, with the LEAST operational overhead. What should a solutions architect do?
A.
Publish each order event to an Amazon SNS topic. Subscribe a separate Amazon SQS queue for each downstream service, with each service polling its own queue and using a dead-letter queue.
B.
Send each order event to a single Amazon SQS standard queue that all three downstream services poll.
C.
Place an Application Load Balancer in front of each downstream service and keep the synchronous calls, adding retries with exponential backoff.
D.
Increase the size of the web tier Auto Scaling group and raise the timeout values for the downstream calls.
3
Domain 2
A data analytics application runs on EC2 instances in private subnets across three Availability Zones. The instances read about 40 TB per month from Amazon S3 buckets in the same Region through NAT gateways. The monthly bill shows high NAT gateway data processing charges. The company wants to reduce this cost as much as possible with minimal changes to the application. Which solution meets these requirements?
A.
Replace the NAT gateways with NAT instances on larger EC2 instance types.
B.
Create an S3 interface VPC endpoint in each Availability Zone and update the application to use the endpoint-specific DNS names.
C.
Consolidate traffic onto a single NAT gateway in one Availability Zone.
D.
Create an S3 gateway VPC endpoint and associate it with the route tables of the private subnets.
4
Domain 2
A visual effects studio runs rendering jobs every night. The jobs checkpoint progress every 5 minutes and can resume after interruption. Results are needed within 12 hours, and the amount of compute needed varies significantly from night to night. The studio wants the LOWEST compute cost. Which solution should a solutions architect recommend?
A.
Purchase a 3-year Compute Savings Plan sized to the peak nightly usage and run the jobs on On-Demand Instances.
B.
Use an EC2 Auto Scaling group with a mixed instances policy that uses 100% Spot Instances across many instance types and all Availability Zones, with the price-capacity-optimized allocation strategy.
C.
Create On-Demand Capacity Reservations for the peak capacity in a single Availability Zone.
D.
Use Spot Instances of a single instance type in one Availability Zone with the lowest-price allocation strategy.
5
Domain 2
A startup is building a mobile app that needs user sign-up and sign-in, MFA, social login with Google and Apple, and tokens that authorize calls to a REST API in Amazon API Gateway. The team is small and wants the LOWEST total cost of ownership. Which solution meets these requirements?
A.
Use an Amazon Cognito user pool with Google and Apple configured as identity providers, and use a Cognito user pool authorizer on API Gateway.
B.
Build a custom authentication service on Amazon ECS on AWS Fargate with an Amazon RDS user store, and validate tokens with a Lambda authorizer.
C.
Create an IAM user for each app user and embed the access keys in the mobile app to sign API requests with SigV4.
D.
Use AWS IAM Identity Center to store app users and federate with Google and Apple, and use IAM authorization on API Gateway.
6
Domain 2
Choose 2
A company runs a content management system on EC2 instances in an Auto Scaling group across three Availability Zones behind an Application Load Balancer. All instances need shared read/write access to uploaded media, and the storage must survive the loss of an Availability Zone. In addition, instances on which the application process hangs (while EC2 status checks still pass) must be replaced automatically. Which combination of steps will meet these requirements? (Choose TWO)
A.
Attach a single io2 EBS volume with Multi-Attach enabled to all instances in the Auto Scaling group.
B.
Store the media on an Amazon EFS file system with the Regional (Standard) storage class and mount targets in each Availability Zone.
C.
Store the media on instance store volumes and synchronize them between instances with a cron job running rsync.
D.
Keep the Auto Scaling group's default EC2 status check health check type and configure a longer health check grace period.
E.
Turn on Elastic Load Balancing health checks for the Auto Scaling group so that instances that fail the ALB target group health check are replaced.
7
Domain 1
A company has 40 AWS accounts in AWS Organizations and uses AWS IAM Identity Center with Okta as the identity source through SCIM. Developers work on many projects, and new projects are created every week. Each developer must be able to access only the resources tagged with their own project. The project is already stored as a user attribute in Okta. The company wants the LEAST operational overhead. What should a solutions architect do?
A.
Create a separate permission set for each project with a policy scoped to that project's resource ARNs, and assign it to a matching Okta group.
B.
Create IAM users for developers in each account with inline policies that list the resources of their projects.
C.
Enable attributes for access control in IAM Identity Center, map the Okta project attribute, and use a single permission set whose policy allows actions only when aws:PrincipalTag/project matches aws:ResourceTag/project.
D.
Create an SCP for each developer that denies access to resources whose project tag does not match that developer's project.
8
Domain 3
A company has 2,000 EC2 instances across 25 accounts and 4 Regions in AWS Organizations, and new accounts are added regularly. Patching is inconsistent between teams. The company wants all instances to be scanned for missing patches daily and patched weekly, including instances in future accounts, with the LEAST operational overhead. Which solution meets these requirements?
A.
Add a cron job to each instance's user data that runs the operating system's package manager update weekly.
B.
In each account and Region, manually create Systems Manager maintenance windows, patch baselines, and Run Command tasks.
C.
Enable Amazon Inspector in all accounts and configure it to install missing patches automatically on a weekly schedule.
D.
Use AWS Systems Manager Quick Setup from the management account (or a delegated administrator) to create a patch policy that targets the organization's OUs and Regions with a daily scan and weekly install schedule.
9
Domain 4
A company runs a self-managed SFTP server on premises that 300 external partners use to exchange files. The company wants to migrate this workload to AWS so that files land directly in Amazon S3. Partners must not have to change their hostname or their SSH keys. The company wants the LEAST operational overhead. Which solution meets these requirements?
A.
Rehost the SFTP server on EC2 with AWS Application Migration Service and mount the S3 bucket on the instance with s3fs.
B.
Create an AWS Transfer Family SFTP server with Amazon S3 as storage, import the existing host key and the partners' SSH public keys, and point the existing hostname to the server endpoint with a DNS CNAME record.
C.
Use AWS DataSync to copy files from the on-premises SFTP server to Amazon S3 every 15 minutes.
D.
Deploy an Amazon S3 File Gateway and give partners SFTP access to the gateway.
10
Domain 3
After some deployments, the checkout flow of an e-commerce website breaks in the browser, but backend metrics and ALB error rates look normal. Customers report the failures hours later. The company wants to detect a broken checkout flow proactively, every 5 minutes, from outside the application, with screenshots of each step to help troubleshooting, and with the LEAST development effort. Which solution meets these requirements?
A.
Create CloudWatch alarms on the ALB HTTPCode_Target_5XX_Count metric with a lower threshold.
B.
Enable AWS X-Ray tracing on the application and create alarms on the trace error rate.
C.
Write a Lambda function, invoked every 5 minutes by EventBridge Scheduler, that sends an HTTP GET request to the home page and publishes a custom metric.
D.
Create an Amazon CloudWatch Synthetics canary with a browser-based script that walks through the checkout steps every 5 minutes, captures screenshots, and triggers a CloudWatch alarm on failure.
0/10 terjawab
Periksa