📝 Drill SAP-C02 — sore 2026-11-26
Set #117 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company runs 40 VPCs across us-east-1 and eu-west-1. The VPCs in each Region are attached to a Regional AWS Transit Gateway. The company has a single 10 Gbps AWS Direct Connect connection at a location in Virginia. On-premises users must reach every VPC in both Regions over the private Direct Connect link. Which solution meets these requirements with the FEWEST virtual interfaces and the LEAST operational overhead?
A.
Create one private virtual interface per VPC and attach each one to a virtual private gateway in that VPC.
B.
Create a public virtual interface and establish AWS Site-to-Site VPN connections over it to each transit gateway.
C.
Create one transit virtual interface to a Direct Connect gateway and associate the Direct Connect gateway with both transit gateways, advertising the VPC prefixes.
D.
Create one private virtual interface to a Direct Connect gateway and associate the Direct Connect gateway with a virtual private gateway in each of the 40 VPCs.
2
Domain 1
A company in AWS Organizations must restrict all member accounts to eu-central-1 and eu-west-1 for data residency. Global services such as IAM, CloudFront, Route 53, and AWS Support must continue to work, and a central break-glass role must be exempt from the restriction. Which solution meets these requirements with the LEAST operational overhead?
A.
Attach an SCP to the root with a Deny statement that uses NotAction to exclude 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.
B.
Replace the FullAWSAccess SCP with an SCP that allows all actions only when aws:RequestedRegion equals one of the two approved Regions.
C.
Create an IAM permissions boundary that denies actions outside the approved Regions and attach it to every IAM user and role in every member account.
D.
Deploy an AWS Config rule in every account that detects resources created outside the approved Regions and invokes a Lambda function to delete them.
3
Domain 1
A company has dozens of microservices owned by teams in separate AWS accounts. Many of the VPCs use overlapping CIDR ranges. Services run on Amazon ECS, Amazon EC2, and AWS Lambda and must call each other over HTTPS with IAM-based authorization per service. The networking team does not want to manage VPC peering, transit gateway route tables, or NAT for overlapping ranges. Which solution meets these requirements with the LEAST operational overhead?
A.
Attach all VPCs to a transit gateway and deploy NAT appliances in an inspection VPC to translate the overlapping ranges.
B.
Create a full mesh of VPC peering connections and use private NAT gateways to translate overlapping addresses.
C.
Expose each microservice as a PrivateLink endpoint service behind a Network Load Balancer and create interface endpoints in every consumer VPC.
D.
Create an Amazon VPC Lattice service network, share it through AWS RAM, associate the VPCs, register each microservice as a Lattice service, and apply auth policies.
4
Domain 1
Finance needs chargeback by cost center across 120 accounts in AWS Organizations. Resources are tagged inconsistently (CostCenter, costcenter, cost-center) and often with invalid values. The company wants to standardize the tag key capitalization and allowed values, prevent noncompliant tagging on specific resource types, and report spend by cost center in Cost Explorer. Which solution meets these requirements?
A.
Deploy the AWS Config required-tags managed rule in every account and use a Lambda function to rename noncompliant tag keys each night.
B.
Create an Organizations tag policy that defines the CostCenter key with its capitalization and allowed values, enforce it for the required resource types, and activate CostCenter as a cost allocation tag in the management account.
C.
Attach an SCP that denies all create actions unless the aws:RequestTag/CostCenter key is present, and filter Cost Explorer by linked account.
D.
Create AWS Cost Categories rules that map every misspelled tag variant to the correct cost center and leave tagging unchanged.
5
Domain 1
Choose 2
A security team requires that API activity from all current and future accounts in AWS Organizations is logged to a central log archive account. Administrators in member accounts must not be able to stop or delete the logging, and auditors must be able to prove that log files were not modified after delivery. Which combination of steps meets these requirements? (Choose TWO)
A.
Use CloudFormation StackSets to create a separate trail in each member account that delivers to the central bucket.
B.
Create an organization trail from the management account (or a delegated administrator) that delivers to an S3 bucket in the log archive account.
C.
Enable CloudTrail Insights events on the trail.
D.
Enable log file integrity validation on the trail.
E.
Grant each member account s3:PutObject in the bucket policy and rely on IAM policies in member accounts to prevent log deletion.
6
Domain 1
A trading platform runs active/standby in us-east-1 and us-west-2. Regional failover must be triggered manually by operators, must work even if AWS control planes in the primary Region are impaired, and must avoid automatic failover caused by flapping health checks. The RTO is 5 minutes. Which solution meets these requirements?
A.
Use Amazon Route 53 Application Recovery Controller routing controls with safety rules, associate them with Route 53 failover records through routing control health checks, and toggle them using the cluster data plane endpoints.
B.
Create a Lambda function in us-east-1 that operators invoke to update the Route 53 record sets to point to us-west-2.
C.
Place both Regions behind AWS Global Accelerator and have operators change the endpoint group traffic dial through the Global Accelerator API.
D.
Configure Route 53 latency-based records with health checks against each Region's Application Load Balancer.
7
Domain 2
A company ingests JSON clickstream events from its mobile apps and wants to store them in Amazon S3 as Apache Parquet, partitioned by customer ID and date, so analysts can query them with Amazon Athena. Data must be available within a few minutes of arrival. Which solution meets these requirements with the LEAST operational overhead?
A.
Run an Apache Spark Structured Streaming application on an Amazon EC2 Auto Scaling group that writes Parquet files to S3.
B.
Send events to Amazon Kinesis Data Streams, use a Lambda consumer to write raw JSON to S3, and run an hourly AWS Glue ETL job to convert to Parquet.
C.
Send events to Amazon Data Firehose with record format conversion to Parquet using an AWS Glue Data Catalog schema and dynamic partitioning on customer ID and date.
D.
Send events to Amazon MSK and run a self-managed Kafka Connect S3 sink connector on EC2.
8
Domain 3
A serverless API uses AWS Lambda functions that connect to an Amazon RDS for MySQL Multi-AZ instance. During traffic spikes the application logs 'too many connections' errors, and during failovers clients take several minutes to reconnect. The company wants to fix both issues with minimal code changes. What should a solutions architect recommend?
A.
Increase the DB instance size and raise the max_connections parameter.
B.
Add read replicas and configure the Lambda functions to spread queries across them.
C.
Place Amazon ElastiCache for Redis in front of the database to cache query results.
D.
Create an Amazon RDS Proxy for the database and point the Lambda functions to the proxy endpoint, using IAM authentication with Secrets Manager credentials.
9
Domain 4
A company must migrate an 8 TB on-premises Oracle database with extensive PL/SQL stored procedures to Amazon Aurora PostgreSQL. The business allows a maximum of 30 minutes of downtime for cutover. Which approach meets these requirements?
A.
Export the database with Oracle Data Pump, copy the dump files to Amazon S3, and import them directly into Aurora PostgreSQL.
B.
Convert the schema and PL/SQL code with AWS Schema Conversion Tool (or DMS Schema Conversion), then use AWS DMS full load plus ongoing change data capture and cut over when replication lag is near zero.
C.
Use AWS DMS full load only during a weekend maintenance window and switch the application after the load finishes.
D.
Use AWS Application Migration Service to replicate the database server and launch it in AWS as the Aurora cluster.
10
Domain 2
A SaaS startup needs a PostgreSQL-compatible database for a new product. The workload is idle most nights, but during the day it can spike to 10 times normal load within seconds at unpredictable times. The company wants to minimize cost while scaling compute quickly without manual intervention or application changes. Which solution meets these requirements?
A.
Use Amazon Aurora PostgreSQL Serverless v2 with a low minimum ACU setting and an appropriate maximum ACU.
B.
Use a provisioned Aurora PostgreSQL cluster with Aurora Auto Scaling for read replicas.
C.
Use Amazon RDS for PostgreSQL with storage autoscaling enabled.
D.
Use Amazon DynamoDB with on-demand capacity mode.
0/10 terjawab
Periksa