📝 Drill SAP-C02 — sore 2026-10-01
Set #6 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company runs 40 workload VPCs connected through AWS Transit Gateway. Security requires that instances in all VPCs reach the internet only for a short list of approved software-update domains (for example, *.ubuntu.com and pypi.org), and all other outbound HTTP/HTTPS traffic must be blocked and logged. The solution must be centrally managed and scale automatically with traffic. Which solution meets these requirements with the LEAST operational overhead?
A.
Remove all internet gateways and NAT gateways, and configure outbound security group rules in every VPC that allow only the IP addresses of the approved domains.
B.
Create a centralized egress VPC attached to the transit gateway with NAT gateways and AWS Network Firewall. Use a stateful domain list rule group that allows only the approved domains (inspecting HTTP Host and TLS SNI), and route all spoke 0.0.0.0/0 traffic through the firewall.
C.
Deploy a NAT gateway in each VPC and add network ACL rules that deny outbound traffic to all destinations except ports 80 and 443.
D.
Configure Route 53 Resolver DNS Firewall in each VPC to block all domains except the approved list, and keep a NAT gateway in each VPC for outbound access.
2
Domain 1
Choose 2
A financial services company connects its primary data center to AWS. Critical trading workloads require the highest possible resiliency for hybrid connectivity, and the network must tolerate the failure of an entire Direct Connect location as well as a single device or connection failure. Which actions should a solutions architect take to meet these requirements? (Choose TWO.)
A.
Provision dedicated Direct Connect connections at two separate Direct Connect locations.
B.
Provision a single Direct Connect connection and configure a Site-to-Site VPN over the same connection as a backup.
C.
Use a link aggregation group (LAG) with four connections terminated on the same device at one Direct Connect location.
D.
Terminate two separate connections on separate devices at each of the two Direct Connect locations.
E.
Use AWS Global Accelerator in front of the Direct Connect gateway to fail over between locations.
3
Domain 1
A platform team wants application developers in a shared AWS account to create their own IAM roles for Lambda functions without opening a ticket. Security requires that any role a developer creates can never have more permissions than a predefined set (access to the team's DynamoDB tables and CloudWatch Logs only), and developers must not be able to remove this restriction. Which solution meets these requirements?
A.
Grant developers iam:CreateRole and iam:AttachRolePolicy, and use an SCP to deny all DynamoDB actions outside the team's tables.
B.
Grant developers the PowerUserAccess managed policy, which prevents them from creating IAM roles with elevated permissions.
C.
Create a managed policy to use as a permissions boundary. Allow developers iam:CreateRole and iam:PutRolePermissionsBoundary only with a condition that iam:PermissionsBoundary equals that policy ARN, and deny them iam:DeleteRolePermissionsBoundary and changes to the boundary policy itself.
D.
Enable IAM Access Analyzer policy validation so that any role with permissions broader than DynamoDB and CloudWatch Logs is automatically deleted.
4
Domain 1
An e-commerce company runs its order platform in us-east-1 on EC2 Auto Scaling groups behind an ALB with an Amazon Aurora MySQL database. Leadership requires a DR plan in a second Region with an RTO of 15 minutes and an RPO of under 1 minute. The cost of running a full production-sized duplicate environment continuously is not acceptable. Which DR strategy meets these requirements MOST cost-effectively?
A.
Backup and restore: copy Aurora snapshots and AMIs to the second Region every hour and rebuild the stack with CloudFormation during a disaster.
B.
Multi-site active/active: run full-capacity Auto Scaling groups in both Regions and use Route 53 latency-based routing.
C.
Pilot light: replicate only the Aurora data to the second Region and launch the application tier from AMIs during failover with no running instances.
D.
Warm standby: use an Aurora global database secondary cluster and a scaled-down but running Auto Scaling group in the second Region; on failover, promote the secondary, scale out the group, and switch traffic with Route 53 failover routing.
5
Domain 1
A healthcare company uses AWS Organizations with dozens of accounts. After a ransomware incident at a peer company, auditors require that backups of EBS volumes and RDS databases in all workload accounts be copied to an isolated account, and that no user, including the root user of that account, can delete the copies before 35 days. The solution must be centrally managed. Which solution meets these requirements?
A.
Use AWS Backup organization backup policies with a copy rule to a backup vault in a dedicated backup account, and apply AWS Backup Vault Lock in compliance mode with a 35-day minimum retention on that vault.
B.
Create Data Lifecycle Manager policies in each account that copy EBS snapshots to the backup account, and use an SCP to deny ec2:DeleteSnapshot.
C.
Export all snapshots to an S3 bucket in the backup account and enable S3 Versioning with MFA Delete.
D.
Use AWS Backup in each account with a local vault and an IAM policy that denies backup:DeleteRecoveryPoint for all principals.
6
Domain 1
A media company has 120 AWS accounts in AWS Organizations, and new accounts are created weekly. Every internet-facing Application Load Balancer and CloudFront distribution must have a baseline set of AWS WAF managed rule groups applied, including in accounts created in the future. Application teams must still be able to add their own rules. Which solution meets these requirements with the LEAST operational overhead?
A.
Use a CloudFormation StackSet to deploy a web ACL to every account and ask teams to associate it with their resources.
B.
Create an AWS Config custom rule in each account that detects ALBs without a web ACL and sends an SNS notification to the security team.
C.
Designate a Firewall Manager administrator account and create an AWS WAF security policy scoped to the organization with automatic remediation, defining the baseline as first rule groups while allowing account owners to add rules in the web ACL.
D.
Enable AWS Shield Advanced on all accounts, which automatically applies AWS WAF managed rule groups to protected resources.
7
Domain 2
A logistics company exposes a REST API through Amazon API Gateway to 300 external partners. Each partner signs a contract that defines a maximum request rate and a monthly request quota by tier (Bronze, Silver, Gold). The company needs to enforce these limits per partner and identify which partner made each call, without building custom throttling logic. Which solution meets these requirements?
A.
Configure AWS WAF rate-based rules on the API stage with one rule per partner IP address range.
B.
Issue an API key to each partner, create a usage plan per tier with throttling and quota settings, and associate each partner's API key with the appropriate usage plan.
C.
Set stage-level and method-level throttling on the API and use a Lambda authorizer to count requests in DynamoDB for monthly quotas.
D.
Place the API behind CloudFront and use CloudFront Functions to reject requests that exceed each partner's rate.
8
Domain 3
A company manages 500 Linux EC2 instances in private subnets across several accounts. Administrators connect through bastion hosts using shared SSH keys, and auditors have flagged the lack of per-user session logs and the open port 22. The company wants to eliminate inbound ports and SSH key management and record every command run. Which solution meets these requirements with the LEAST operational overhead?
A.
Replace the bastion hosts with AWS Client VPN and enforce SSH certificate authentication with short-lived keys.
B.
Use EC2 Instance Connect Endpoint to SSH into instances and enable VPC Flow Logs to audit connections.
C.
Keep the bastion hosts, rotate SSH keys daily with Secrets Manager, and forward /var/log/secure to CloudWatch Logs.
D.
Ensure the SSM Agent and an instance profile with AmazonSSMManagedInstanceCore are on all instances, add VPC interface endpoints for Systems Manager, remove inbound port 22, and use Session Manager with session logging to S3 or CloudWatch Logs controlled by IAM.
9
Domain 4
A retail company with 2,000 on-premises VMware VMs and Windows Server and SQL Server licenses wants to build a business case for moving to AWS. The CFO needs a data-driven projected cost of running the workloads on AWS, including right-sized instances and license optimization options (such as bring-your-own-license vs. license-included), within a few weeks. Detailed application dependency mapping is not required yet. Which approach meets these requirements?
A.
Use Migration Evaluator to collect utilization data with its agentless collector and generate a directional business case with right-sized EC2 recommendations and licensing scenarios.
B.
Install the AWS Application Discovery Service agent on every VM and use the network connection data to group servers into applications.
C.
Use AWS Application Migration Service to replicate all VMs into AWS and measure the actual monthly bill after a month of test launches.
D.
Export the VM inventory to a spreadsheet and use the AWS Pricing Calculator with on-premises CPU and memory sizes mapped one-to-one to EC2 instance types.
10
Domain 2
A payments company uses an Amazon EventBridge custom event bus to route PaymentSettled events to several downstream services. After a bug in the reconciliation service corrupted three days of data, the team had to ask upstream systems to resend events manually. The company wants to be able to reprocess events from any period in the last 90 days to a fixed consumer with minimal custom code. Which solution meets these requirements?
A.
Add an Amazon SQS queue as a target for every rule and set the message retention period to 90 days.
B.
Create an EventBridge rule that sends all events to Amazon Kinesis Data Firehose, store them in S3, and write a Lambda function to read and re-publish them on demand.
C.
Create an EventBridge archive on the custom event bus with a 90-day retention period, and start a replay for the needed time window targeting the fixed reconciliation rule.
D.
Enable CloudTrail data events for EventBridge and use CloudTrail Lake to re-send the recorded events.
0/10 terjawab
Periksa