📝 Drill SAP-C02 — sore 2026-10-18
Set #40 · fokus Domain 3 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 3
A retail company serves JavaScript, CSS, and image files through Amazon CloudFront from an Application Load Balancer origin. CloudWatch shows a cache hit ratio of 35%. Investigation shows that the distribution forwards all headers and query strings (including marketing utm_* parameters that do not change the content), and the origin returns Cache-Control: max-age=60 even though the assets only change during weekly releases. Users must always receive new assets immediately after each release. Which solution will MOST improve the cache hit ratio while meeting this requirement?
A.
Enable Origin Shield in the Region closest to the ALB and add more targets to the ALB target group.
B.
Set the minimum TTL to 0 on the cache behavior and schedule an hourly CloudFront invalidation of /* using EventBridge and Lambda.
C.
Use a Lambda@Edge viewer request function to strip query strings and set the default TTL to 1 day, keeping the origin Cache-Control: max-age=60 header unchanged.
D.
Attach a cache policy that excludes query strings and unneeded headers from the cache key, have the origin return Cache-Control: max-age=31536000 for content-hashed file names, and reference new file names in each release.
2
Domain 3
An order API uses Amazon API Gateway, AWS Lambda, several Amazon ECS services, and Amazon DynamoDB. After a recent release, p99 latency rose from 300 ms to 2.5 seconds, but average CloudWatch metrics for each individual service look normal. The team must identify which downstream call is causing the slow requests with the LEAST effort. What should a solutions architect recommend?
A.
Enable AWS X-Ray active tracing on API Gateway and Lambda, instrument the ECS services with the AWS Distro for OpenTelemetry or X-Ray SDK, and analyze the trace map and high-latency trace segments.
B.
Enable VPC Flow Logs on all subnets and query them with Amazon Athena to find connections with the longest duration.
C.
Enable AWS CloudTrail data events for Lambda and DynamoDB and use CloudTrail Lake to find slow API calls.
D.
Increase the Lambda memory size and enable provisioned concurrency, then compare latency before and after the change.
3
Domain 3
A company runs a web application on an Auto Scaling group with a target tracking policy at 50% CPU. Every weekday at 08:00, traffic increases fourfold within 10 minutes, and new instances need about 12 minutes to become ready, so users see errors until 08:20. Traffic volume grows steadily month over month, and marketing campaigns also cause unplanned afternoon spikes. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a scheduled action that sets the minimum capacity to a fixed value at 07:45 each weekday and review the value every month.
B.
Add a predictive scaling policy in forecast and scale mode with a scheduling buffer time that launches instances ahead of the forecast, and keep the target tracking policy for unplanned spikes.
C.
Replace the target tracking policy with a step scaling policy that adds instances when CPU exceeds 30%.
D.
Replace the target tracking policy with a predictive scaling policy only, because the forecast already includes all historical spikes.
4
Domain 3
A company runs month-end batch jobs on an EC2 Auto Scaling group that uses On-Demand Instances. During the last run, scale-out stopped at 640 vCPUs and the activity history showed VcpuLimitExceeded errors. Usage is expected to grow by 45% next quarter. The company wants to prevent recurrence and receive warnings before the limit is reached, with the LEAST operational overhead. What should a solutions architect do?
A.
Change the launch template to larger instance types so that fewer instances are needed for the same workload.
B.
Split the Auto Scaling group across two AWS Regions so that each Region stays below the limit.
C.
Request an increase to the Running On-Demand Standard instances vCPU quota in Service Quotas, and create a CloudWatch alarm on the AWS/Usage metric using the SERVICE_QUOTA() function at 80% that notifies through Amazon SNS.
D.
Review the AWS Trusted Advisor service limits check manually every week and open a support case when needed.
5
Domain 3
A company runs 120 on-premises VMware servers (Windows and Linux, including SQL Server) and wants to use AWS for disaster recovery. Requirements are an RPO of seconds, an RTO of minutes, minimal AWS cost while no disaster is occurring, and the ability to fail back to the on-premises data center after an event. Which solution meets these requirements?
A.
Use AWS Elastic Disaster Recovery: install the replication agent on each server for continuous block-level replication to a low-cost staging area subnet, configure launch settings, run recovery drills, and use the Failback Client to return to on premises.
B.
Use AWS Backup for VMware to take hourly backups and restore them to Amazon EC2 during a disaster.
C.
Use AWS Application Migration Service and keep the launched test instances running in AWS as a warm standby.
D.
Use VM Import/Export to create AMIs nightly and launch them with AWS CloudFormation during a disaster.
6
Domain 3
Choose 2
A team deploys AWS Lambda function updates through AWS CodePipeline by updating the function code directly (all at once). A faulty release recently caused 20 minutes of errors for all users. The team wants to limit the blast radius of future releases and roll back automatically when errors increase, with the LEAST operational overhead. Which combination of steps should the team take? (Choose TWO)
A.
Deploy each release as a new CloudFormation stack and switch traffic manually after testing.
B.
Publish a new function version on each release behind an alias, and use AWS CodeDeploy with the LambdaCanary10Percent5Minutes deployment configuration to shift alias traffic.
C.
Create two separate Lambda functions and use Amazon Route 53 weighted records to split traffic between them.
D.
Create CloudWatch alarms on the alias Errors metric and associate them with the CodeDeploy deployment group so that the deployment rolls back automatically when an alarm fires.
E.
Enable provisioned concurrency on the new version so that it can handle all traffic immediately.
7
Domain 1
A company has 60 AWS accounts in AWS Organizations and adds new accounts every month. The security team requires that API activity from all current and future accounts be logged centrally, that member account administrators cannot disable or delete the logging, and that logs be stored immutably for 7 years. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy a CloudTrail trail to every account with CloudFormation StackSets and have each trail deliver to a bucket in that same account.
B.
Create a CloudTrail Lake event data store in each member account with 7-year retention.
C.
Create an organization trail from the management account (or delegated administrator) that delivers to an S3 bucket in a dedicated log archive account with S3 Object Lock in compliance mode and a 7-year retention period.
D.
Create EventBridge rules in every account that forward all events to a central event bus and stream them to S3 with Amazon Data Firehose.
8
Domain 2
A company stores customer records as JSON objects in Amazon S3. Several internal applications read these objects. The analytics team must never see personally identifiable information (PII) fields, while the support team needs the full records. The company wants to avoid maintaining duplicate copies of the data and wants minimal changes to existing applications. Which solution meets these requirements?
A.
Run a nightly AWS Glue job that writes a redacted copy of the data to a second bucket for the analytics team.
B.
Enable Amazon Macie on the bucket and configure it to mask PII fields when the analytics team reads objects.
C.
Require the analytics applications to use S3 Select queries that omit the PII fields.
D.
Create an S3 Object Lambda Access Point with a Lambda function that redacts PII fields on GET requests, and allow the analytics team to access the data only through that access point.
9
Domain 4
A company plans to migrate 800 Windows and Linux servers from its data center to AWS. To plan migration waves, the team needs detailed utilization data plus the running processes and inbound and outbound network connections between servers, viewable in AWS Migration Hub. Which approach should a solutions architect recommend?
A.
Deploy the AWS Application Discovery Service Agentless Collector in vCenter and use its data to build the dependency map.
B.
Install the AWS Application Discovery Service Discovery Agent on each server, and use the Migration Hub network diagram and Athena data exploration to group dependent servers into waves.
C.
Use Migration Evaluator to collect inventory and produce a dependency map for wave planning.
D.
Use AWS DataSync Discovery to analyze the servers and identify application dependencies.
10
Domain 2
A company is designing a 2 PB data lake on Amazon S3. Most objects are larger than 128 KB. Access patterns are unpredictable: some datasets are untouched for months and then queried heavily for weeks. The company wants the lowest storage cost without retrieval fees, without access delays, and without staff analyzing access patterns. Which storage approach meets these requirements?
A.
Store the objects in S3 Intelligent-Tiering so that objects move automatically between access tiers based on usage.
B.
Use an S3 Lifecycle rule to transition objects to S3 Standard-IA after 30 days.
C.
Use an S3 Lifecycle rule to transition objects to S3 Glacier Flexible Retrieval after 90 days.
D.
Use S3 Storage Lens to identify cold prefixes each quarter and manually move them to S3 One Zone-IA.
0/10 terjawab
Periksa