📝 Drill SAP-C02 — pagi 2026-10-08
Set #19 · fokus Domain 4 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 4
A retailer is breaking up a monolithic order application. When an order is placed, the inventory, billing, and shipping services must each receive every order event and process it at their own pace. A slowdown or outage in one service must not block or drop events for the others. Which solution meets these requirements with the LEAST operational overhead?
A.
Publish order events to a single Amazon SQS standard queue that all three services poll.
B.
Publish order events to an Amazon SNS topic and subscribe a dedicated Amazon SQS queue for each service.
C.
Create an AWS Step Functions workflow that invokes the three services sequentially for each order.
D.
Have the order service call each downstream service's REST API through an Application Load Balancer with client-side retries.
2
Domain 4
A company runs an on-premises Kubernetes cluster deployed with Helm charts. Several workloads depend on DaemonSets for log shipping and node-level security agents. The company wants to migrate to AWS with minimal changes to its manifests while reducing the effort of provisioning, patching, and upgrading worker nodes. Which solution meets these requirements?
A.
Rewrite the workloads as Amazon ECS task definitions and run them on AWS Fargate.
B.
Deploy the workloads to Amazon EKS using Fargate profiles for all pods.
C.
Deploy the workloads to Amazon EKS using EKS managed node groups.
D.
Install self-managed Kubernetes on EC2 instances in an Auto Scaling group using kOps.
3
Domain 4
A company is moving an ML inference service to AWS Lambda. Multiple functions and an Amazon ECS service must read the same 8 GB set of model files, which data scientists update several times per day. Updates must be visible to all consumers without redeploying code, and cold-start latency must not include downloading the models. Which solution meets these requirements?
A.
Package the model files in a Lambda layer shared by all functions.
B.
Store the models in Amazon S3 and download them to /tmp at the start of each invocation.
C.
Build the models into a 10 GB Lambda container image and redeploy when the models change.
D.
Store the models on Amazon EFS and mount the file system in the Lambda functions (in a VPC) and the ECS tasks through access points.
4
Domain 4
An e-commerce company stores shopping cart data in a shared on-premises Oracle database. Carts are always read and written by cart ID, traffic spikes 20x during flash sales, and the business requires single-digit millisecond latency at any scale. The company wants to remove the shared database as a single point of failure and minimize capacity management. Which target data store should the cart microservice use?
A.
Amazon DynamoDB with on-demand capacity mode.
B.
Amazon Aurora Serverless v2 with the PostgreSQL-compatible engine.
C.
Amazon ElastiCache for Redis as the system of record for carts.
D.
Amazon RDS for Oracle Multi-AZ on a larger instance class.
5
Domain 4
A small team is migrating a Python web application that accepts video uploads and then performs long-running transcoding jobs on the same server, causing slow page loads. The team has little infrastructure experience and wants to separate the request handling from the background processing with the LEAST operational overhead and without adopting containers. What should a solutions architect recommend?
A.
Deploy the application to a single Elastic Beanstalk web server environment and run transcoding with cron jobs on the instances.
B.
Deploy the web tier on EC2 behind an ALB and run transcoding on a separate fleet of EC2 instances that poll an S3 bucket.
C.
Deploy an Elastic Beanstalk web server environment for the front end and an Elastic Beanstalk worker environment that processes jobs from an Amazon SQS queue.
D.
Deploy the full application to Amazon Lightsail and scale the instance vertically.
6
Domain 4
Choose 2
A research company is migrating two workloads to AWS. The first is a Windows .NET application that uses SMB file shares with permissions managed through Microsoft Active Directory. The second is a Linux HPC cluster that needs a high-throughput parallel file system with direct access to a large genomics dataset stored in Amazon S3. Which storage services should the company use? (Choose TWO)
A.
Amazon EFS with Infrequent Access for the Windows application.
B.
Amazon FSx for Windows File Server joined to the Active Directory domain for the Windows application.
C.
S3 File Gateway mounted on the HPC nodes for the genomics workload.
D.
Amazon EBS io2 volumes with Multi-Attach for the HPC cluster.
E.
Amazon FSx for Lustre linked to the S3 bucket as a data repository for the HPC cluster.
7
Domain 1
A company with 60 AWS accounts in AWS Organizations uses Okta as its corporate identity provider. Engineers currently have separate IAM users in each account. The security team wants centralized single sign-on, automatic removal of access when an employee is deprovisioned in Okta, and consistent role definitions across accounts. Which solution meets these requirements with the LEAST operational overhead?
A.
Create a SAML identity provider and IAM roles in every account, and maintain the Okta app assignments manually.
B.
Create IAM users in a central identity account and let engineers assume cross-account roles.
C.
Deploy AWS Directory Service for Microsoft AD and establish a trust with Okta.
D.
Enable IAM Identity Center with Okta as the external IdP, turn on SCIM automatic provisioning, and assign permission sets to groups across accounts.
8
Domain 2
A financial services company must keep a copy of all newly written trade confirmation objects in a second AWS Region. A regulator requires that the company can demonstrate 99.99% of objects are replicated within 15 minutes and be alerted when replication falls behind. Which solution meets these requirements?
A.
Configure S3 Cross-Region Replication with S3 Replication Time Control (S3 RTC) enabled and monitor replication metrics and events.
B.
Configure S3 Cross-Region Replication without additional features and check object counts daily.
C.
Use S3 event notifications to trigger a Lambda function that copies each object to the destination bucket.
D.
Schedule an AWS DataSync task every 15 minutes between the two buckets.
9
Domain 3
A travel booking site has had several incidents where the checkout page returned errors for hours before customers reported them, even though EC2 CPU and ALB health checks looked normal. The operations team wants to detect broken user journeys proactively, including multi-step flows, with the LEAST custom code to maintain. What should a solutions architect recommend?
A.
Lower the ALB health check interval and add a deeper health check path.
B.
Create Amazon CloudWatch Synthetics canaries that script the checkout flow on a schedule and alarm on failures.
C.
Enable VPC Flow Logs and alert on rejected traffic to the web tier.
D.
Run a cron job on an EC2 instance that uses curl to request the home page every minute.
10
Domain 2
A company is deploying containerized microservices on Amazon ECS with AWS Fargate. Database credentials are currently hard-coded in environment variables in the task definitions. The security team requires credentials to be encrypted, rotated automatically every 30 days, and never stored in source control. Which solution meets these requirements with the LEAST operational overhead?
A.
Store the credentials in AWS Secrets Manager with automatic rotation and reference the secret in the task definition's secrets section, granting the task execution role access.
B.
Store the credentials in an encrypted S3 object and download it in the container entrypoint script.
C.
Store the credentials as SecureString parameters in Parameter Store and rotate them with a scheduled script on EC2.
D.
Bake the credentials into the container image and rebuild the image every 30 days.
0/10 terjawab
Periksa