📝 Drill SAP-C02 — sore 2026-10-19
Set #42 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A media company stores shared datasets in a single Amazon S3 bucket used by 14 internal teams. Each team needs access to different prefixes, and the bucket policy has grown close to the 20 KB size limit, causing failed deployments and frequent permission mistakes. Some teams must only access the bucket from their own VPCs. Which solution will simplify permission management with the LEAST operational overhead?
A.
Split the data into 14 separate buckets and use S3 Replication to keep a shared copy in the original bucket.
B.
Create one S3 access point per team with a prefix-scoped access point policy, restrict VPC-only teams with VPC-origin access points, and delegate access control from the bucket policy to the access points.
C.
Replace the bucket policy with IAM identity-based policies attached to each team's roles and remove the bucket policy entirely.
D.
Enable S3 Object Ownership (bucket owner enforced) and manage each team's permissions with object ACLs.
2
Domain 1
A retail company runs 60 AWS accounts in AWS Organizations. Every new Application Load Balancer and Amazon CloudFront distribution in the Production OU must automatically be protected by a common set of AWS WAF managed rules, and the security team must see which resources are non-compliant. Application teams must still be able to add their own WAF rules. Which solution meets these requirements with the LEAST operational overhead?
A.
Use CloudFormation StackSets to deploy a web ACL into every account and ask teams to associate it with their resources.
B.
Create an AWS Config custom rule that detects unprotected load balancers and invokes a Lambda function in each account to create a web ACL.
C.
Enable AWS Shield Advanced in every account and turn on automatic application-layer DDoS mitigation.
D.
Designate a Firewall Manager administrator account and create an AWS WAF policy scoped to the Production OU with auto-remediation, using first and last rule groups so teams can add rules in between.
3
Domain 1
A financial services company has a 10 Gbps AWS Direct Connect connection from its data center. It operates more than 40 VPCs attached to AWS Transit Gateways in us-east-1 and eu-west-1. The company wants on-premises networks to reach all VPCs in both Regions over the existing connection while minimizing the number of virtual interfaces and BGP sessions to manage. What should a solutions architect do?
A.
Create a transit virtual interface to a Direct Connect gateway and associate the Direct Connect gateway with both transit gateways, advertising the VPC CIDR prefixes as allowed prefixes.
B.
Create one private virtual interface per VPC and attach each to the VPC's virtual private gateway.
C.
Create a public virtual interface and establish Site-to-Site VPN tunnels over it to each transit gateway.
D.
Create a private virtual interface to a Direct Connect gateway and associate the gateway directly with all 40 virtual private gateways.
4
Domain 1
A company with 120 AWS accounts uses Okta as its corporate identity provider. Employees currently have IAM users in multiple accounts, and offboarding frequently leaves stale credentials. The company wants single sign-on to all assigned accounts, automatic user and group provisioning from Okta, and centrally managed permissions per job function. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a SAML 2.0 identity provider in IAM in each account and map Okta groups to IAM roles in every account with CloudFormation StackSets.
B.
Use Amazon Cognito user pools federated with Okta and exchange the tokens for IAM credentials through Cognito identity pools.
C.
Configure IAM Identity Center with Okta as the external identity provider, enable SCIM automatic provisioning, and assign permission sets to Okta groups across accounts.
D.
Deploy AWS Directory Service AD Connector and synchronize Okta users into Active Directory, then grant access with IAM roles.
5
Domain 1
A logistics company runs an order management application on Amazon EC2 with an Amazon RDS for MySQL database in a single Region. Business requirements specify an RPO of 15 minutes and an RTO of 4 hours for a Regional outage. Leadership wants the lowest ongoing cost that still meets these targets. Which DR strategy should the solutions architect implement in a second Region?
A.
Multi-site active/active with a fully scaled Auto Scaling group and a writable database in both Regions behind Route 53 latency routing.
B.
Pilot light: a cross-Region RDS read replica kept running, AMIs and infrastructure-as-code templates copied to the DR Region, and application servers launched only during failover.
C.
Warm standby with a scaled-down but always-running Auto Scaling group serving a portion of production traffic.
D.
Backup and restore using daily automated RDS snapshots copied to the DR Region once per day.
6
Domain 1
Choose 2
A company with 35 member accounts in AWS Organizations needs monthly cost reports grouped by the CostCenter tag. The finance team found that the tag is missing or inconsistently spelled (for example, costcenter and Cost-Center) on many resources, so costs cannot be grouped reliably. Which combination of steps will meet these requirements? (Choose TWO)
A.
Create an Organizations tag policy that standardizes the CostCenter key capitalization and allowed values, and enforce it for the supported resource types.
B.
Enable AWS Cost Anomaly Detection with a monitor for each linked account.
C.
Create a Service Control Policy that denies the ce:GetCostAndUsage action unless the CostCenter tag is present.
D.
Activate CostCenter as a user-defined cost allocation tag in the management account's Billing console.
E.
Create an AWS Budget in each member account with a filter on the CostCenter tag.
7
Domain 2
A SaaS company runs a single Amazon EC2 instance with cron to trigger 3,000 per-customer jobs at different times and time zones. Each job invokes an AWS Lambda function with a customer-specific payload. The instance is a single point of failure and needs patching. The company wants a serverless replacement with retries and minimal custom code. Which solution meets these requirements?
A.
Store schedules in DynamoDB and run a Lambda function every minute that scans the table and invokes the jobs that are due.
B.
Use Amazon SQS delay queues to hold each job until its scheduled time.
C.
Create Amazon EventBridge Scheduler schedules per customer with time zone–aware cron expressions, the Lambda function as a templated target with the customer payload, a retry policy, and a dead-letter queue.
D.
Move the cron jobs into an AWS Batch job queue on a managed compute environment.
8
Domain 2
An IoT company streams 2 TB of JSON telemetry per day into Amazon Data Firehose, which delivers to Amazon S3 under a single date-based prefix. Analysts query the data with Amazon Athena, almost always filtering by device_type and customer_id, and query costs are rising because each query scans entire days of data. Which solution will reduce query cost with the LEAST operational overhead?
A.
Run a nightly AWS Glue ETL job that reads each day's data and rewrites it into prefixes by device_type and customer_id.
B.
Replace Firehose with Kinesis Data Streams and a fleet of EC2 consumers that write to per-customer prefixes.
C.
Enable S3 Intelligent-Tiering on the bucket to reduce the cost of scanned objects.
D.
Enable Firehose dynamic partitioning using JQ expressions on device_type and customer_id, convert records to Apache Parquet, and use Athena partition projection.
9
Domain 3
An e-commerce company's checkout flow spans a CloudFront distribution, an API Gateway API, and several microservices. Last month a broken JavaScript dependency caused checkout to fail for 3 hours, even though all backend health checks and CloudWatch alarms stayed green. The company wants to detect user-facing failures within minutes, including before real customers notice. What should the solutions architect recommend?
A.
Create Amazon CloudWatch Synthetics canaries that script the browse-to-checkout journey every 5 minutes, with alarms on canary success rate and screenshots for failed steps.
B.
Add Route 53 health checks on the CloudFront domain name with a CloudWatch alarm.
C.
Lower the ALB target group health check interval and threshold for all microservices.
D.
Enable AWS X-Ray active tracing on API Gateway and every microservice.
10
Domain 4
A company must exit its co-located data center in 10 weeks and move 250 VMware virtual machines running Windows and Linux to AWS. The applications will not be modified during the move, and each wave must be tested in AWS before a short cutover window with minimal downtime. Which approach meets these requirements with the LEAST operational effort?
A.
Export each VM as an OVA and use VM Import/Export to create AMIs, then launch instances during the cutover weekend.
B.
Use AWS DataSync to copy each VM's disks to Amazon S3 and rebuild servers from the copied files.
C.
Install the AWS Application Migration Service replication agent on the source servers for continuous block-level replication, launch test instances per wave, and perform cutover when ready.
D.
Rebuild each application on new EC2 instances with CloudFormation and use AWS DMS to move the data.
0/10 terjawab
Periksa