📝 Drill SAP-C02 — sore 2026-11-23
Set #111 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A media company hosts five customer-facing websites, each with its own domain name, behind a single internet-facing Application Load Balancer. Currently only one domain has HTTPS, and the security team now requires TLS for all five domains. A partner firewall allowlists the ALB's DNS name only, and the company wants the LEAST operational overhead and no additional load balancer cost. What should a solutions architect do?
A.
Deploy four additional ALBs, each with an HTTPS listener and a single ACM certificate, and use Route 53 alias records to point each domain to its own ALB.
B.
Request a single ACM certificate for the first domain and configure the ALB to redirect HTTPS requests for the other domains to that domain.
C.
Request ACM certificates for each domain and add them to the certificate list of the existing HTTPS listener so the ALB selects the correct certificate by using SNI.
D.
Replace the ALB with a Network Load Balancer that has a TCP listener on port 443 and terminate TLS on each EC2 instance with self-managed certificates.
2
Domain 3
An audit found that a fleet of containerized applications on Amazon ECS connects to an Amazon RDS for PostgreSQL database by using a password stored in plaintext environment variables in the task definitions. The password has not changed in two years. The company must rotate the credential every 30 days without application downtime and with the LEAST operational overhead. Which solution meets these requirements?
A.
Store the credential in AWS Secrets Manager with managed rotation every 30 days by using the alternating-users strategy, and reference the secret in the ECS task definition secrets field.
B.
Store the credential as a SecureString parameter in Systems Manager Parameter Store and create an EventBridge scheduled rule that invokes a custom Lambda function to change the database password every 30 days.
C.
Encrypt the environment variables with an AWS KMS customer managed key and enable automatic annual key rotation.
D.
Enable IAM database authentication on RDS and have a cron job on a bastion host regenerate the master password every 30 days and update the task definitions.
3
Domain 3
A company gives each data science team its own AWS account in AWS Organizations. One team repeatedly overspends by launching large GPU instances. Finance requires that when the team's monthly forecasted EC2 spend exceeds its budget, new EC2 instance launches in that account are automatically blocked until an administrator approves the change, while running workloads keep operating. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a CloudWatch billing alarm on EstimatedCharges for the account that publishes to an SNS topic subscribed by the finance team's email.
B.
Enable AWS Cost Anomaly Detection for the account and have a Lambda function terminate all GPU instances when an anomaly is reported.
C.
Use Cost Explorer reports scheduled daily and ask the team lead to stop launching instances when the forecast exceeds the budget.
D.
Create an AWS Budgets cost budget filtered to EC2 with a forecasted threshold and configure a Budgets action that attaches an SCP denying ec2:RunInstances to the account, requiring approval before it is applied.
4
Domain 3
A company serves product images and a static storefront through Amazon CloudFront from an S3 bucket in us-east-1. During a recent regional S3 disruption, customers received HTTP 503 errors for 40 minutes. The company already replicates the bucket to eu-west-1 with S3 Cross-Region Replication. The company wants requests to fail over automatically to the replica with no DNS changes. What should the solutions architect do?
A.
Create a Route 53 failover record set with health checks pointing to the two S3 website endpoints and update CloudFront to use the Route 53 name as its origin.
B.
Create a CloudFront origin group with the us-east-1 bucket as the primary origin and the eu-west-1 bucket as the secondary origin, configure failover on 5xx status codes, and set the origin group as the target of the cache behavior.
C.
Enable CloudFront Origin Shield in us-east-1 so cached objects continue to be served during the outage.
D.
Configure a Lambda@Edge viewer request function that rewrites every request to the eu-west-1 bucket.
5
Domain 3
A security team discovers that developers in several accounts frequently create security groups that allow inbound SSH from 0.0.0.0/0. The team wants these rules to be detected and removed automatically within minutes across all accounts in the organization, with findings tracked for audit and with the LEAST custom code. Which solution meets these requirements?
A.
Schedule a weekly Amazon Inspector network reachability assessment and email the results to account owners.
B.
Create an SCP that denies ec2:CreateSecurityGroup in all member accounts.
C.
Use VPC Flow Logs with a CloudWatch Logs metric filter that alarms on traffic to port 22.
D.
Deploy an organization conformance pack that includes the restricted-ssh AWS Config managed rule with an automatic remediation action that runs the AWS-DisablePublicAccessForSecurityGroup Systems Manager Automation runbook.
6
Domain 3
A FinOps team must produce a monthly chargeback report that breaks down hourly costs by resource ID, cost allocation tag, and pricing type (On-Demand, Savings Plans, Spot) across 60 member accounts. The team wants to query the data with standard SQL and avoid managing any database servers. Which approach is MOST appropriate?
A.
Use the Cost Explorer console with daily granularity and export the graphs to CSV for each account.
B.
Enable AWS Cost Anomaly Detection monitors for each cost allocation tag and use the alert history as the report source.
C.
Configure an AWS Cost and Usage Report (CUR) in the management account with hourly granularity and resource IDs, delivered to S3 in Parquet format with the Athena integration, and query it by using Amazon Athena.
D.
Create AWS Budgets for every tag value and combine the budget reports in a spreadsheet.
7
Domain 1
A company with 200 AWS accounts in AWS Organizations keeps experiencing overlapping VPC CIDR blocks because each team picks its own ranges from a shared spreadsheet. The network team plans to connect all VPCs to a Transit Gateway and needs to enforce non-overlapping allocations per Region and environment, while letting teams create VPCs themselves. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable Amazon VPC IP Address Manager (IPAM) with a delegated administrator, create Regional pools per environment with allocation rules, share the pools through AWS RAM, and require VPCs to be created from IPAM pools.
B.
Create a DynamoDB table of CIDR assignments and a Lambda function that teams call to reserve a range before creating a VPC.
C.
Assign every VPC the same 10.0.0.0/16 CIDR and use PrivateLink for all cross-VPC communication.
D.
Use AWS Config to detect overlapping CIDRs after VPC creation and notify the network team to rebuild the VPCs.
8
Domain 2
A gaming company is launching a player profile service in us-east-1, eu-west-1, and ap-southeast-1. Players must read and update their profiles with single-digit millisecond latency from the nearest Region, and the service must keep accepting writes in the remaining Regions if one Region fails. The company wants a fully managed solution with no replication code. Which database design meets these requirements?
A.
Amazon Aurora PostgreSQL with Aurora Global Database, with the primary cluster in us-east-1 and secondary clusters in the other Regions.
B.
Amazon DynamoDB global tables with replicas in all three Regions and each Regional application stack writing to its local replica.
C.
Amazon RDS for MySQL Multi-AZ in us-east-1 with cross-Region read replicas in the other two Regions.
D.
Amazon ElastiCache for Redis Global Datastore as the system of record in all three Regions.
9
Domain 4
A research institute must move 600 TB of archived genomic files from an on-premises NAS to Amazon S3 within 4 weeks. The site has a 500 Mbps internet link that is already 70% utilized during business hours, and there is no Direct Connect. After the bulk move, only a few gigabytes of new files are added each week. Which approach is MOST cost-effective and meets the timeline?
A.
Order a 10 Gbps AWS Direct Connect dedicated connection and use AWS DataSync for the full transfer.
B.
Use the AWS CLI with S3 multipart upload across the existing internet link, running transfers 24 hours a day.
C.
Order multiple AWS Snowball Edge Storage Optimized devices for the bulk copy, then use AWS DataSync over the internet for the weekly incremental files.
D.
Enable S3 Transfer Acceleration and upload the files with parallel threads from the NAS.
10
Domain 1
Choose 2
A company has 40 spoke VPCs connected to a Transit Gateway. Each VPC currently has its own interface VPC endpoints for AWS KMS, Secrets Manager, and STS, and the endpoint charges have become significant. The company wants to centralize these endpoints in a shared services VPC while applications keep using the default public AWS service DNS names. Which combination of steps will meet these requirements? (Choose TWO)
A.
Create the interface endpoints in the shared services VPC with private DNS disabled, and create a Route 53 private hosted zone for each service name with alias records to the endpoint DNS names.
B.
Enable private DNS on the interface endpoints in the shared services VPC and rely on it to resolve the names in the spoke VPCs.
C.
Replace the interface endpoints with gateway endpoints in the shared services VPC and add Transit Gateway routes to the prefix lists.
D.
Associate the private hosted zones with every spoke VPC (cross-account association where needed) so spoke workloads resolve the service names to the central endpoint IPs routed through the Transit Gateway.
E.
Deploy NAT gateways in the shared services VPC and route all spoke traffic to AWS APIs through them.
0/10 terjawab
Periksa