📝 Drill SAP-C02 — sore 2026-10-28
Set #60 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A company runs a sandbox OU in AWS Organizations where developers frequently launch large EC2 instances and forget them. Finance requires that once the monthly EC2 spend for the sandbox accounts exceeds $5,000, no new EC2 instances can be launched in those accounts until the next month, without anyone needing to intervene manually. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a CloudWatch billing alarm on EstimatedCharges that publishes to an SNS topic, and have the platform team detach developer IAM roles when they receive the notification.
B.
Create an AWS Budgets cost budget filtered to EC2 for the sandbox accounts and configure a Budgets action that automatically attaches an SCP denying ec2:RunInstances to the sandbox OU when the threshold is exceeded.
C.
Enable AWS Cost Anomaly Detection with a monitor on the sandbox accounts and an alert subscription that emails the developers when anomalous EC2 spend is detected.
D.
Schedule a Lambda function to query the Cost and Usage Report through Athena every hour and terminate all running EC2 instances in the sandbox accounts when spend exceeds $5,000.
2
Domain 3
Choose 2
A data analytics team runs EC2 workers in private subnets that read and write several terabytes per day to Amazon S3 and Amazon DynamoDB in the same Region. A Cost Explorer review shows that NAT gateway data processing charges are now the largest line item on the bill. The team wants to reduce this cost without changing application code. Which actions should a solutions architect take? (Choose TWO)
A.
Create a gateway VPC endpoint for Amazon S3 and add it to the private subnet route tables.
B.
Replace the NAT gateway with a NAT instance on a burstable EC2 instance type.
C.
Create interface VPC endpoints (AWS PrivateLink) for Amazon S3 in each Availability Zone.
D.
Create a gateway VPC endpoint for Amazon DynamoDB and add it to the private subnet route tables.
E.
Enable S3 Transfer Acceleration on the buckets used by the workers.
3
Domain 3
A company has 400 EC2 instances across 30 accounts in AWS Organizations, launched over several years with sizes chosen by individual teams. Leadership suspects many instances are oversized and wants data-driven rightsizing recommendations, including memory utilization, delivered centrally with minimal custom tooling. Which solution meets these requirements?
A.
Opt in to AWS Compute Optimizer at the organization level from the management account, install the CloudWatch agent to publish memory metrics, and review the EC2 rightsizing recommendations centrally.
B.
Export the Cost and Usage Report to S3 and use Athena queries to identify instances with the highest hourly cost, then downsize them by one instance size.
C.
Use AWS Trusted Advisor Basic Support checks in each account to list low-utilization EC2 instances and consolidate the results into a spreadsheet.
D.
Create CloudWatch dashboards for CPU utilization in every account and ask each team to downsize instances that stay below 40% CPU for a month.
4
Domain 3
A company uses Route 53 failover routing for an internal application whose primary endpoint is an internal Application Load Balancer in a private subnet. Route 53 health checkers cannot reach the private endpoint, so failover to the secondary Region never triggers during outages. The company wants DNS failover based on the health of the primary application. What should a solutions architect do?
A.
Move the internal ALB to public subnets and attach an endpoint health check to the failover record.
B.
Enable Evaluate Target Health on an alias record that points to a Network Load Balancer placed in front of the internal ALB.
C.
Replace failover routing with latency-based routing so Route 53 automatically sends traffic to the healthy Region.
D.
Create a CloudWatch alarm on the ALB HealthyHostCount (or a custom health metric), create a Route 53 health check that monitors the alarm state, and associate it with the primary failover record.
5
Domain 3
A security review of an existing application finds that the Amazon RDS for PostgreSQL master password is hardcoded in configuration files on EC2 instances and has not been changed in two years. The company must rotate the database credentials every 30 days automatically and remove plaintext credentials from the instances, with the LEAST operational overhead. Which solution meets these requirements?
A.
Store the password as a SecureString parameter in Systems Manager Parameter Store and create an EventBridge rule that triggers a custom Lambda function every 30 days to change it.
B.
Encrypt the configuration files with AWS KMS and use a cron job on each instance to generate a new password every 30 days.
C.
Store the credentials in AWS Secrets Manager with managed rotation enabled on a 30-day schedule, and update the application to retrieve the secret at runtime using an IAM role.
D.
Enable IAM database authentication for all application users and keep the master password in the configuration file for emergency access.
6
Domain 3
An e-commerce company has had several incidents where the checkout page returned errors for hours before customers reported them, even though EC2 CPU and ALB 5xx alarms stayed green. The operations team wants to proactively detect broken login-to-checkout user flows every 5 minutes from outside the VPC and receive alerts, with minimal custom infrastructure. Which solution meets these requirements?
A.
Enable VPC Flow Logs on the ALB subnets and create a metric filter that alarms when traffic to the checkout path drops.
B.
Create Amazon CloudWatch Synthetics canaries that script the login and checkout workflow on a 5-minute schedule, and create CloudWatch alarms on canary success percentage.
C.
Deploy an EC2 instance running Selenium scripts from cron and send results to an SNS topic.
D.
Enable AWS X-Ray tracing on the application and alarm when the average trace duration increases.
7
Domain 1
A company with 50 AWS accounts in AWS Organizations uses Okta as its corporate identity provider. Currently each account has its own IAM users, and offboarding employees takes days. The company wants single sign-on to all accounts, automatic provisioning and deprovisioning of users and groups from Okta, and centrally managed permissions. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable IAM Identity Center in the management account, configure Okta as the external identity provider with SCIM automatic provisioning, and assign permission sets to groups for each account.
B.
Create a SAML 2.0 identity provider in IAM in each of the 50 accounts and map Okta groups to IAM roles in every account.
C.
Deploy AWS Managed Microsoft AD, synchronize users from Okta with a custom script, and use AD Connector in each account.
D.
Create a central identity account with IAM users and allow them to assume roles in member accounts, removing users manually during offboarding.
8
Domain 2
A media company must process 20 million small JSON files stored in an S3 bucket each night. Each file needs a short transformation that takes under 10 seconds in a Lambda function, and the job must finish within a few hours with built-in retry and failure tracking per item. The team wants a serverless orchestration with the LEAST custom code. Which solution meets these requirements?
A.
Configure S3 Event Notifications to invoke the Lambda function once for each existing object by copying every object onto itself.
B.
Run a single Lambda function that lists the bucket and invokes the transformation function synchronously for each object in a loop.
C.
Use AWS Batch with a managed EC2 compute environment and a job array of 20 million child jobs.
D.
Use an AWS Step Functions state machine with a Distributed Map state that reads the S3 object list (or S3 inventory) and invokes the Lambda function with high concurrency, tolerated failure thresholds, and results written to S3.
9
Domain 2
A gaming company is launching a multiplayer game that uses a custom UDP protocol, with game servers behind Network Load Balancers in three AWS Regions. Players worldwide need low-latency connections, and console clients require a small set of static IP addresses that never change. If a Region becomes unhealthy, traffic must shift to the next closest Region within seconds. Which solution meets these requirements?
A.
Create an Amazon CloudFront distribution with the NLBs as origins and use origin groups for failover.
B.
Create an AWS Global Accelerator standard accelerator with an endpoint group per Region that contains each NLB, and give the clients the accelerator's two static anycast IP addresses.
C.
Use Route 53 latency-based routing with health checks pointing to Elastic IP addresses on each NLB.
D.
Deploy the game servers in AWS Local Zones and publish the Local Zone public IP addresses to clients.
10
Domain 4
A company is migrating a Linux application that stores 60 TB of files on an on-premises NFS server to Amazon EFS. The data changes daily, the company has a 10 Gbps Direct Connect link, and the cutover window is only 2 hours, so only the final changes can be copied during cutover. The company wants a managed solution that verifies data integrity and preserves file metadata. Which solution meets these requirements?
A.
Order multiple AWS Snowball Edge devices to copy the full dataset, then use rsync over the internet for changes during cutover.
B.
Mount the EFS file system on-premises over Direct Connect and run cp -r in parallel scripts before and during cutover.
C.
Deploy an AWS DataSync agent on premises, run scheduled DataSync tasks from the NFS share to EFS over Direct Connect to perform the initial and incremental copies, and run a final incremental task during the cutover window.
D.
Use AWS Storage Gateway File Gateway to present an NFS share backed by S3, then copy data from S3 to EFS after cutover.
0/10 terjawab
Periksa