📝 Drill SAP-C02 — pagi 2026-10-25
Set #53 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company has 40 VPCs in multiple AWS accounts, all attached to a single AWS Transit Gateway. The security team requires that all internet-bound traffic from workload VPCs is inspected centrally and is allowed only to an approved list of partner FQDNs (for example, *.partner-api.com). All other outbound internet traffic must be blocked. The solution must scale automatically and have the LEAST operational overhead. Which solution meets these requirements?
A.
Deploy a NAT gateway in every workload VPC and configure network ACLs that allow outbound traffic only to the current IP ranges of the partner domains.
B.
Create a central egress VPC with AWS Network Firewall (stateful domain list rule group in allowlist mode) and NAT gateways. Route 0.0.0.0/0 from the workload VPCs to the transit gateway and from the transit gateway to the firewall endpoints, and remove internet gateways and NAT gateways from the workload VPCs.
C.
Enable Amazon Route 53 Resolver DNS Firewall in every workload VPC with a rule that blocks all domains except the partner domains, and keep the existing NAT gateway in each VPC.
D.
Create a managed prefix list containing the partner domain names and reference it in the outbound rules of all security groups in the workload VPCs.
2
Domain 1
A SaaS provider runs an API behind a Network Load Balancer in its own VPC. More than 200 customers, each with their own AWS account and VPC, must consume the API privately without traversing the internet. Many customer VPCs use the same CIDR block (10.0.0.0/16) as the provider VPC, and customers must be able to reach only this API and nothing else in the provider network. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a VPC peering connection with each customer VPC and use security groups to restrict access to the NLB targets.
B.
Share a transit gateway with the customer accounts by using AWS RAM, and use transit gateway route tables to isolate each customer.
C.
Establish an AWS Site-to-Site VPN connection from the provider VPC to a virtual private gateway in each customer VPC.
D.
Create a VPC endpoint service (AWS PrivateLink) backed by the NLB, allow the customers' AWS principals, and have each customer create an interface VPC endpoint in their VPC.
3
Domain 1
A company federates its corporate IdP with AWS IAM Identity Center. Engineers are organized into more than 300 project teams, and new projects are created every week. Each engineer must be able to manage only the AWS resources that are tagged with their own project. The security team wants to avoid creating or updating a policy every time a project is added. Which solution meets these requirements?
A.
Create one IAM role per project in each account, with an identity-based policy that lists the ARNs of that project's resources, and map IdP groups to the roles.
B.
Create one permission set per project in IAM Identity Center that lists the project's resource ARNs, and assign each permission set to the matching IdP group.
C.
Enable attributes for access control in IAM Identity Center to pass the user's project attribute from the IdP as a session tag, and use a single permission set whose policy allows actions only when aws:ResourceTag/project equals ${aws:PrincipalTag/project}.
D.
Create one OU per project in AWS Organizations and attach an SCP to each OU that denies access to resources tagged with other project names.
4
Domain 1
A company has 120 AWS accounts in AWS Organizations and operates workloads in four AWS Regions. The security team wants to view and triage all AWS Security Hub findings from every account and Region in a single dedicated security tooling account and a single home Region. New accounts must be covered automatically. Which solution meets these requirements with the LEAST operational overhead?
A.
From the management account, designate the security tooling account as the Security Hub delegated administrator, use central configuration to enable Security Hub automatically in all accounts and Regions, and configure cross-Region aggregation to the home Region.
B.
Enable Security Hub in each account manually, send invitations from the security tooling account to every account, and repeat the process in each Region.
C.
Create an AWS Config aggregator in the security tooling account for all accounts and Regions, and use it to view Security Hub findings.
D.
Create Amazon EventBridge rules in every account and Region that forward Security Hub findings to a custom event bus in the security tooling account, and store them in Amazon OpenSearch Service for analysis.
5
Domain 1
A central network team owns an AWS Transit Gateway in a dedicated network account. Sixty workload accounts in the Workloads OU of AWS Organizations need to attach their VPCs to the transit gateway, and accounts that are added to the Workloads OU in the future must be able to do the same without extra steps from the network team. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a transit gateway in each workload account and create transit gateway peering attachments to the central transit gateway.
B.
Enable resource sharing with AWS Organizations in AWS RAM, and share the transit gateway from the network account with the Workloads OU. Workload accounts then create VPC attachments to the shared transit gateway.
C.
Create VPC peering connections between the network account's hub VPC and each workload VPC, and automate new peering connections with AWS Lambda.
D.
Share the transit gateway with each workload account ID individually through AWS RAM and send a new share invitation whenever an account is created.
6
Domain 1
A holding company uses AWS Organizations with consolidated billing. One subsidiary's member account must be charged back exactly for its own usage, so it must neither receive nor give Reserved Instance and Savings Plans discounts to other accounts. The account must stay in the organization so that existing SCPs continue to apply. Which solution meets these requirements with the LEAST effort?
A.
In the management account's billing preferences, turn off Reserved Instance and Savings Plans discount sharing for the subsidiary's member account.
B.
Move the subsidiary account to a separate organization with its own management account and recreate the SCPs there.
C.
Purchase all Reserved Instances and Savings Plans for the subsidiary directly in the subsidiary's member account.
D.
Create an AWS Cost Categories rule that groups the subsidiary account's costs and share it with the subsidiary's finance team.
7
Domain 2
A media company must generate thumbnails for approximately 8 million new images stored in Amazon S3 every night. The thumbnail logic already exists as an AWS Lambda function. The company needs massive parallelism, the ability to tolerate a small percentage of failed items, and a record of which objects failed, with the LEAST custom code. Which solution meets these requirements?
A.
Use an AWS Step Functions Standard workflow with an inline Map state that iterates over a JSON list of all object keys passed in the execution input.
B.
Use an AWS Step Functions Distributed Map state that reads the objects from the S3 bucket (or an S3 Inventory manifest), invokes the Lambda function in batches with high concurrency, sets a tolerated failure threshold, and writes results to S3.
C.
Launch an Amazon EC2 instance that lists the bucket and invokes the Lambda function asynchronously for each object, logging failures to a local file.
D.
Configure S3 Event Notifications to an SQS queue for each object, and write a custom tracker in Amazon DynamoDB to record successful and failed objects.
8
Domain 3
A company runs Java 17 AWS Lambda functions that use the Spring framework behind Amazon API Gateway. Initialization makes p99 cold start latency about 6 seconds. Traffic is spiky and unpredictable, with long idle periods. The company wants to significantly reduce cold start latency in the MOST cost-effective way without rewriting the application. Which solution meets these requirements?
A.
Configure provisioned concurrency on the function alias sized for the peak traffic level.
B.
Increase the memory of each function to 10,240 MB to allocate more CPU during initialization.
C.
Enable Lambda SnapStart on the functions, publish versions, and point the API Gateway integration at an alias of the published version.
D.
Rewrite the functions in Python and package dependencies as Lambda layers.
9
Domain 4
A company is migrating 60 TB of data from an on-premises NFS NAS to Amazon EFS for a Linux application. The company has an existing 1 Gbps AWS Direct Connect connection. Files change daily, and the cutover window on a weekend must transfer only the final changes. File metadata and POSIX permissions must be preserved and data integrity must be verified. Which solution meets these requirements with the LEAST operational overhead?
A.
Order AWS Snowball Edge devices to copy the 60 TB, import the data into Amazon S3, and copy it from S3 to Amazon EFS on cutover weekend.
B.
Deploy Amazon S3 File Gateway on premises, copy the data to the gateway's NFS share, and mount the share from the application on AWS.
C.
Mount the NAS and the EFS file system on an Amazon EC2 instance and run scheduled rsync scripts over Direct Connect, with custom checksum scripts.
D.
Deploy an AWS DataSync agent on premises, create a task from the NFS location to the EFS location over Direct Connect, run it on a schedule to copy incremental changes, and run a final task during cutover with data verification enabled.
10
Domain 2
Choose 2
A financial services firm must store trade records in Amazon S3 for 7 years to meet SEC Rule 17a-4. During the retention period, no user, including the AWS account root user, can be allowed to delete or overwrite a record. Records are rarely accessed after 90 days, and retrievals within 12 hours are acceptable. Which combination of steps meets these requirements MOST cost-effectively? (Choose TWO)
A.
Enable S3 Object Lock on the bucket and configure a default retention period of 7 years in compliance mode.
B.
Enable S3 Object Lock on the bucket and configure a default retention period of 7 years in governance mode.
C.
Add an S3 Lifecycle rule that transitions objects to S3 Glacier Deep Archive 90 days after creation.
D.
Add an S3 Lifecycle rule that transitions objects to S3 Glacier Instant Retrieval 90 days after creation.
E.
Add a bucket policy that denies s3:DeleteObject for all principals and enable MFA Delete on the bucket.
0/10 terjawab
Periksa