📝 Drill SAP-C02 — pagi 2026-10-17
Set #37 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company has 40 VPCs attached to a single AWS Transit Gateway. The VPCs belong to production, development, and shared services environments, and the Transit Gateway also has a Direct Connect gateway attachment to the on-premises data center. Security requires that production and development VPCs can never communicate with each other, while both must reach shared services and on-premises networks. Which solution meets these requirements with the LEAST operational overhead?
A.
Keep the default Transit Gateway route table and add network ACL rules in every production and development subnet that deny traffic from the other environment's CIDR ranges.
B.
Create separate Transit Gateway route tables for production, development, and shared services. Associate each VPC attachment with its environment's route table, propagate the shared services and Direct Connect gateway attachments into the production and development route tables, and propagate production and development attachments only into the shared services route table.
C.
Remove the Transit Gateway and build a VPC peering mesh between each production VPC and the shared services VPCs, and between each development VPC and the shared services VPCs.
D.
Deploy a separate Transit Gateway for each environment and connect them with Transit Gateway peering attachments, using security groups to block production-to-development traffic.
2
Domain 1
A company uses AWS Organizations with more than 150 member accounts, and new accounts are created every week. A central S3 bucket in the log archive account must accept PutObject requests from IAM principals in any current or future account in the organization, and must reject requests from principals outside the organization. Which solution meets these requirements with the LEAST operational overhead?
A.
List every member account ID in the bucket policy and use an EventBridge rule on the CreateAccount event to invoke a Lambda function that appends new account IDs to the policy.
B.
Create an IAM role in the log archive account with s3:PutObject permissions and update every workload to assume that role before writing logs.
C.
Use S3 object ACLs that grant write permission to the canonical user ID of each member account.
D.
Add a bucket policy statement that allows s3:PutObject for Principal "*" with a condition that aws:PrincipalOrgID equals the organization ID.
3
Domain 1
A financial services company runs an active-passive application in us-east-1 and us-west-2. During a recent partial impairment, automated Route 53 health checks flapped and caused an unintended failover that led to data inconsistency. The company now wants operators to trigger Regional failover deliberately, with guardrails that prevent both Regions from being disabled at the same time, and the failover mechanism must keep working even if the primary Region's control plane is impaired. Which solution meets these requirements?
A.
Use Amazon Route 53 Application Recovery Controller routing controls tied to Route 53 health checks, define safety rules that require at least one Region to stay on, and change routing control states through the cluster's Regional data plane endpoints.
B.
Create a Lambda function in us-east-1 that calls the Route 53 ChangeResourceRecordSets API to swap the failover records when an operator invokes it.
C.
Lower the Route 53 health check request interval to 10 seconds and reduce the failure threshold so failover decisions are made faster.
D.
Place both Regions behind AWS Global Accelerator and have operators update endpoint group traffic dials through a CloudFormation stack deployed in us-east-1.
4
Domain 1
A company has set up AWS Control Tower to govern its multi-account environment. The platform team manages all infrastructure with Terraform and wants to vend new accounts through a GitOps workflow: an account request is merged into a Git repository, the account is provisioned and enrolled in Control Tower, and Terraform-based baseline and account-specific customizations are applied automatically. Which solution meets these requirements with the LEAST operational overhead?
A.
Publish an AWS Service Catalog product that wraps CloudFormation StackSets and have engineers launch the product for each new account.
B.
Write a Lambda function that calls the Organizations CreateAccount API and then triggers an AWS CodeBuild project that runs the Terraform baseline.
C.
Deploy AWS Control Tower Account Factory for Terraform (AFT), store account requests in the AFT Git repository, and define global and account-level customizations in Terraform.
D.
Deploy Customizations for AWS Control Tower (CfCT) and convert the Terraform baseline into CloudFormation templates and SCPs in the CfCT manifest.
5
Domain 1
A holding company operates AWS on behalf of several subsidiaries, each grouped into its own set of member accounts in one organization. Each subsidiary must see its monthly AWS costs in the Billing console calculated at public On-Demand rates plus a 5% markup, instead of the organization's actual discounted rates, and a shared enterprise support fee must be split across subsidiaries as a separate charge. Which solution meets these requirements with the LEAST operational overhead?
A.
Create Cost Categories for each subsidiary and share Cost Explorer saved reports with the subsidiaries' finance teams.
B.
Use AWS Billing Conductor to create a billing group per subsidiary, attach a pricing plan with a 5% markup pricing rule, and add custom line items for the shared support fee.
C.
Deliver the Cost and Usage Report to S3, query it with Athena, and build Amazon QuickSight dashboards that apply the markup and fee allocation in SQL.
D.
Turn off Reserved Instance and Savings Plans discount sharing for every subsidiary account so each subsidiary is billed at On-Demand rates.
6
Domain 1
A gaming company runs UDP-based multiplayer game servers behind Network Load Balancers in three AWS Regions. Players around the world report high jitter and packet loss over the public internet. The game client must connect to a small set of static IP addresses that never change, and traffic must shift to a healthy Region within seconds if a Region becomes unavailable. Which solution meets these requirements?
A.
Create an AWS Global Accelerator standard accelerator with a UDP listener and one endpoint group per Region that targets each Region's Network Load Balancer.
B.
Create an Amazon CloudFront distribution with the three Network Load Balancers configured as an origin group.
C.
Configure Amazon Route 53 latency-based routing records with health checks that point to each Region's Network Load Balancer.
D.
Connect the three Regions with Transit Gateway inter-Region peering and advertise a single Elastic IP address from the primary Region.
7
Domain 2
Choose 2
A company stores IoT telemetry in an Amazon DynamoDB table that grows by 200 GB each month. Items older than 30 days must be removed from the table automatically, and every removed item must be archived to Amazon S3 so analysts can query it with Amazon Athena. The solution must minimize cost and operational overhead and must not consume provisioned write capacity for deletions. Which combination of steps meets these requirements? (Choose TWO)
A.
Schedule a Lambda function that runs a Scan each night, writes items older than 30 days to S3, and deletes them with BatchWriteItem.
B.
Run a daily DynamoDB full export to S3 and then delete the exported items that are older than 30 days.
C.
Add an expiration timestamp attribute to each item and enable DynamoDB Time to Live (TTL) on that attribute.
D.
Change the table class to DynamoDB Standard-Infrequent Access so that older items are moved to lower-cost storage automatically.
E.
Enable DynamoDB Streams and use a Lambda function with an event filter for TTL deletions (userIdentity principal dynamodb.amazonaws.com) that sends the old item images to Amazon Data Firehose, which delivers them to S3.
8
Domain 3
A company administers private Amazon EC2 Linux instances through SSH bastion hosts in public subnets, using shared SSH key pairs. An audit finding requires that no instance allows inbound management ports, that access is granted through IAM, and that full session activity is logged to Amazon S3. The instances are in private subnets without internet access. Which solution meets these requirements with the LEAST operational overhead?
A.
Restrict the bastion host security groups to the corporate IP range, rotate the SSH key pairs every 90 days, and enable AWS CloudTrail.
B.
Deploy AWS Client VPN into the VPC and have administrators SSH directly to private IP addresses using individual key pairs.
C.
Replace the bastion hosts with a Network Load Balancer that forwards port 22 to the instances, and enable NLB access logs.
D.
Use AWS Systems Manager Session Manager with an instance profile that includes AmazonSSMManagedInstanceCore, create VPC interface endpoints for Systems Manager, enable session logging to S3, and remove the bastion hosts and all inbound SSH rules.
9
Domain 4
A company runs an on-premises SFTP server that 200 external partners use to upload invoice files. The company is migrating the workload to AWS and wants the files to land in Amazon S3 for downstream processing. Partners must keep using SFTP with the same hostname and their existing credentials, which are validated against the company's existing LDAP directory. Which solution meets these requirements with the LEAST operational overhead?
A.
Launch Amazon EC2 instances in an Auto Scaling group running OpenSSH with an s3fs mount of the bucket, and integrate PAM with LDAP for authentication.
B.
Use AWS DataSync to copy files from the on-premises SFTP server to S3 every hour and keep the on-premises server running for partners.
C.
Create an AWS Transfer Family SFTP server with an S3 backend and a custom identity provider implemented with a Lambda function that validates credentials against LDAP, then point the existing hostname to the server endpoint with a Route 53 CNAME record.
D.
Deploy an AWS Storage Gateway S3 File Gateway on premises and give partners SMB access to file shares backed by S3.
10
Domain 3
A company runs a Java 21 Spring Boot application on AWS Lambda behind Amazon API Gateway. Traffic is bursty and unpredictable, and p99 latency during bursts is 6 seconds because of cold starts caused by framework initialization. The company wants to reduce cold start latency significantly without paying for pre-initialized capacity that sits idle between bursts. Which solution is the MOST cost-effective?
A.
Enable Lambda SnapStart for the function, publish a new version, and point the API Gateway integration to an alias for that version.
B.
Configure provisioned concurrency on the function alias sized for peak burst traffic.
C.
Increase the function memory to 10,240 MB so initialization completes faster.
D.
Migrate the application to Amazon ECS on AWS Fargate with enough always-running tasks to absorb peak bursts.
0/10 terjawab
Periksa