📝 Drill SAP-C02 — pagi 2026-11-10
Set #84 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
An e-commerce company runs its application on an Amazon Aurora MySQL DB cluster with a single writer instance. Reporting queries during business hours saturate CPU on the writer, and read traffic varies widely throughout the day. The company needs to offload read traffic and maintain availability if the writer fails, with the LEAST operational overhead.
A.
Migrate to an Amazon RDS for MySQL Multi-AZ DB instance deployment and point the reporting tools at the standby instance.
B.
Add Aurora Replicas in different Availability Zones, configure Aurora Auto Scaling for replicas based on average CPU utilization, and direct reporting tools to the cluster reader endpoint.
C.
Create a cross-Region Aurora read replica and route reporting traffic to it with Route 53 latency-based routing.
D.
Place an Amazon ElastiCache for Redis cluster in front of the writer and use lazy loading for all reporting queries.
2
Domain 2
AWS Lambda functions run in private subnets of a VPC that has no NAT gateway or internet gateway. The functions must retrieve database credentials from AWS Secrets Manager. Security policy forbids any traffic to the internet and requires that the network path only allows access to secrets owned by the company's account. Which solution meets these requirements?
A.
Create a gateway VPC endpoint for Secrets Manager and add a route to the endpoint in the private subnet route tables.
B.
Add a NAT gateway in a public subnet and restrict the Lambda security group outbound rules to the published Secrets Manager IP ranges.
C.
Create an interface VPC endpoint for Secrets Manager with private DNS enabled, a security group that allows HTTPS from the Lambda security group, and an endpoint policy that allows access only to the account's secret ARNs.
D.
Peer the VPC with a shared services VPC that has internet access and route Secrets Manager traffic through it.
3
Domain 2
A global media company stores assets in Amazon S3 buckets in us-east-1 and eu-west-1 with two-way replication enabled. Applications must use a single global endpoint for both reads and writes. Under normal conditions all requests must go to us-east-1, and operators must be able to shift all traffic to eu-west-1 within minutes during a Regional impairment without changing application configuration or DNS records. Which solution meets these requirements?
A.
Create an Amazon CloudFront distribution with an origin group that uses the us-east-1 bucket as primary and the eu-west-1 bucket as secondary.
B.
Create Route 53 failover records with CNAMEs that point to each bucket's Regional endpoint and attach health checks.
C.
Enable S3 Transfer Acceleration on both buckets and configure applications to use the accelerate endpoint.
D.
Create an S3 Multi-Region Access Point that includes both buckets, configure active-passive routing with failover controls, and have applications use the Multi-Region Access Point ARN.
4
Domain 2
A medical imaging provider stores 400 TB of scans in Amazon S3. After the first month, each scan is accessed about once per quarter, but when a radiologist opens a scan it must be returned within milliseconds. Scans must be retained for 10 years with high durability across multiple Availability Zones. Which storage strategy is MOST cost-effective?
A.
Use an S3 Lifecycle rule to transition objects to S3 Glacier Instant Retrieval after 30 days.
B.
Use an S3 Lifecycle rule to transition objects to S3 Standard-Infrequent Access after 30 days.
C.
Use an S3 Lifecycle rule to transition objects to S3 Glacier Flexible Retrieval after 30 days and use Expedited retrievals when needed.
D.
Use an S3 Lifecycle rule to transition objects to S3 One Zone-Infrequent Access after 30 days.
5
Domain 2
A company serves a high-traffic website through Amazon CloudFront at peaks of millions of requests per second. On every request the company must normalize query strings, rewrite URLs, and add security response headers. The logic is simple, needs no network calls, and must add sub-millisecond latency at the LOWEST cost. Which solution meets these requirements?
A.
Deploy a Lambda@Edge function on the viewer request and viewer response events.
B.
Deploy CloudFront Functions on the viewer request and viewer response events.
C.
Deploy a Lambda@Edge function on the origin request and origin response events.
D.
Route requests through an edge-optimized Amazon API Gateway API with a Lambda integration that rewrites the requests.
6
Domain 2
Choose 2
A financial services company exposes a public web application through an Application Load Balancer. The company must block SQL injection attempts and known malicious request patterns, and it must protect against large network-layer and application-layer DDoS attacks with 24/7 access to the AWS Shield Response Team and protection against scaling charges caused by attacks. Which combination of actions meets these requirements? (Choose TWO)
A.
Associate an AWS WAF web ACL with the ALB that includes the AWS Managed Rules SQL database and Known bad inputs rule groups.
B.
Enable Amazon GuardDuty with Runtime Monitoring for the instances behind the ALB.
C.
Deploy AWS Network Firewall in front of the ALB to inspect encrypted HTTPS payloads for SQL injection strings.
D.
Subscribe to AWS Shield Advanced and add the ALB as a protected resource.
E.
Enable AWS Security Hub with the AWS Foundational Security Best Practices standard.
7
Domain 1
A company with hundreds of accounts in AWS Organizations must ensure that workloads run only in eu-central-1 and eu-west-1. Global services such as IAM, AWS Organizations, Amazon CloudFront, Amazon Route 53, and AWS Support must continue to work, and a central break-glass IAM role must be exempt from the restriction. The solution must apply automatically to new accounts with the LEAST operational overhead. Which solution meets these requirements?
A.
Create an IAM permissions boundary that denies other Regions and require it on all roles in every account.
B.
Create a tag policy that requires an approved Region tag on all resources and attach it to the organization root.
C.
Deploy an AWS Config rule in every Region that detects resources outside the approved Regions and deletes them through automatic remediation.
D.
Attach an SCP to the organization root with a Deny statement that uses NotAction for the global services, a StringNotEquals condition on aws:RequestedRegion for the two approved Regions, and an ArnNotLike condition on aws:PrincipalARN for the break-glass role.
8
Domain 3
An IoT company writes sensor events to an Amazon DynamoDB table in on-demand capacity mode. The partition key is the event date (for example, 2026-11-10), so all writes for a day share the same key value. The company observes write throttling even though table-level consumption is well below account limits. Which change will resolve the throttling MOST effectively?
A.
Switch the table to provisioned capacity mode with auto scaling and a much higher write capacity target.
B.
Add a global secondary index with the event date as its partition key.
C.
Implement write sharding by appending a random suffix from 1 to N to the partition key value and have readers query all suffixes in parallel.
D.
Add a DynamoDB Accelerator (DAX) cluster in front of the table to absorb write traffic.
9
Domain 4
A company plans to rehost 120 Windows and Linux virtual machines from an on-premises VMware environment to Amazon EC2. Each application can tolerate a maximum of 30 minutes of downtime during cutover, and the team must run non-disruptive test launches in AWS before cutover. Which approach requires the LEAST effort?
A.
Install the AWS Replication Agent on each server with AWS Application Migration Service, launch test instances to validate, and then perform cutover once replication is in continuous sync.
B.
Export each VM as an OVA file, upload it to Amazon S3, and use VM Import/Export to create AMIs for each server.
C.
Copy VMDK files to an AWS Snowball Edge device, ship it to AWS, and import the disks with VM Import/Export.
D.
Rebuild each server with AWS CloudFormation templates and copy application data with AWS DataSync before cutover.
10
Domain 1
A company has dozens of VPCs across multiple AWS accounts connected through AWS Transit Gateway to an on-premises data center. Workloads in every VPC must resolve the on-premises domain corp.example.internal, and on-premises servers must resolve records in Route 53 private hosted zones. The company wants a centralized solution with the LEAST operational overhead. Which solution meets these requirements?
A.
Deploy BIND DNS servers on Amazon EC2 in every VPC and configure conditional forwarders to the on-premises DNS servers.
B.
In a shared networking VPC, create Route 53 Resolver inbound and outbound endpoints, create a forwarding rule for corp.example.internal, share the rule with all accounts through AWS RAM and associate it with each VPC, and configure on-premises DNS to forward AWS zones to the inbound endpoint IP addresses.
C.
Create a DHCP options set in every VPC that points only to the on-premises DNS servers.
D.
Create a Route 53 public hosted zone for corp.example.internal and replicate on-premises records into it.
0/10 terjawab
Periksa