📝 Drill SAP-C02 — pagi 2026-11-21
Set #106 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company connects 40 VPCs in one Region to a single AWS Transit Gateway. Production and development VPCs must not be able to reach each other, but both must reach a shared-services VPC and the on-premises network over an existing Site-to-Site VPN attachment. All VPC attachments currently associate with and propagate to the default Transit Gateway route table. Which solution meets these requirements with the LEAST operational overhead?
A.
Keep the default route table and add network ACL rules in every production and development VPC that deny the other environment's CIDR ranges.
B.
Create separate prod, dev, and shared Transit Gateway route tables. Associate each VPC attachment with its environment's table, propagate prod and dev routes only to the shared table, and propagate the shared-services and VPN routes to both the prod and dev tables.
C.
Deploy a second Transit Gateway for development, peer it with the first, and move all development VPC attachments to it.
D.
Replace the Transit Gateway with VPC peering between each workload VPC and the shared-services VPC, and add a VPN connection to each workload VPC.
2
Domain 1
A financial services company runs workloads in private subnets that must download updates only from three specific vendor FQDNs over HTTPS. All other outbound internet traffic must be blocked, and the control must scale automatically without managing EC2 instances. Outbound traffic currently goes through NAT gateways. Which solution meets these requirements?
A.
Update the security groups of the workloads to allow outbound 443 only to the vendor domain names.
B.
Add network ACL rules on the private subnets that allow outbound 443 to the vendor domains and deny all other traffic.
C.
Configure AWS WAF on the NAT gateways with a rule that allows only the vendor host headers.
D.
Deploy AWS Network Firewall in a firewall subnet, route the private subnets' outbound traffic through the firewall endpoint before the NAT gateway, and use a stateful domain list rule group that allows only the vendor FQDNs (TLS SNI) and denies everything else.
3
Domain 1
A company stores shared research data in a single Amazon S3 bucket used by 25 application teams across several accounts. Each team needs access to different prefixes, some only from specific VPCs. The bucket policy has grown close to its size limit and every change risks breaking another team's access. Which solution will simplify access management while maintaining least privilege?
A.
Create a separate S3 access point for each team with an access point policy scoped to that team's prefix, configure VPC-only network origin where required, and delegate access control from the bucket policy to the access points.
B.
Split the bucket policy into multiple IAM managed policies and attach them to the bucket.
C.
Enable S3 Object Ownership and use object ACLs to grant each team access to its prefix.
D.
Replicate the bucket into one bucket per team by using S3 Replication and give each team its own bucket policy.
4
Domain 1
Choose 2
A company with 120 accounts in AWS Organizations wants every existing and future internet-facing Application Load Balancer to automatically have a baseline set of AWS WAF managed rules applied, with centralized management by the security team. Which actions must the company take? (Choose TWO)
A.
Subscribe every account to AWS Shield Advanced.
B.
Designate a security account as the AWS Firewall Manager administrator account for the organization.
C.
Deploy the web ACL to every account with CloudFormation StackSets and associate it with ALBs by using a scheduled Lambda function.
D.
Enable Amazon GuardDuty in all accounts and send findings to AWS Security Hub.
E.
Enable AWS Config in all member accounts and Regions in scope, then create a Firewall Manager AWS WAF policy targeting ALBs with auto remediation enabled.
5
Domain 1
A security team must continuously identify any IAM role, KMS key, S3 bucket, or Lambda function in any account of the company's AWS Organizations organization that grants access to principals outside the organization. New accounts must be covered automatically, and findings should be reviewed from a single delegated security account. Which solution meets these requirements with the LEAST effort?
A.
Run a weekly Lambda function in each account that parses all resource policies and reports external principals to an S3 bucket.
B.
Enable Amazon Macie in all accounts and review sensitive data findings in the delegated administrator account.
C.
Register a delegated administrator for IAM Access Analyzer and create an external access analyzer with the organization as the zone of trust in that account.
D.
Enable AWS CloudTrail organization trail and create Amazon Athena queries to find cross-account AssumeRole calls.
6
Domain 1
A holding company uses consolidated billing for all accounts in AWS Organizations. One subsidiary's account must be billed independently and must not receive discounts from Reserved Instances or Savings Plans purchased by other business units, while all other accounts continue to share discounts. Which solution meets this requirement with the LEAST operational effort?
A.
In the management account's billing preferences, turn off RI and Savings Plans discount sharing for the subsidiary's account only.
B.
Move the subsidiary's account to a separate organizational unit and attach an SCP that denies savingsplans:* actions.
C.
Remove the subsidiary's account from the organization and create a new organization for it.
D.
Apply cost allocation tags to the subsidiary's resources and use AWS Cost Categories to exclude them from discounts.
7
Domain 2
A company is building a customer-facing API with AWS Lambda functions written in Java 21 behind Amazon API Gateway. Traffic is unpredictable, and initialization of the Spring framework causes cold starts of several seconds. The company wants to reduce cold-start latency significantly without paying for idle pre-warmed capacity. Which solution meets these requirements?
A.
Configure provisioned concurrency on the functions equal to the peak expected concurrency.
B.
Increase the function memory to 10,240 MB and set the timeout to 15 minutes.
C.
Create an Amazon EventBridge rule that invokes each function every 5 minutes to keep it warm.
D.
Enable Lambda SnapStart on published function versions and invoke the functions through an alias that points to the published version.
8
Domain 3
A company's analytics cluster in private subnets reads and writes about 80 TB per month to Amazon S3 buckets in the same Region. A cost review shows that most of the NAT gateway data processing charges come from this S3 traffic. The company wants to reduce costs with minimal changes to the application. Which solution is MOST cost-effective?
A.
Create an S3 interface VPC endpoint in each private subnet and update the application to use the endpoint-specific DNS names.
B.
Replace the NAT gateways with NAT instances on Graviton EC2 instances.
C.
Create an S3 gateway VPC endpoint and associate it with the private subnets' route tables.
D.
Enable S3 Transfer Acceleration on the buckets.
9
Domain 2
A media company is designing a global website on Amazon CloudFront. On every viewer request, it must normalize the URL path, redirect legacy paths, and add security response headers. The logic is simple, runs in under 1 ms, and needs no network calls. The company expects billions of requests per month and wants the lowest cost and latency. Which solution should the architect choose?
A.
Lambda@Edge functions on viewer request and viewer response events.
B.
CloudFront Functions on viewer request and viewer response events.
C.
An Application Load Balancer origin with listener rules for redirects and an AWS Lambda target to add headers.
D.
AWS WAF rules on the distribution to rewrite URLs and insert headers.
10
Domain 4
A company runs 60 ASP.NET applications on .NET Framework 4.8 on Windows Server VMs on premises. Leadership wants to move them to containers on Amazon ECS quickly, without rewriting code, and generate the container images, task definitions, and CI/CD pipelines with minimal manual work. Which approach meets these requirements?
A.
Port the applications to .NET 8 with AWS Transform, then deploy them to AWS Lambda.
B.
Rehost the VMs with AWS Application Migration Service, then manually write Dockerfiles on the migrated EC2 instances.
C.
Use AWS Elastic Beanstalk to deploy each application directly from the source code to a Windows platform.
D.
Use AWS App2Container to analyze the running applications, generate Windows container images and ECS task definitions, and create deployment pipelines.
0/10 terjawab
Periksa