📝 Drill SAP-C02 — sore 2026-10-11
Set #26 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A healthcare analytics company stores research datasets in a single Amazon S3 bucket that is accessed by 40 teams from several AWS accounts. The bucket policy is approaching the 20 KB size limit, and every change risks breaking another team's access. Each team needs access only to its own set of prefixes. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a separate bucket for each team and use S3 Replication to copy the relevant prefixes from the shared bucket into each team bucket.
B.
Remove the bucket policy entirely and grant each team access through identity-based IAM policies in the team's own account.
C.
Create an S3 access point for each team with an access point policy scoped to that team's prefixes, and update the bucket policy to delegate access control to access points owned by the account.
D.
Enable S3 Object Ownership set to Object writer and manage per-prefix permissions with object ACLs granted to each team account.
2
Domain 1
A manufacturing company has 60 VPCs spread across us-east-1 and eu-west-1. In each Region, the VPCs are attached to a Region-local transit gateway. The company has two 10 Gbps AWS Direct Connect connections from its data center and wants on-premises access to all VPCs in both Regions over these connections. The design must use the fewest virtual interfaces and scale as more VPCs are added. Which solution meets these requirements?
A.
Create a transit virtual interface on each Direct Connect connection to a single Direct Connect gateway, and associate the Direct Connect gateway with the transit gateways in both Regions, advertising the allowed prefixes.
B.
Create a private virtual interface for each VPC on each connection and attach each one to a Direct Connect gateway associated with the VPC's virtual private gateway.
C.
Create a public virtual interface on each connection and build Site-to-Site VPN attachments over it to the transit gateway in each Region.
D.
Create a private virtual interface to a virtual private gateway in one hub VPC per Region, and use VPC peering from the hub VPC to reach all other VPCs.
3
Domain 1
A company with 120 accounts in AWS Organizations uses Okta as its workforce identity provider. Today, every account contains long-lived IAM users. The security team requires temporary credentials only, automatic removal of AWS access when an employee is deactivated in Okta, and access assignments based on Okta group membership. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a SAML 2.0 IAM identity provider for Okta in every account, create IAM roles mapped to Okta groups in each account, and remove the IAM users.
B.
Create an Amazon Cognito user pool federated with Okta, and use a Cognito identity pool to map Okta groups to IAM roles in each account.
C.
Deploy AWS Managed Microsoft AD, synchronize users from Okta with a scheduled script, and configure IAM Identity Center to use the directory as its identity source.
D.
Enable IAM Identity Center, configure Okta as an external identity provider using SAML 2.0 with SCIM automatic provisioning, and assign Okta groups to permission sets across the accounts.
4
Domain 1
A financial services firm runs critical production workloads that depend on 10 Gbps of hybrid connectivity to AWS. The connectivity must survive the failure of a single network device, an entire Direct Connect location, or an entire on-premises data center, and must maintain full 10 Gbps bandwidth during any single failure. Which design meets these requirements?
A.
Two 10 Gbps Direct Connect connections at a single Direct Connect location, terminating on separate routers in the primary data center.
B.
Two 10 Gbps Direct Connect connections at each of two Direct Connect locations, terminating on separate devices in two different on-premises data centers.
C.
One 10 Gbps Direct Connect connection with an AWS Site-to-Site VPN connection over the internet as a backup path.
D.
A link aggregation group (LAG) of four 10 Gbps connections at a single Direct Connect location.
5
Domain 1
A security team must perform deep packet inspection of traffic to and from EC2 instances in a production VPC by using a third-party intrusion detection system (IDS) appliance. Installing agents on the instances is not allowed, and VPC Flow Logs have been rejected because they do not contain packet payloads. Which solution meets these requirements?
A.
Enable VPC Flow Logs with a custom format that includes all available fields, deliver them to Amazon S3, and analyze them with Amazon Athena.
B.
Enable Amazon GuardDuty Runtime Monitoring for the instances and export the findings to the IDS appliance.
C.
Configure VPC Traffic Mirroring sessions on the instances' elastic network interfaces with a mirror target that is a Network Load Balancer in front of the IDS appliances.
D.
Route all instance traffic through a NAT gateway and forward the NAT gateway logs to the IDS appliance.
6
Domain 1
Choose 2
A company has 80 AWS accounts in AWS Organizations and operates in four Regions. The security team wants a single view in its dedicated security account to prioritize findings from Amazon GuardDuty, Amazon Inspector, and AWS Config across all accounts and Regions. Newly created accounts must be included automatically. Which combination of steps meets these requirements? (Choose TWO)
A.
Enable AWS Security Hub manually in each account and use Amazon EventBridge rules to send findings to a central S3 bucket.
B.
Designate the security account as the AWS Security Hub delegated administrator in Organizations and configure Security Hub to be enabled automatically for new member accounts.
C.
Create an organization trail in AWS CloudTrail and query the findings from CloudTrail Lake in the security account.
D.
In the delegated administrator account, configure Security Hub cross-Region aggregation by choosing a home (aggregation) Region and linking the other three Regions.
E.
Use AWS Audit Manager in the security account to collect the findings into a custom assessment framework.
7
Domain 2
A SaaS company exposes a REST API through Amazon API Gateway. It wants to launch Free and Premium tiers that have different request rate limits and different monthly request quotas for each customer, and it must be able to identify which customer made each request. Which solution meets these requirements with the LEAST development effort?
A.
Create an API Gateway usage plan for each tier with throttling and quota settings, issue an API key to each customer, and associate each key with the usage plan for that customer's tier.
B.
Implement rate limiting and quota tracking in the backend AWS Lambda functions by using counters stored in Amazon DynamoDB.
C.
Attach an AWS WAF web ACL with rate-based rules for each customer's source IP address range to the API stage.
D.
Deploy a separate API stage for each tier and configure stage-level throttling limits for each stage.
8
Domain 3
A media website serves millions of requests per minute through Amazon CloudFront. A Lambda@Edge function currently adds security headers (HSTS, Content-Security-Policy) to every response and normalizes query strings on viewer requests to improve the cache hit ratio. The function adds noticeable cost and latency. Which solution is the MOST cost-effective while preserving the functionality?
A.
Move the header and query string logic into the origin application servers and remove the Lambda@Edge function.
B.
Keep Lambda@Edge but move all logic to an origin-response trigger so it runs only on cache misses.
C.
Use AWS WAF custom request handling rules on the distribution to insert the security headers and rewrite the query strings.
D.
Attach a CloudFront response headers policy for the security headers and use a CloudFront Function on the viewer-request event to normalize query strings.
9
Domain 4
A company runs 30 Java applications on Apache Tomcat in on-premises virtual machines. Leadership wants to move the applications to containers on Amazon ECS with AWS Fargate within one quarter, without changing application code and with minimal manual containerization effort. Which approach meets these requirements?
A.
Refactor each application into AWS Lambda functions behind Amazon API Gateway.
B.
Use AWS App2Container to discover and analyze the running applications, generate container images and ECS task definitions with deployment artifacts, and deploy them to Fargate.
C.
Rehost the virtual machines with AWS Application Migration Service, then install Docker on the resulting EC2 instances and run the applications in containers.
D.
Have developers hand-write a Dockerfile for each application, build the images in AWS CodeBuild, and author ECS task definitions manually.
10
Domain 3
Amazon S3 storage costs are growing unexpectedly across a company's 50 AWS accounts. An investigation suggests that a large-file ingestion pipeline frequently fails mid-upload and leaves incomplete multipart uploads behind. The company wants to identify the affected buckets across the organization and stop paying for this storage with the LEAST operational overhead. Which solution meets these requirements?
A.
Use an organization-level Amazon S3 Storage Lens dashboard to identify buckets with incomplete multipart upload bytes, and add S3 Lifecycle rules with the AbortIncompleteMultipartUpload action to those buckets.
B.
Generate S3 Inventory reports for every bucket and run an AWS Lambda function that deletes objects older than 7 days.
C.
Move all affected buckets to the S3 Intelligent-Tiering storage class so that unused upload parts are moved to cheaper tiers.
D.
Enable S3 Versioning on the affected buckets and add a Lifecycle rule that expires noncurrent object versions after 7 days.
0/10 terjawab
Periksa