📝 Drill SAP-C02 — pagi 2026-10-05
Set #13 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company has a data center in Chicago connected to AWS with a single 10 Gbps AWS Direct Connect dedicated connection. The company runs 40 VPCs across multiple accounts in us-east-1 and eu-west-1. In each Region, all VPCs are attached to a Region-specific AWS Transit Gateway. The network team needs private connectivity from the data center to every VPC in both Regions. The solution must scale automatically as new VPCs are attached and must have the LEAST operational overhead. Which solution meets these requirements?
A.
Create one private virtual interface (VIF) per VPC on the Direct Connect connection and attach each VIF to a virtual private gateway in the corresponding VPC.
B.
Create a Direct Connect gateway, associate both transit gateways with it, and create a single transit VIF on the Direct Connect connection that terminates on the Direct Connect gateway.
C.
Create a public VIF on the Direct Connect connection and establish AWS Site-to-Site VPN tunnels over it to each transit gateway.
D.
Create a private VIF to a Direct Connect gateway and associate the Direct Connect gateway with a virtual private gateway attached to each VPC.
2
Domain 1
A SaaS provider runs a TCP-based API on Amazon EC2 instances in its own VPC (10.0.0.0/16). Hundreds of customers want to consume the API privately from their own VPCs, and many customer VPCs also use 10.0.0.0/16. Customers must be able to reach only the API, and the provider must not be able to initiate connections into customer VPCs. Which solution meets these requirements?
A.
Create a VPC peering connection with each customer VPC and use security groups to allow only the API port.
B.
Attach the provider VPC and all customer VPCs to a shared AWS Transit Gateway and use separate route tables per customer.
C.
Place the API behind an internet-facing Network Load Balancer and allow customer NAT gateway IP addresses in the security group.
D.
Place the API behind a Network Load Balancer, create a VPC endpoint service (AWS PrivateLink), allowlist customer principals, and have customers create interface VPC endpoints.
3
Domain 1
Choose 2
A company has 120 AWS accounts in AWS Organizations with all features enabled, and new accounts are added every month. The security team must ensure that every Application Load Balancer and Amazon API Gateway stage in all current and future accounts automatically has a baseline AWS WAF web ACL containing an AWS managed rule group. The solution must require the LEAST operational overhead. Which combination of steps should the security team take? (Choose TWO)
A.
From the Organizations management account, designate a Firewall Manager administrator account, and ensure AWS Config is enabled in all member accounts.
B.
Deploy an AWS CloudFormation StackSet that creates a web ACL in each account, and use an AWS Lambda function to associate it with new load balancers.
C.
Create an AWS Firewall Manager AWS WAF policy that contains the managed rule group, scope it to the organization, and enable automatic remediation.
D.
Subscribe all accounts to AWS Shield Advanced and enable automatic application layer DDoS mitigation.
E.
Create an SCP that denies elasticloadbalancing:CreateLoadBalancer unless a web ACL is already associated.
4
Domain 1
A company runs an order management application on Amazon EC2 instances behind an Application Load Balancer, with an Amazon RDS for MySQL database, in us-west-2. For a Regional disaster, the business requires an RTO of 4 hours and an RPO of 15 minutes. The company wants the MOST cost-effective disaster recovery solution in us-east-1. Which solution meets these requirements?
A.
Migrate to Amazon Aurora Global Database and run a full-size active application stack in both Regions behind Route 53 latency-based routing.
B.
Run a scaled-down but fully functional copy of the application tier in us-east-1 at all times, with a cross-Region read replica, and scale it out during failover.
C.
Create a cross-Region RDS read replica in us-east-1, copy AMIs to us-east-1, and keep an AWS CloudFormation template ready to launch the application tier and promote the replica during a disaster.
D.
Take daily automated RDS snapshots and AMIs, copy them to us-east-1, and restore the full stack from the copies during a disaster.
5
Domain 1
A company has an AWS Control Tower landing zone. Development teams request new AWS accounts every week. Each new account must be enrolled in Control Tower in the correct OU so that controls apply, and must automatically receive a baseline VPC and a standard set of IAM roles. The platform team wants teams to request accounts themselves with the LEAST operational overhead. Which solution meets these requirements?
A.
Give teams access to Control Tower Account Factory through AWS Service Catalog, and use Account Factory Customization (AFC) blueprints to provision the baseline VPC and IAM roles.
B.
Create accounts with the Organizations CreateAccount API from an AWS Lambda function, move them to the OU, and deploy the baseline with a CloudFormation StackSet run manually.
C.
Have the platform team create accounts in the Organizations console on request and run a baseline script in each new account.
D.
Provision a single shared account and create a separate IAM role and VPC for each team inside it.
6
Domain 1
A company gives each developer a sandbox account in AWS Organizations. When the forecasted monthly cost of a sandbox account exceeds $500, the company wants to automatically prevent new Amazon EC2 instances from being launched in that account, while allowing existing resources to keep running. The solution must use the LEAST custom code. Which solution meets these requirements?
A.
Enable AWS Cost Anomaly Detection and send alerts to an Amazon SNS topic that invokes an AWS Lambda function to terminate EC2 instances in the account.
B.
Create a CloudWatch billing alarm that invokes an AWS Lambda function to stop all EC2 instances in the account.
C.
Use Service Quotas to lower the On-Demand vCPU quota of each sandbox account to a small value.
D.
Create an AWS Budgets budget for each sandbox account with a budget action that applies an SCP denying ec2:RunInstances when the forecasted threshold is exceeded.
7
Domain 2
A gaming company stores player profiles for users in North America, Europe, and Asia. Each player must be able to update their profile with single-digit millisecond write latency from the nearest Region, and the service must continue to accept reads and writes if an entire Region fails. The company wants the LEAST operational overhead. Which solution meets these requirements?
A.
Use Amazon Aurora Global Database with write forwarding enabled on the secondary Regions.
B.
Use Amazon DynamoDB global tables with replicas in three Regions and route users to the nearest Regional API endpoint with Route 53 latency-based routing.
C.
Use a single Amazon DynamoDB table in us-east-1 and deploy DynamoDB Accelerator (DAX) clusters in Europe and Asia.
D.
Use separate DynamoDB tables in each Region and replicate changes with DynamoDB Streams and AWS Lambda functions.
8
Domain 2
A company runs Java 21 Spring Boot AWS Lambda functions behind Amazon API Gateway. Traffic is sporadic, and cold starts of 6-8 seconds during initialization cause client timeouts. The company wants to reduce cold start latency with the LEAST cost and minimal code changes. Which solution meets these requirements?
A.
Configure provisioned concurrency on each function sized for peak traffic.
B.
Increase the memory of each function to 10,240 MB.
C.
Enable Lambda SnapStart on the functions, publish versions, and invoke the functions through an alias.
D.
Rewrite the functions in Node.js to reduce initialization time.
9
Domain 3
A company uses bastion hosts in public subnets to SSH into private Amazon EC2 instances. Fifty administrators share the same SSH key pairs. Auditors now require that no inbound ports are open on any instance, that access is granted per user through IAM, and that all session activity is logged. Which solution meets these requirements with the LEAST operational overhead?
A.
Remove the bastion hosts, attach an instance profile that allows AWS Systems Manager, create VPC interface endpoints for Systems Manager, and use Session Manager with session logging to Amazon S3 or CloudWatch Logs.
B.
Use EC2 Instance Connect through an EC2 Instance Connect Endpoint and allow port 22 from the endpoint in the instance security groups.
C.
Deploy AWS Client VPN and have administrators SSH to instances using individual key pairs.
D.
Keep the bastion hosts, restrict their security group to corporate IP ranges, and use AWS CloudTrail to log SSH sessions.
10
Domain 4
A company runs an on-premises SFTP server that 300 external partners use to upload files with SSH key authentication. The company wants to migrate the service to AWS so that files land in Amazon S3 for downstream processing. Partners must not need to change their hostname, keys, or upload process. The solution must have the LEAST operational overhead. Which solution meets these requirements?
A.
Launch Amazon EC2 instances running OpenSSH with s3fs to mount an S3 bucket, and place them behind a Network Load Balancer.
B.
Use AWS DataSync agents at partner sites to transfer files directly to Amazon S3.
C.
Deploy an Amazon S3 File Gateway and give partners access to the file share.
D.
Create an AWS Transfer Family SFTP server with Amazon S3 storage, import the existing host key and partner SSH public keys as service-managed users, and point the existing hostname to the server endpoint with a Route 53 CNAME.
0/10 terjawab
Periksa