📝 Drill SAP-C02 — sore 2026-10-21
Set #46 · fokus Domain 1 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 1
A company routes internet egress for 40 VPCs through a central egress VPC attached to AWS Transit Gateway, using NAT gateways. A new security policy requires that workloads may make outbound HTTPS connections only to an approved list of SaaS domains (for example, *.partner-billing.com); all other internet-bound traffic must be blocked. The partner IP addresses change frequently. The security team does not want to manage or patch any instances. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a managed prefix list containing the partner IP ranges and reference it in the outbound rules of every workload security group, removing the default 0.0.0.0/0 outbound rule.
B.
Update the network ACLs in the egress VPC subnets to allow outbound TCP 443 only to the partner IP ranges and deny all other outbound traffic.
C.
Deploy AWS Network Firewall in the egress VPC with a stateful domain list rule group that allows only the approved domains (matched on TLS SNI/HTTP Host) and drops everything else, and route traffic from the Transit Gateway through the firewall endpoints before the NAT gateways.
D.
Deploy an Auto Scaling group of Squid forward proxy instances behind a Network Load Balancer in the egress VPC with URL allowlist rules, and remove the default routes from the workload VPCs so traffic must use the proxy.
2
Domain 1
A company uses AWS Organizations with 60 member accounts. The security team must continuously identify any S3 buckets, KMS keys, IAM roles, Lambda functions, and SQS queues whose resource policies grant access to principals outside the organization. New accounts are added monthly, and the team wants a centralized view with minimal custom code. Which solution meets these requirements?
A.
Designate a delegated administrator account for IAM Access Analyzer, create an organization-level analyzer with the organization as the zone of trust, and review the external access findings centrally.
B.
Deploy the AWS Config managed rule s3-bucket-public-read-prohibited to all accounts with a conformance pack and aggregate results in a Config aggregator.
C.
Enable Amazon Macie in all accounts through a delegated administrator and review the shared-bucket findings in the Macie console.
D.
Use AWS Trusted Advisor organizational view to generate a weekly report of resources with open access permissions.
3
Domain 1
A company acquired another business. The acquired company's VPC uses 10.0.0.0/16, which overlaps with the company's shared services VPC and on-premises network. Workloads in the acquired VPC must initiate connections to dozens of hosts on various TCP and UDP ports in the shared services VPC and on premises, which are connected through an existing AWS Transit Gateway. Re-addressing the acquired workloads is not possible for at least a year. Which solution provides this connectivity?
A.
Create a VPC peering connection between the acquired VPC and the shared services VPC and add more-specific /24 routes to resolve the overlap.
B.
Attach the acquired VPC to the Transit Gateway and add static routes in a separate Transit Gateway route table that point to the overlapping 10.0.0.0/16 range.
C.
Create an AWS Site-to-Site VPN from the acquired VPC's virtual private gateway to the Transit Gateway and enable NAT on the virtual private gateway.
D.
Add a secondary non-overlapping CIDR to the acquired VPC, create a private NAT gateway in a subnet from that CIDR, attach that subnet to the Transit Gateway, and route traffic destined for the shared services and on-premises networks through the private NAT gateway.
4
Domain 1
Choose 2
A company operates 120 accounts in AWS Organizations across three AWS Regions. The security team wants a single place to view AWS Security Hub findings from all accounts and Regions, and Security Hub with the AWS Foundational Security Best Practices standard must be enabled automatically in every new account. Which combination of steps meets these requirements with the LEAST operational overhead? (Choose TWO)
A.
Use AWS CloudFormation StackSets to enable Security Hub in every account and Region and send findings to the security team by email through Amazon SNS.
B.
From the management account, designate a delegated administrator account for Security Hub and use central configuration to enable Security Hub and the required standard in all accounts and Regions, including new accounts.
C.
Create Amazon EventBridge rules in every account and Region that forward Security Hub findings to an Amazon SQS queue in the security account.
D.
In the delegated administrator account, configure cross-Region aggregation with a home (aggregation) Region and link the other Regions.
E.
Configure Amazon GuardDuty in the security account as the aggregation point for Security Hub findings from all accounts.
5
Domain 1
A company serves a web application from an Application Load Balancer in eu-west-1. The team requested a public certificate for www.example.com in AWS Certificate Manager (ACM) in eu-west-1 and attached it to the ALB. They are now adding an Amazon CloudFront distribution in front of the ALB with the same custom domain, but the certificate does not appear in the CloudFront console. What should a solutions architect do to resolve this with the LEAST operational overhead?
A.
Keep the default *.cloudfront.net certificate on the distribution and create a CNAME record for www.example.com that points to the distribution domain name.
B.
Request a public ACM certificate for www.example.com in the us-east-1 Region, validate it with DNS, and associate it with the CloudFront distribution while keeping the eu-west-1 certificate on the ALB.
C.
Issue a certificate for www.example.com from AWS Private CA in eu-west-1 and associate it with the CloudFront distribution.
D.
Enable cross-Region replication of the existing ACM certificate from eu-west-1 to all edge locations.
6
Domain 1
A central networking team wants to own and manage all VPCs, subnets, route tables, NAT gateways, and Transit Gateway attachments. Application teams, each in their own AWS account within the same organization, must be able to launch EC2 instances and RDS databases into approved subnets but must not be able to modify any networking components. The company also wants to minimize the number of VPCs and Transit Gateway attachments. Which solution meets these requirements?
A.
Create a VPC in each application account and connect each one to a central VPC by using VPC peering, with route table entries managed by the networking team.
B.
Create a VPC in each application account, attach each VPC to the Transit Gateway, and apply SCPs that deny networking API actions to application teams.
C.
Create shared VPCs in the networking account and use AWS Resource Access Manager (AWS RAM) to share specific subnets with the application accounts' OU.
D.
Expose a VPC endpoint service powered by AWS PrivateLink from the networking account and have each application account create interface endpoints.
7
Domain 2
A media company must process about 8 million small JSON files in an S3 bucket every night. Currently, a single AWS Lambda function lists the objects and invokes a processing Lambda function for each object, but it regularly hits the 15-minute timeout and failed items are not retried consistently. The company wants a serverless solution that controls concurrency, retries failed items, and tolerates a small percentage of failures, with the LEAST operational overhead. Which solution should a solutions architect recommend?
A.
Use an AWS Step Functions workflow with a Distributed Map state that reads the objects from the S3 prefix, invokes the processing Lambda function in child workflows with a configured maximum concurrency and retry policy, and sets a tolerated failure threshold.
B.
Launch an Amazon EMR cluster each night with a Spark job that reads the JSON files from S3 and terminates the cluster when the job finishes.
C.
Run a cron job on an EC2 instance that lists the objects and sends one message per object to an Amazon SQS queue that triggers the processing Lambda function.
D.
Submit an AWS Batch array job with 8 million child jobs on a managed EC2 compute environment that runs the processing code in containers.
8
Domain 2
A brokerage firm must store trade confirmation records in Amazon S3 for 7 years in a WORM (write once, read many) format to satisfy SEC Rule 17a-4. Regulators require that no user, including the AWS account root user, can delete the records or shorten the retention period before it expires. Which solution meets these requirements?
A.
Enable S3 Versioning and S3 Object Lock on the bucket with a default retention period of 7 years in governance mode.
B.
Enable S3 Versioning with MFA Delete and add a bucket policy that denies s3:DeleteObject for all principals.
C.
Enable S3 Object Lock on the bucket and apply a legal hold to every object as it is uploaded.
D.
Enable S3 Versioning and S3 Object Lock on the bucket with a default retention period of 7 years in compliance mode.
9
Domain 3
Choose 2
A company manages 300 Linux EC2 instances in private subnets that have no internet access. Administrators connect through SSH bastion hosts in public subnets using shared SSH keys. An audit finding requires the company to remove all inbound management ports, control access with IAM, and keep a record of every session's commands in Amazon S3. Which combination of steps should a solutions architect take? (Choose TWO)
A.
Ensure the SSM Agent is running on the instances, attach an instance profile that includes the AmazonSSMManagedInstanceCore policy, and create interface VPC endpoints for ssm, ssmmessages, and ec2messages in the private subnets.
B.
Replace the bastion hosts with an EC2 Instance Connect Endpoint and allow inbound TCP port 22 to the instances from the endpoint's security group.
C.
Use AWS Systems Manager Session Manager with session logging to Amazon S3 enabled in the Session Manager preferences, grant access through IAM policies, and remove the bastion hosts and all inbound port 22 rules.
D.
Deploy AWS Client VPN for administrators and store the SSH private keys in AWS Secrets Manager with automatic rotation.
E.
Move the instances to public subnets and restrict inbound SSH in the security groups to the corporate office IP range.
10
Domain 4
A company has a 200 TB on-premises Windows file share accessed over SMB by applications that will remain on premises for the next 2 years. The company wants new and existing files to be stored as objects in Amazon S3 so that a data lake team can analyze them with Amazon Athena and apply S3 Lifecycle policies. The on-premises applications need low-latency access to recently used files and must keep using SMB without code changes. Which solution meets these requirements?
A.
Migrate the file share to Amazon FSx for Windows File Server and connect the applications to it over AWS Direct Connect.
B.
Deploy an Amazon S3 File Gateway on premises, create an SMB file share backed by an S3 bucket, and point the applications to the gateway's share, which caches recently used data locally.
C.
Order AWS Snowball Edge devices to copy the 200 TB of files to Amazon S3 and decommission the on-premises file share.
D.
Deploy AWS Storage Gateway Volume Gateway in cached mode and present iSCSI volumes to the file server.
0/10 terjawab
Periksa