📝 Drill SAP-C02 — sore 2026-11-11
Set #87 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A company runs development workloads in a dedicated AWS account inside AWS Organizations. Developers frequently launch large EC2 instances and forget them, causing the account to exceed its monthly budget. Finance requires that once actual monthly EC2 spend exceeds the budget, no new EC2 instances can be launched in that account until the next month, with the LEAST operational overhead. What should a solutions architect do?
A.
Create a CloudWatch billing alarm on EstimatedCharges that publishes to an SNS topic subscribed by the development team lead.
B.
Use Cost Anomaly Detection with a monitor for the account and an SNS subscription that triggers a manual runbook to stop instances.
C.
Create an AWS Budgets cost budget filtered to EC2 with a budget action that automatically applies an SCP denying ec2:RunInstances to the development account when the threshold is exceeded.
D.
Schedule a daily Lambda function that queries Cost Explorer and terminates all EC2 instances in the account when spend exceeds the budget.
2
Domain 3
A media company serves product images through an Amazon CloudFront distribution with an Application Load Balancer origin. CloudWatch shows a cache hit ratio below 40%, and the origin fleet is heavily loaded. The images change only when a new file name is published. The cache policy uses the default TTL settings and forwards no headers, cookies, or query strings. Which change will MOST improve the cache hit ratio?
A.
Configure the origin to return a Cache-Control max-age header with the longest practical value for image objects.
B.
Add more EC2 instances behind the ALB and enable cross-zone load balancing.
C.
Create CloudFront invalidations for /* every hour so edge locations always fetch fresh objects.
D.
Enable forwarding of all query strings and the User-Agent header to the origin in the cache policy.
3
Domain 3
An e-commerce platform consists of 15 microservices running on Amazon ECS and AWS Lambda that call each other over HTTP and call Amazon DynamoDB. Customers report intermittent slow checkouts, but per-service CloudWatch CPU and memory metrics look normal. The operations team needs to identify which service call in the request path is causing the latency with the LEAST effort. What should the solutions architect recommend?
A.
Enable VPC Flow Logs and analyze them with Amazon Athena to find slow connections between services.
B.
Increase the log level of every service and search CloudWatch Logs Insights for long-running requests.
C.
Enable detailed monitoring on all container instances and create a CloudWatch dashboard per service.
D.
Instrument the services with AWS X-Ray (using the AWS Distro for OpenTelemetry where needed) and use the trace map to identify high-latency segments.
4
Domain 3
A company's FinOps team must analyze hourly, resource-level costs across 40 member accounts, join them with an internal project mapping table, and run ad hoc SQL queries to find which resources drive weekend spend. Cost Explorer views do not provide the required granularity and flexibility. Which solution meets these requirements with the LEAST operational overhead?
A.
Use the Cost Explorer API from a scheduled Lambda function to export daily totals into an RDS for PostgreSQL database.
B.
Configure the Cost and Usage Report (CUR) with hourly granularity and resource IDs in Parquet format to Amazon S3 from the management account, catalog it with AWS Glue, and query it with Amazon Athena.
C.
Enable AWS Budgets reports for each account and email them to the FinOps team as CSV files.
D.
Turn on detailed billing in each member account and copy the billing data to Amazon Redshift with AWS DMS.
5
Domain 3
A company runs a self-managed Apache Cassandra cluster of 24 EC2 instances in a single Availability Zone for low inter-node latency. During a recent incident, a hardware failure took down several nodes holding replicas of the same data, causing an outage. The company wants to keep the nodes in one AZ while ensuring that replicas are not placed on the same underlying hardware, and it wants Cassandra to be aware of the hardware topology. What should the solutions architect do?
A.
Launch the nodes into a cluster placement group to maximize network throughput between nodes.
B.
Launch the nodes into a spread placement group so that every instance runs on distinct hardware.
C.
Launch the nodes into a partition placement group and configure Cassandra racks to map to the partition numbers exposed in instance metadata.
D.
Use Dedicated Hosts and manually assign each node to a different host.
6
Domain 3
A security audit found that teams occasionally make Amazon S3 buckets publicly readable in several accounts. The company wants to continuously detect any bucket that allows public read access and automatically remove that access within minutes, while keeping a compliance history for auditors. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy the AWS Config managed rule s3-bucket-public-read-prohibited with automatic remediation using the AWS Systems Manager Automation runbook AWS-DisableS3BucketPublicReadWrite.
B.
Create a CloudTrail trail and a daily Lambda function that parses PutBucketAcl events and emails the bucket owners.
C.
Enable Amazon Macie on all buckets and have analysts review sensitive data findings weekly.
D.
Run a nightly AWS CLI script from an EC2 instance that lists all bucket policies and deletes any that contain a wildcard principal.
7
Domain 1
A company has 30 application accounts, each with its own VPC attached to a Transit Gateway, mainly so that workloads can reach shared services in the same Region. Network costs from Transit Gateway attachments and data processing are growing, and the network team wants to centrally manage subnets, route tables, and NACLs while application teams keep managing their own resources in their own accounts. Which solution meets these requirements MOST cost-effectively?
A.
Replace the Transit Gateway with full-mesh VPC peering between all 30 VPCs.
B.
Deploy AWS Network Firewall in each application VPC and remove the Transit Gateway.
C.
Create a VPC endpoint service with AWS PrivateLink in every application VPC.
D.
Create a centrally owned VPC in a network account and share its subnets with the application accounts by using AWS Resource Access Manager (VPC sharing).
8
Domain 2
A startup is building a new ticketing application that experiences unpredictable traffic: near-zero load most of the day, then sudden spikes of 50x when popular events go on sale. The application requires a MySQL-compatible relational database with Multi-AZ high availability and must scale capacity within seconds without manual intervention. The company wants to minimize cost during idle periods. Which database solution should the solutions architect choose?
A.
Amazon RDS for MySQL Multi-AZ on a db.r6g.8xlarge instance sized for peak load.
B.
Amazon Aurora MySQL with Aurora Serverless v2 instances for the writer and a reader in a different AZ, with minimum and maximum ACUs configured.
C.
Amazon DynamoDB with on-demand capacity mode.
D.
Amazon Aurora MySQL provisioned cluster with a scheduled Lambda function that modifies the instance class before each sale.
9
Domain 4
A logistics company exchanges files with 200 external partners through an on-premises SFTP server that writes files to a local NAS. The server is approaching end of life. The company wants to migrate to AWS, keep partners using their existing SFTP clients, hostname, and SSH keys, store files in Amazon S3 for downstream processing, and avoid managing servers. Which solution meets these requirements?
A.
Create an AWS Transfer Family SFTP server with Amazon S3 storage, import partner users and SSH public keys, attach a custom hostname via Route 53, and import the existing host key.
B.
Launch an EC2 instance with OpenSSH in a public subnet and mount the S3 bucket with Mountpoint for Amazon S3.
C.
Deploy AWS Storage Gateway File Gateway on premises and keep the SFTP server pointing to the gateway share.
D.
Use AWS DataSync to copy files from the NAS to S3 every 5 minutes and keep the SFTP server running.
10
Domain 2
Choose 2
A SaaS provider is designing a multi-tenant application that stores all tenant data in a single Amazon DynamoDB table. Each request is processed by an AWS Lambda function that assumes an IAM role with the tenant ID passed as a session tag. Security requires that code for one tenant can never read or write another tenant's items, enforced by IAM rather than application logic, without creating per-tenant tables. Which combination of steps meets these requirements? (Choose TWO)
A.
Enable DynamoDB Streams and filter out records that belong to other tenants.
B.
Design the table so that the partition key begins with the tenant ID.
C.
Create a gateway VPC endpoint for DynamoDB with an endpoint policy that lists every tenant's table ARN.
D.
Encrypt each tenant's items with a separate AWS KMS customer managed key.
E.
Add an IAM policy condition using dynamodb:LeadingKeys that matches the ${aws:PrincipalTag/TenantId} session tag.
0/10 terjawab
Periksa