📝 Drill SAP-C02 — pagi 2026-10-30
Set #63 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A media company runs a multi-tenant web application on Amazon EC2 instances. Each of its 25 customers uses a different branded domain name (for example, brand-a.com and brand-b.net), and the team currently deploys a separate Application Load Balancer for each domain because they believe a listener can hold only one TLS certificate. Load balancer costs keep growing as customers are added. Which solution will consolidate the environment with the LEAST operational overhead?
A.
Request a single AWS Certificate Manager (ACM) wildcard certificate for *.com and *.net and attach it to one HTTPS listener on a single Application Load Balancer.
B.
Issue an ACM certificate for each customer domain, add all certificates to the certificate list of one HTTPS listener on a single Application Load Balancer, and use host-based listener rules to route each domain to its target group.
C.
Replace the Application Load Balancers with one Network Load Balancer using TCP passthrough on port 443, and store each customer's certificate on the EC2 instances to terminate TLS there.
D.
Create one HTTPS listener per customer domain on a single Application Load Balancer, each on a different port, and publish the port numbers to customers.
2
Domain 1
A company has 40 VPCs across multiple AWS accounts in AWS Organizations, all attached to a shared AWS Transit Gateway. Every VPC has its own NAT gateways in three Availability Zones for outbound internet access. The security team now requires that all outbound internet traffic be inspected in one place, and the finance team wants to reduce NAT gateway costs. Which solution meets these requirements MOST cost-effectively?
A.
Create an egress VPC with NAT gateways and peer every spoke VPC to it with VPC peering, then point each spoke's default route at the peering connection.
B.
Keep the NAT gateways in every VPC and deploy AWS Network Firewall endpoints in each VPC, managed with a common firewall policy.
C.
Replace the NAT gateways in every VPC with self-managed NAT instances running inspection software in each Availability Zone.
D.
Create a central egress VPC with AWS Network Firewall and NAT gateways in each Availability Zone, attach it to the transit gateway, route 0.0.0.0/0 from the spoke route table to the egress VPC attachment, and remove the NAT gateways from the spoke VPCs.
3
Domain 3
A company has 30 AWS accounts in AWS Organizations. Developers occasionally create security group rules that allow SSH (port 22) from 0.0.0.0/0. The security team needs these rules to be removed automatically within minutes in every account, with a compliance history for auditors, and with the LEAST operational overhead. What should a solutions architect do?
A.
Deploy an organization conformance pack from the AWS Config delegated administrator account that includes the restricted-ssh managed rule with automatic remediation using the AWS-DisablePublicAccessForSecurityGroup Systems Manager Automation runbook.
B.
Enable the AWS Trusted Advisor security group check in each account and have an administrator review the weekly email report and remove offending rules.
C.
Send CloudTrail logs to Amazon S3, run a nightly Amazon Athena query for AuthorizeSecurityGroupIngress events, and invoke an AWS Lambda function to revoke matching rules.
D.
Enable Amazon GuardDuty in all accounts and configure it to automatically revoke security group rules that allow SSH from the internet.
4
Domain 2
A healthcare analytics company stores patient records as JSON objects in a single Amazon S3 bucket. The billing application must read the full records, but internal data scientists must only receive records with personally identifiable information (PII) removed. The company does not want to maintain a second copy of the data and wants the LEAST operational overhead. Which solution meets these requirements?
A.
Run a nightly AWS Glue job that writes a redacted copy of all objects to a separate bucket that the data scientists can access.
B.
Enable Amazon Macie on the bucket and configure it to automatically redact PII from objects when data scientists download them.
C.
Create an S3 Object Lambda access point backed by an AWS Lambda function that redacts PII on GET requests, grant the data scientists access only through it, and let the billing application use a standard access point.
D.
Instruct the data scientists to use S3 Select with SQL expressions that exclude PII columns when they query the objects.
5
Domain 3
An e-commerce application runs on EC2 instances in an Auto Scaling group with a target tracking policy. Each new instance needs about 8 minutes to install dependencies and warm its local cache before it can serve traffic. During unpredictable traffic spikes, latency SLOs are breached for several minutes while new instances initialize. The company wants to reduce scale-out time while keeping costs low. Which solution should a solutions architect recommend?
A.
Raise the Auto Scaling group's minimum capacity to the peak instance count observed over the last 30 days.
B.
Replace the target tracking policy with a step scaling policy that uses a lower CPU utilization threshold.
C.
Create scheduled scaling actions that add capacity at the times of day when spikes have occurred in the past.
D.
Configure a warm pool for the Auto Scaling group that keeps pre-initialized instances in the Stopped state, so scale-out events draw from the warm pool.
6
Domain 3
Choose 2
A three-tier application uses an Application Load Balancer and an Auto Scaling group that span two Availability Zones. The database is a Single-AZ Amazon RDS for MySQL instance in AZ-a, and the application instances in both AZs reach an external payment API through a single NAT gateway in AZ-a. During a recent AZ-a impairment, the whole application became unavailable. Which combination of changes will remove the single points of failure with the LEAST operational overhead? (Choose TWO.)
A.
Create an RDS read replica in AZ-b and document a runbook to promote it manually during an AZ failure.
B.
Convert the RDS DB instance to a Multi-AZ deployment.
C.
Increase the Auto Scaling group minimum capacity and place all additional instances in AZ-b.
D.
Associate a second Elastic IP address with the existing NAT gateway.
E.
Deploy a NAT gateway in each Availability Zone and update each private subnet's route table to use the NAT gateway in the same AZ.
7
Domain 4
A company runs 1,200 VMware virtual machines on premises, many with Windows Server and SQL Server licenses. Before approving a migration, the CFO wants a data-driven business case within a few weeks that compares current on-premises cost with right-sized AWS costs, including license optimization options. The team wants to minimize manual effort. Which approach should a solutions architect use?
A.
Use Migration Evaluator with its agentless collector to gather utilization data from vCenter and produce a business case with right-sized EC2 recommendations and licensing options.
B.
Export the VM inventory to a spreadsheet and manually enter each server into AWS Pricing Calculator using the currently allocated vCPU and memory.
C.
Install AWS Application Discovery Service agents on every VM and use AWS Migration Hub network diagrams to estimate costs.
D.
Enable AWS Compute Optimizer for the on-premises VMs and export its rightsizing recommendations to calculate AWS costs.
8
Domain 3
A visual-effects company launches large bursts of On-Demand EC2 instances for rendering. Several times, Auto Scaling group scale-outs failed because the account hit its Running On-Demand Standard instances vCPU quota, and the team only noticed after render jobs were delayed. The company wants to be alerted well before the quota is reached, with the LEAST operational overhead. What should a solutions architect do?
A.
Rely on the AWS Trusted Advisor service limits check and review its weekly summary email.
B.
Write an AWS Lambda function that runs every 5 minutes, calls DescribeInstances, sums the vCPUs, and publishes a custom CloudWatch metric with an alarm.
C.
Create a CloudWatch alarm on the AWS/Usage vCPU metric that uses the SERVICE_QUOTA() metric math function to alert at 80% of the applied quota, and request a quota increase through Service Quotas.
D.
Set the Auto Scaling group maximum capacity well below the current vCPU quota so that the quota is never reached.
9
Domain 2
An IoT company streams JSON telemetry through Amazon Data Firehose into Amazon S3, where objects are written under the default time-based prefixes. Analysts use Amazon Athena to query data for a single customer_id, but every query scans all customers' data, and Athena costs are rising quickly. The company wants to partition the data by customer_id with the LEAST operational overhead. What should a solutions architect do?
A.
Add an S3 event notification that invokes an AWS Lambda function to copy each new object into a customer_id prefix and delete the original.
B.
Enable dynamic partitioning on the Firehose stream with a JQ expression that extracts customer_id, use it in the S3 prefix, and configure Athena partition projection on that key.
C.
Schedule an hourly AWS Glue ETL job that reads the new objects and rewrites them into customer_id partitions in a separate bucket.
D.
Replace Firehose with Amazon Kinesis Data Streams and a fleet of EC2 consumers that write objects to customer-specific prefixes.
10
Domain 3
A company serves a global static website through Amazon CloudFront from an S3 bucket in us-east-1. A recent regional S3 service event caused users to receive errors for over an hour. The company requires automatic failover to another Region within minutes and wants the LEAST operational overhead. Which solution meets these requirements?
A.
Enable S3 Cross-Region Replication to a bucket in us-west-2, add both buckets as origins in a CloudFront origin group with failover on 5xx status codes, and use the origin group in the cache behavior.
B.
Create a second CloudFront distribution with the replica bucket as its origin, and use Amazon Route 53 failover records with health checks to switch between the two distributions.
C.
Deploy a Lambda@Edge function on origin response events that rewrites the origin to a replica bucket whenever the primary returns an error.
D.
Enable S3 Transfer Acceleration on the bucket and increase the CloudFront default TTL so that cached objects are served during outages.
0/10 terjawab
Periksa