📝 Drill SAP-C02 — sore 2026-11-24
Set #113 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company has 40 workload VPCs attached to an AWS Transit Gateway. Security policy states that instances may make outbound HTTPS calls only to a short list of approved SaaS domains, and the list must be managed in one place. Today each VPC has its own NAT gateway, and teams keep adding broad security group egress rules. Which solution meets the requirement with the LEAST operational overhead?
A.
Replace the security group egress rules in every VPC with rules that allow only the IP ranges currently returned by DNS for the SaaS domains, and update them with a scheduled Lambda function.
B.
Add network ACLs in each workload VPC that deny all outbound traffic except TCP 443, and keep the per-VPC NAT gateways.
C.
Create a centralized egress VPC with AWS Network Firewall and NAT gateways, route all workload VPC default routes through the Transit Gateway to the firewall, and use a stateful domain-list rule group that allows only the approved domains (TLS SNI) and drops everything else.
D.
Deploy Route 53 Resolver query logging in every VPC and alert the security team through EventBridge when instances resolve domains that are not on the approved list.
2
Domain 1
A data lake bucket in Amazon S3 is shared by 25 analytics teams, each needing access to a different prefix. The single bucket policy is approaching the 20 KB size limit and every change requires review by the platform team, which slows onboarding. The company wants each team's permissions to be managed independently while keeping all data in the same bucket. What should a solutions architect recommend?
A.
Create an S3 access point per team with an access point policy scoped to that team's prefix, and delegate access control from the bucket policy to the access points.
B.
Split the data into 25 buckets, one per team, and use S3 Replication to keep a combined copy for cross-team queries.
C.
Remove the bucket policy and rely only on IAM identity policies attached to each team's roles, with S3 Block Public Access enabled.
D.
Enable S3 Object Ownership (bucket owner enforced) and grant each team access through object ACLs on their prefix.
3
Domain 1
A company runs Active Directory DNS on premises for corp.example.com and has 60 VPCs across 12 accounts in AWS Organizations, connected through a Transit Gateway and AWS Direct Connect. On-premises servers must resolve names in Route 53 private hosted zones, and all VPCs must resolve corp.example.com. The company wants a centrally managed design with the fewest components. Which solution meets these requirements?
A.
Deploy a pair of EC2-based BIND forwarders in every VPC and configure DHCP option sets to point to them and to on-premises DNS.
B.
Set the DHCP options set in every VPC to use the on-premises DNS servers, and configure conditional forwarders on premises to the Amazon-provided DNS (VPC +2) address of each VPC.
C.
Create Route 53 Resolver outbound endpoints in every VPC and a separate forwarding rule in each account for corp.example.com.
D.
In a shared networking VPC, create Route 53 Resolver inbound and outbound endpoints, create a forwarding rule for corp.example.com, 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 IPs.
4
Domain 1
Developers in a sandbox account need to create IAM roles for their Lambda functions without waiting for the security team. The security team must ensure that any role a developer creates can never have more permissions than a defined set (for example, no IAM or Organizations actions), even if the developer attaches AdministratorAccess to it. Which approach meets these requirements?
A.
Grant developers the PowerUserAccess managed policy, which allows creating roles but excludes IAM actions on the roles they create.
B.
Allow developers iam:CreateRole and iam:AttachRolePolicy only with a condition that iam:PermissionsBoundary equals a security-managed boundary policy, and deny removing or changing that boundary.
C.
Apply an SCP to the sandbox account that denies iam:CreateRole for all principals except the security team.
D.
Use IAM Access Analyzer policy validation in the CI pipeline to reject role definitions that include administrative actions.
5
Domain 1
A company with 80 accounts in AWS Organizations requires that every internet-facing Application Load Balancer and Amazon CloudFront distribution, including ones created in the future, is protected by a baseline set of AWS WAF managed rules. Application teams must still be able to add their own rules. Which solution provides this with the LEAST operational overhead?
A.
Designate a Firewall Manager administrator account and create an AWS WAF policy with the baseline rule groups as first rule groups, scoped to the organization with automatic remediation enabled for ALBs and CloudFront distributions.
B.
Use CloudFormation StackSets to deploy a web ACL to every account and Region, and ask application teams to associate it with new load balancers.
C.
Create an AWS Config rule in each account that detects unprotected ALBs and sends an SNS notification to the security team for manual association.
D.
Enable AWS Shield Advanced on all accounts so that WAF rules are applied automatically to protected resources.
6
Domain 1
Choose 2
A security account owns a customer managed AWS KMS key. An application role in a separate workload account in the same organization must use this key to decrypt objects and generate data keys. Which TWO actions are required to grant this access? (Choose TWO)
A.
Create a KMS grant in the workload account that references the key ARN, without changing the key policy.
B.
Add a statement to the key policy in the security account that allows the workload account (or the specific role ARN) to use kms:Decrypt and kms:GenerateDataKey.
C.
Replicate the key to the workload account as a multi-Region replica key so the role can use it locally.
D.
Attach an IAM policy to the application role in the workload account that allows kms:Decrypt and kms:GenerateDataKey on the key ARN.
E.
Share the KMS key with the workload account by using AWS RAM.
7
Domain 2
A company is launching a public REST API on Amazon API Gateway for partners. Free-tier partners must be limited to 10 requests per second and 10,000 requests per month, while premium partners get 200 requests per second and no monthly cap. Usage per partner must be trackable for billing. Which solution meets these requirements with the LEAST custom code?
A.
Deploy two separate APIs, one per tier, and configure stage-level throttling on each.
B.
Use AWS WAF rate-based rules keyed on the partner's source IP address for each tier.
C.
Issue an API key to each partner and associate the keys with two usage plans that define throttling and quota limits per tier.
D.
Implement a Lambda authorizer that counts requests per partner in DynamoDB and rejects calls above the limits.
8
Domain 3
A media website uses Amazon CloudFront in front of an Application Load Balancer. The cache hit ratio is only 35% because the distribution forwards all query strings, headers, and cookies, although the pages vary only by the 'lang' query string. Origin costs are rising. What should a solutions architect do to MOST improve the cache hit ratio?
A.
Increase the minimum TTL on the existing behavior to 24 hours while continuing to forward all values to the origin.
B.
Enable Origin Shield in the Region closest to the ALB and keep the current forwarding settings.
C.
Add a second ALB in another Region and configure an origin group for failover.
D.
Create a cache policy that includes only the 'lang' query string in the cache key and no cookies or headers, and use an origin request policy to forward any other values the origin truly needs.
9
Domain 4
A company plans to migrate 400 on-premises servers (VMware VMs and physical Linux hosts) to AWS in waves. The team lacks documentation of which applications talk to each other and needs process-level utilization and network connection data to group servers into move groups. Which approach meets these requirements?
A.
Deploy the AWS Application Discovery Service Agentless Collector on vCenter only, and use its data to build move groups for both VMs and physical servers.
B.
Install the AWS Application Discovery Service agents on the servers, send the data to AWS Migration Hub, and use the network diagrams to group dependent servers into applications.
C.
Use AWS Application Migration Service to replicate all servers first, then identify dependencies from VPC Flow Logs after cutover.
D.
Export the VMware inventory to a spreadsheet and use Migration Evaluator to generate move groups based on cost.
10
Domain 3
A Java 21 application on AWS Lambda behind API Gateway has cold starts of 6-8 seconds because of framework initialization. Traffic is spiky and unpredictable, and the company wants to reduce cold-start latency significantly without paying for always-on capacity or rewriting the code. Which solution meets these requirements MOST cost-effectively?
A.
Enable Lambda SnapStart on published function versions and invoke the function through an alias that points to the latest version.
B.
Configure provisioned concurrency sized to the peak traffic level on the function alias.
C.
Increase the function memory to the maximum of 10,240 MB to get more CPU during initialization.
D.
Migrate the function to Amazon ECS on AWS Fargate with a minimum of two running tasks.
0/10 terjawab
Periksa