📝 Drill SAP-C02 — pagi 2026-10-16
Set #35 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A company runs development and production EC2 instances in the same AWS account. All production instances are tagged Environment=Production and must be launched only from a short list of security-approved AMIs; developers must remain free to launch any AMI for testing. The security team wants continuous evaluation, a history of instance configuration changes for auditors, and automatic remediation of noncompliant production instances. Which solution meets these requirements with the LEAST operational overhead?
A.
Attach an IAM policy to all developer and operator roles that denies ec2:RunInstances unless the ec2:ImageId condition key matches an approved AMI ID.
B.
Deploy the AWS Config managed rule approved-amis-by-id scoped to resources tagged Environment=Production, and attach an automatic remediation action that runs a Systems Manager Automation runbook to stop noncompliant instances.
C.
Enable Amazon Inspector on all instances and create an EventBridge rule that terminates any production instance with findings related to the base AMI.
D.
Create a CloudTrail trail and a scheduled Lambda function that parses RunInstances events every hour, compares the AMI ID to a DynamoDB allowlist, and emails the security team.
2
Domain 2
A financial services company must encrypt data in Amazon S3 and Amazon EBS. A regulator requires that the key material reside in single-tenant hardware security modules that are under the company's exclusive control, and that the company can disconnect the HSMs to make keys immediately unusable. The application teams want to keep using native SSE-KMS and EBS encryption without changing application code. Which solution meets these requirements?
A.
Create AWS KMS customer managed keys with imported key material and set an expiration date on the imported material.
B.
Deploy an AWS CloudHSM cluster and change the applications to perform client-side encryption with keys generated in CloudHSM before writing to S3 and EBS.
C.
Use AWS KMS multi-Region customer managed keys with automatic key rotation enabled and restrict the key policy to the security team.
D.
Create an AWS CloudHSM cluster, configure it as an AWS KMS custom key store, and create the KMS keys used by S3 and EBS in that custom key store.
3
Domain 2
A company's application servers connect to an Amazon RDS for MySQL database using a username and password stored in plaintext configuration files. A new compliance policy requires that database credentials be encrypted, rotated automatically every 30 days, and that every access to the credentials be auditable. The third-party application supports only password authentication. Which solution meets these requirements with the LEAST operational overhead?
A.
Store the credentials in AWS Secrets Manager with managed rotation enabled on a 30-day schedule, grant the instance role secretsmanager:GetSecretValue, and have the application retrieve the secret at runtime; audit access with CloudTrail.
B.
Store the credentials as Systems Manager Parameter Store SecureString parameters and create an EventBridge scheduled rule that invokes a custom Lambda function to change the password every 30 days.
C.
Enable IAM database authentication on the RDS instance and generate authentication tokens on each application server every 15 minutes.
D.
Encrypt the configuration files with AWS KMS, store them in an S3 bucket with versioning, and use a monthly Run Command document to update the password and redeploy the files.
4
Domain 2
A company runs an Amazon RDS for PostgreSQL Multi-AZ DB instance deployment. Reporting queries during business hours are saturating the primary's CPU, and the business also wants failover times reduced to well under a minute. The team wants to avoid managing replica promotion or additional replication configuration. Which solution meets these requirements?
A.
Point the reporting tool at the standby instance of the existing Multi-AZ DB instance deployment by using its secondary endpoint.
B.
Create a cross-Region read replica and direct the reporting queries to it, keeping the existing Multi-AZ DB instance deployment.
C.
Migrate to an RDS Multi-AZ DB cluster deployment with two readable standby instances and send reporting queries to the cluster's reader endpoint.
D.
Place Amazon ElastiCache for Redis in front of the database and cache all reporting query results for 24 hours.
5
Domain 2
A company must perform a major engine version upgrade of a production Amazon RDS for MySQL database that supports an e-commerce site. The business allows less than one minute of write downtime, requires the new version to be validated with production data before cutover, and wants a quick way back if validation fails before switchover. Which approach meets these requirements with the LEAST operational effort?
A.
Enable Multi-AZ on the existing instance and perform an in-place major version upgrade during the maintenance window.
B.
Create an Amazon RDS Blue/Green Deployment, upgrade the green environment, validate it, and then perform a switchover.
C.
Take a snapshot, restore it to a new instance on the new version, configure AWS DMS ongoing replication, and update the application connection strings at cutover.
D.
Create a read replica, upgrade the replica to the new version, promote it manually, and update DNS records in Route 53.
6
Domain 2
Choose 2
A media company exposes a public login API through an Application Load Balancer behind Amazon CloudFront. The company is suffering large HTTP request floods and credential-stuffing attempts against the login endpoint. Leadership wants 24/7 access to AWS DDoS experts during attacks, protection against scaling charges caused by DDoS events, and automated blocking of stolen-credential login attempts. Which combination of actions meets these requirements? (Choose TWO)
A.
Enable Amazon GuardDuty Runtime Monitoring on the ALB targets and auto-remediate findings with Lambda.
B.
Subscribe to AWS Shield Advanced and add the CloudFront distribution and ALB as protected resources.
C.
Deploy AWS Network Firewall in the ALB's VPC with stateful rules that drop traffic from suspicious IP addresses.
D.
Enable AWS Security Hub with the AWS Foundational Security Best Practices standard across the account.
E.
Associate an AWS WAF web ACL with CloudFront that includes rate-based rules and the Account Takeover Prevention (ATP) managed rule group for the login path.
7
Domain 1
A company with 80 accounts in AWS Organizations must ensure that workloads run only in eu-west-1 and eu-central-1 for data-residency reasons. Global services such as IAM, Route 53, CloudFront, and AWS Support must keep working, and a central break-glass role named OrgAdmin must be able to operate in any Region. Which solution meets these requirements with the LEAST operational overhead?
A.
Configure an AWS Config conformance pack in every account that flags resources created outside the two Regions and deletes them with Lambda.
B.
Attach an IAM permissions boundary to every role in every account that allows actions only in eu-west-1 and eu-central-1.
C.
Disable all other Regions in each account's account settings and remove OrgAdmin's ability to re-enable them.
D.
Attach an SCP at the organization root that denies all actions using NotAction for the global services when aws:RequestedRegion is not eu-west-1 or eu-central-1, with an ArnNotLike condition on aws:PrincipalARN that exempts the OrgAdmin role.
8
Domain 3
An online retailer's checkout flow spans a web frontend, several microservices, and a third-party payment API. Twice last month the checkout broke overnight when real traffic was very low, and the issue was discovered only in the morning from customer complaints. The operations team wants to detect broken end-to-end checkout journeys within 5 minutes, regardless of traffic volume. Which solution meets this requirement?
A.
Enable CloudWatch RUM on the web frontend and alarm on the JavaScript error rate.
B.
Configure Route 53 health checks against the frontend URL and alarm when the health check fails.
C.
Create CloudWatch Synthetics canaries that script the full browse-to-checkout journey every 5 minutes and alarm on canary failures.
D.
Enable AWS X-Ray tracing on all microservices and alarm on increased fault rates in the service map.
9
Domain 4
A company plans to rehost 200 VMware virtual machines running a mix of Windows and Linux applications to Amazon EC2 within three months. The business requires that each application's cutover window be under 1 hour, that teams can run non-disruptive test launches before cutover, and that the migration use as little custom tooling as possible. Which solution meets these requirements?
A.
Use AWS Application Migration Service (MGN) to continuously replicate the source servers, perform test launches, and then launch cutover instances.
B.
Export each VM as an OVA file, upload the files to Amazon S3, and import them with VM Import/Export during each cutover window.
C.
Use AWS DataSync to copy each VM's disks to Amazon EFS and build new EC2 instances from the copied data.
D.
Create AMIs manually by rebuilding each server on EC2 and use AWS DMS to synchronize application data until cutover.
10
Domain 3
A company's steady baseline compute spend is about $40,000 per month, split across Amazon EC2, AWS Fargate, and AWS Lambda. Over the next three years the engineering teams expect to move workloads between instance families, Regions, and from EC2 to containers and serverless. Finance wants the largest discount that still automatically applies as workloads shift. Which purchasing option should a solutions architect recommend?
A.
EC2 Instance Savings Plans for the current instance families in each Region.
B.
Compute Savings Plans with a 3-year term sized to the steady baseline spend.
C.
Standard Reserved Instances with a 3-year term for the current instance types.
D.
Convertible Reserved Instances that can be exchanged when instance families change.
0/10 terjawab
Periksa