📝 Drill SAP-C02 — pagi 2026-10-23
Set #49 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A data platform team manages a single Amazon S3 bucket that is shared by 40 internal applications running in several AWS accounts. The bucket policy is approaching the 20 KB size limit, and every policy change risks breaking another team's access. Each application needs access only to its own prefix. Which solution provides granular access control with the LEAST operational overhead?
A.
Split the data into 40 separate buckets, each with its own bucket policy, and configure S3 Replication from the existing bucket to keep the new buckets in sync.
B.
Create one S3 access point per application with an access point policy scoped to that application's prefix and principals, and change the bucket policy to delegate access control to the access points.
C.
Remove the bucket policy entirely and grant each application access to its prefix by using identity-based IAM policies in the application accounts.
D.
Enable S3 object ACLs and grant each application account READ and WRITE permissions on the objects under its prefix.
2
Domain 1
A company has a single 10 Gbps AWS Direct Connect connection. It runs AWS Transit Gateways in us-east-1 and eu-west-1, and each transit gateway has dozens of attached VPCs. The company wants on-premises networks to reach all VPCs in both Regions over the existing Direct Connect connection with the LEAST operational overhead. What should a solutions architect do?
A.
Create a private virtual interface for each VPC and attach each one to the VPC's virtual private gateway.
B.
Create an AWS Site-to-Site VPN connection to each transit gateway over the internet and configure BGP to prefer the VPN routes.
C.
Create a Direct Connect gateway, create a transit virtual interface to it, and associate both transit gateways with the Direct Connect gateway using allowed prefixes for the VPC CIDRs.
D.
Create a public virtual interface and access the VPC workloads through interface VPC endpoints in each Region.
3
Domain 1
A company uses Okta as its workforce identity provider and has 120 AWS accounts in AWS Organizations. When employees join or leave, changes must be reflected in AWS automatically. Engineers need single sign-on to their assigned accounts, with access determined by their Okta group membership. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable AWS IAM Identity Center, configure Okta as the external identity provider through SAML 2.0, enable automatic provisioning with SCIM, and assign permission sets to the synchronized groups for the appropriate accounts.
B.
Create a SAML identity provider and a set of IAM roles in each of the 120 accounts, and configure Okta applications that map groups to the role ARNs in each account.
C.
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.
D.
Create IAM users for all engineers and run a scheduled AWS Lambda function that synchronizes users and group memberships from the Okta API every night.
4
Domain 1
Choose 2
A platform team wants developers in workload accounts to create IAM roles for their own AWS Lambda functions without opening tickets. Security requires that developers cannot create roles with permissions beyond an approved set and cannot use role creation to escalate their own privileges. Which combination of steps will meet these requirements? (Choose TWO)
A.
Attach the AdministratorAccess managed policy to the developers and alert on iam:CreateRole events by using AWS CloudTrail and Amazon EventBridge.
B.
Create a customer managed policy that defines the maximum permissions allowed for Lambda execution roles, to be used as a permissions boundary.
C.
Attach the PowerUserAccess managed policy to the developers, because it allows role creation while blocking privilege escalation.
D.
Allow iam:CreateRole, iam:AttachRolePolicy, and iam:PutRolePolicy only when the iam:PermissionsBoundary condition key equals the approved boundary ARN, and explicitly deny changing or deleting the boundary policy and removing boundaries from roles.
E.
Apply an SCP to all workload accounts that denies iam:CreateRole for every principal except the management account.
5
Domain 1
A security team must ensure that every internet-facing Application Load Balancer and Amazon API Gateway stage across 60 accounts in AWS Organizations, including accounts created in the future, is protected by a baseline set of AWS WAF managed rule groups. Application teams must still be able to add their own WAF rules. Which solution meets these requirements with the LEAST operational overhead?
A.
Use AWS CloudFormation StackSets to deploy a web ACL to every account and ask application teams to associate it with their resources.
B.
Deploy an AWS Config rule that detects ALBs and API stages without a web ACL and sends notifications to the owning teams.
C.
Subscribe every account to AWS Shield Advanced and enable automatic application layer DDoS mitigation.
D.
Designate an AWS Firewall Manager administrator account and create an AWS WAF policy scoped to the organization with the baseline rule groups as first rule groups and automatic remediation enabled.
6
Domain 1
A finance department needs monthly cost reports by cost center across all accounts in AWS Organizations. Many accounts host resources for multiple cost centers, and teams have tagged resources inconsistently with keys such as CostCenter, costcenter, and cost-center. Which solution provides accurate cost visibility with the LEAST operational overhead?
A.
Ask each account owner to export Cost Explorer data to CSV every month and have finance merge and clean the files.
B.
Create a separate AWS account for every cost center and migrate shared resources into the new accounts.
C.
Create an Organizations tag policy that standardizes the CostCenter key and allowed values with enforcement for supported resource types, activate CostCenter as a user-defined cost allocation tag in the management account, and group costs by the tag in Cost Explorer.
D.
Create AWS Budgets in each member account with filters for all three tag key variations and send the results to finance.
7
Domain 2
An ecommerce company processes order lifecycle events with AWS Lambda. Events for the same order must be processed in the exact order they were sent and without duplicates, but events for different orders should be processed in parallel to handle peaks of 20,000 orders per hour. Which design meets these requirements?
A.
Send events to an Amazon SQS standard queue and configure the Lambda event source mapping with a batch size of 1.
B.
Publish events to an Amazon SNS standard topic with the Lambda function subscribed directly.
C.
Send events to an Amazon SQS FIFO queue using a single message group ID for all messages.
D.
Send events to an Amazon SQS FIFO queue using the order ID as the message group ID and a deduplication ID, and consume the queue with a Lambda event source mapping.
8
Domain 3
A media company uses Amazon CloudFront with a Lambda@Edge viewer-request function that normalizes the Accept-Language header to improve the cache hit ratio and performs simple URL redirects. The function runs on billions of requests each month, takes less than 1 ms of logic, and needs no network calls or request body access. Costs are high. Which change is the MOST cost-effective while also reducing latency?
A.
Remove the function and implement the redirects and header normalization with listener rules on the origin Application Load Balancer.
B.
Rewrite the logic as a CloudFront Function associated with the viewer-request event.
C.
Increase the memory of the Lambda@Edge function so that it completes faster and is billed for less duration.
D.
Move the Lambda@Edge function to the origin-request event so that it runs only on cache misses.
9
Domain 4
A company must migrate 300 VMware virtual machines running a mix of Linux and Windows applications to Amazon EC2 within 3 months. The applications must be rehosted without code changes, cutover downtime must be limited to minutes, and the team must be able to launch non-disruptive test instances before each cutover. Which solution meets these requirements?
A.
Use AWS Application Migration Service with the replication agent installed on each VM for continuous block-level replication, launch test instances, and then perform cutover.
B.
Export each VM as an OVA file, upload it to Amazon S3, and use VM Import/Export to create AMIs during a scheduled maintenance window.
C.
Use AWS Database Migration Service with ongoing replication to copy each server's data to EC2 instances.
D.
Use AWS Server Migration Service to schedule incremental replication jobs for each VM.
10
Domain 2
A company has 15 workload accounts in AWS Organizations, and applications publish events to the default Amazon EventBridge event bus in each account. A central operations account must receive only events with the detail-type OrderFailed from all accounts and start an AWS Step Functions workflow for each one. New accounts must be included with minimal effort. Which solution meets these requirements?
A.
Deploy an AWS Lambda function in each workload account that polls for OrderFailed events and calls StartExecution in the central account through a cross-account role.
B.
Create an Amazon SNS topic in each workload account for OrderFailed events and subscribe an Amazon SQS queue in the central account to every topic.
C.
Create a custom event bus in the central account with a resource-based policy that allows events:PutEvents for the organization by using aws:PrincipalOrgID, deploy a rule matching OrderFailed that targets the central bus to every workload account with StackSets automatic deployment, and target Step Functions from a rule on the central bus.
D.
Stream application logs from each account to Amazon CloudWatch Logs and use subscription filters to send OrderFailed entries to an Amazon Kinesis data stream in the central account.
0/10 terjawab
Periksa