📝 Drill SAP-C02 — pagi 2026-11-16
Set #96 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A company uses AWS Organizations and gives developers sandbox accounts in a dedicated Sandbox OU. Finance requires that once actual monthly EC2 spend in the Sandbox OU exceeds $5,000, developers must automatically be prevented from launching any new EC2 instances until the next month. Existing workloads may keep running. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a CloudWatch billing alarm on EstimatedCharges in each sandbox account that publishes to an SNS topic, and have administrators manually remove EC2 permissions when they receive the email.
B.
In the management account, create an AWS Budgets cost budget filtered to EC2 for the Sandbox OU accounts, and configure a budget action that automatically attaches an SCP denying ec2:RunInstances to the Sandbox OU when actual spend exceeds the threshold.
C.
Enable AWS Cost Anomaly Detection with an SNS subscription that invokes a Lambda function to delete the developers' IAM users when an anomaly is detected.
D.
Schedule a daily Lambda function that queries Cost Explorer and terminates all EC2 instances in the Sandbox OU when cumulative spend exceeds $5,000.
2
Domain 3
A media company serves versioned static assets (file names include a content hash) through Amazon CloudFront with an ALB origin. The CloudFront cache hit ratio is only 35%, and origin load is high. Investigation shows the origin returns 'Cache-Control: max-age=0' on all responses, and the cache policy already forwards no cookies or query strings. What should a solutions architect do to MOST effectively increase the cache hit ratio?
A.
Add more targets to the ALB target group and enable cross-zone load balancing to absorb the origin load.
B.
Update the cache policy to forward all headers and cookies to the origin so CloudFront can serve more personalized responses.
C.
Create a scheduled CloudFront invalidation for /* every hour so that edge caches always hold the newest objects.
D.
Configure the origin to return a Cache-Control max-age directive with the longest practical value (for example, one year) for the versioned assets.
3
Domain 3
A SaaS provider hosts its application behind a single internet-facing Application Load Balancer. Fifteen enterprise customers each want to reach the application over HTTPS using their own custom domain (for example, portal.customer-a.com, app.customer-b.net). The company wants to keep the existing ALB and minimize operational overhead. What should the solutions architect do?
A.
Request or import an ACM certificate for each customer domain and add all certificates to the ALB's existing HTTPS listener; the ALB selects the correct certificate per request using SNI.
B.
Deploy a separate ALB for each customer domain so that each ALB can present its own certificate, and create Route 53 alias records for each domain.
C.
Replace the ALB with a Network Load Balancer using TCP passthrough on port 443, and install and renew each customer's certificate manually on every EC2 instance.
D.
Request a single ACM wildcard certificate for *.example.com and attach it to the HTTPS listener to cover all customer domains.
4
Domain 3
A company with 60 AWS accounts in AWS Organizations must ensure that every S3 bucket has S3 Block Public Access enabled and versioning turned on. Noncompliant buckets must be detected and fixed automatically, and the controls must be applied consistently to all current and future accounts. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable Amazon GuardDuty S3 Protection in every account and configure it to automatically block public access on any bucket that it flags.
B.
Enable AWS Security Hub with the AWS Foundational Security Best Practices standard in every account and have the security team review and fix S3 findings each week.
C.
From a delegated administrator account, deploy an AWS Config organization conformance pack containing the relevant managed S3 rules with automatic remediation that uses Systems Manager Automation runbooks.
D.
Write a custom Lambda function in each account that is triggered by CloudTrail S3 API events and modifies bucket settings, and maintain the code separately per account.
5
Domain 1
A company routes all inter-VPC traffic through a centralized inspection VPC that contains AWS Network Firewall endpoints in two Availability Zones. All VPCs are attached to an AWS Transit Gateway. Users report that some connections between workloads in different Availability Zones time out, and the firewall logs show only one direction of those flows. What should the solutions architect do to resolve the issue?
A.
Remove the firewall endpoint from the second Availability Zone so that all traffic is inspected by a single endpoint.
B.
Deploy NAT gateways in the inspection VPC and route inter-VPC traffic through them before it reaches the firewall.
C.
Replace the Transit Gateway with full-mesh VPC peering and associate the firewall policy with each peering connection.
D.
Enable appliance mode on the Transit Gateway attachment for the inspection VPC so that both directions of a flow use the same Availability Zone.
6
Domain 3
Choose 2
The FinOps team of a company with 200 accounts in AWS Organizations needs to run SQL queries on hourly, resource-level cost line items, grouped by cost allocation tags, across all accounts. The team wants a solution that keeps the dataset updated automatically with minimal ongoing maintenance. Which combination of steps should the solutions architect take? (Choose TWO)
A.
In the management account, create a Cost and Usage Report with hourly granularity and resource IDs included, delivered to an S3 bucket with Amazon Athena integration enabled.
B.
Use Cost Explorer with monthly granularity and download CSV reports for each account every month.
C.
Deploy the AWS-provided CloudFormation template that creates an AWS Glue crawler to keep the CUR table in the Glue Data Catalog updated, and query it with Amazon Athena.
D.
Create CloudWatch billing alarms in every member account and aggregate the alarm history into a central account.
E.
Run AWS Trusted Advisor cost optimization checks daily and export the results to Amazon Redshift for querying.
7
Domain 3
An engineering firm runs a tightly coupled computational fluid dynamics simulation using MPI on 16 EC2 instances. The instances are currently launched across three Availability Zones, and profiling shows that inter-node network latency is the main bottleneck. The firm wants the lowest possible node-to-node latency and highest throughput. What should the solutions architect recommend?
A.
Launch the instances in a spread placement group across the three Availability Zones to place each instance on distinct hardware.
B.
Launch the instances in a cluster placement group in a single Availability Zone using an instance type that supports Elastic Fabric Adapter (EFA).
C.
Launch the instances in a partition placement group with one partition per Availability Zone.
D.
Place an AWS Global Accelerator in front of the instances to route inter-node traffic over the AWS global network.
8
Domain 2
A retail company processes order events with an SQS standard queue and a fleet of consumers. Events for the same customer are sometimes processed out of order or twice, causing incorrect balances. Events for different customers must still be processed in parallel to keep up with volume. Which solution meets these requirements?
A.
Keep the standard queue, enable long polling, and increase the visibility timeout so that each message is processed only once and in order.
B.
Replace the queue with a Kinesis data stream that has a single shard so that all events are processed strictly in order by one consumer.
C.
Replace the queue with an SQS FIFO queue, set MessageGroupId to the customer ID, and use deduplication IDs (or content-based deduplication).
D.
Publish events to an SNS standard topic with one SQS standard queue subscribed per consumer.
9
Domain 4
A company plans to migrate a 2 TB on-premises MySQL 5.7 database to Amazon Aurora MySQL over an existing AWS Direct Connect connection. The application can tolerate no more than 15 minutes of downtime during cutover, and the schema is compatible with Aurora MySQL. Which approach should the solutions architect recommend?
A.
Use AWS DMS with a full load plus change data capture (CDC) task to keep Aurora in sync, then stop writes and cut over the application once replication lag is near zero.
B.
Take a mysqldump during a maintenance window, upload it to Amazon S3, and restore it into the Aurora cluster before redirecting the application.
C.
Copy a backup to an AWS Snowball Edge device, ship it to AWS, restore it into Aurora, and then redirect the application.
D.
Use AWS SCT to convert the schema, then run a nightly AWS Glue ETL job to copy the data until the cutover date.
10
Domain 1
After a ransomware incident at a peer company, a company with 40 accounts in AWS Organizations requires that backups of EC2, EBS, and RDS resources in every account be copied to a dedicated central backup account. The copies must be immutable so that even an administrator with root access in a workload account cannot delete them. The solution must scale automatically to new accounts with minimal operational overhead. What should the solutions architect do?
A.
Use Amazon Data Lifecycle Manager in each account to create EBS snapshots and share them with the central account, and use RDS automated backups for databases.
B.
Enable AWS Backup cross-account management, apply an AWS Organizations backup policy that copies recovery points to a vault in the central backup account, and lock that vault with AWS Backup Vault Lock in compliance mode.
C.
Export all backups to an S3 bucket in each workload account and configure S3 replication to the central account without additional protections.
D.
Create an AWS Backup plan in each account that stores recovery points in a local vault protected by a vault access policy denying deletion.
0/10 terjawab
Periksa