📝 Drill SAP-C02 — sore 2026-09-30
Set #4 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A company runs a Java application on EC2 instances that connects to an Amazon RDS for MySQL database. The database password is currently stored in a properties file baked into the AMI, and a new compliance policy requires the password to be rotated every 30 days without application downtime. The security team also wants every retrieval of the credential to be auditable. Which solution meets these requirements with the LEAST operational overhead?
A.
Store the password as a SecureString parameter in Systems Manager Parameter Store and create an EventBridge scheduled rule that invokes a custom Lambda function to change the password in RDS and update the parameter every 30 days.
B.
Store the credential in AWS Secrets Manager, enable managed rotation on a 30-day schedule, grant the EC2 instance role secretsmanager:GetSecretValue, and have the application retrieve the secret at runtime using the caching client.
C.
Encrypt the password with a customer managed KMS key, store the ciphertext in the AMI, and rebuild the AMI every 30 days with a new password using EC2 Image Builder.
D.
Enable IAM database authentication on RDS and store a long-term IAM access key on each instance so the application can generate authentication tokens.
2
Domain 2
An online ticketing company runs its web storefront behind an Application Load Balancer. During popular sales, automated scripts hammer the login and checkout endpoints, causing credential-stuffing attempts and inventory hoarding, while legitimate users see errors. The company needs to block abusive automated clients at the application layer while allowing verified search-engine crawlers. Which solution should a solutions architect recommend?
A.
Subscribe to AWS Shield Advanced and rely on the Shield Response Team to mitigate the traffic during each sale event.
B.
Enable Amazon GuardDuty and configure an EventBridge rule that adds offending IP addresses to the ALB security group as deny rules.
C.
Associate an AWS WAF web ACL with the ALB that uses the AWS WAF Bot Control managed rule group and rate-based rules scoped to the login and checkout URI paths.
D.
Replace the network ACLs on the ALB subnets with rules that deny traffic from IP ranges observed in the ALB access logs.
3
Domain 2
A company uses AWS Organizations with separate production and development accounts. Policy states that production EC2 instances must launch only from a list of hardened AMI IDs, while developers can experiment with any AMI in development. The security team wants continuous evaluation of existing and new production instances, a historical record of instance configuration, and automatic notification of violations. Which solution meets these requirements?
A.
Attach an SCP to the production OU that denies ec2:RunInstances unless the aws:SourceVpc condition key matches the production VPC.
B.
Enable Amazon Inspector in the production account and create findings filters for instances that are not using the hardened AMIs.
C.
Use AWS Trusted Advisor checks in the production account and schedule a weekly export of results to Amazon S3.
D.
Deploy the AWS Config managed rule approved-amis-by-id in the production account with the hardened AMI IDs as parameters, and route noncompliant evaluations through Amazon EventBridge to Amazon SNS.
4
Domain 2
A team deploys ephemeral feature environments with AWS CloudFormation. Each stack contains an Amazon RDS for PostgreSQL DB instance, an S3 bucket holding test artifacts, and several EC2 instances. When a feature environment stack is deleted, auditors require a final backup of the database to be preserved, while all other resources should be removed to minimize cost. What should the solutions architect do?
A.
Set DeletionPolicy: Snapshot on the AWS::RDS::DBInstance resource and leave the default Delete policy on the other resources.
B.
Set DeletionPolicy: Retain on every resource in the template so nothing is lost when the stack is deleted.
C.
Enable termination protection on the stack and manually create a DB snapshot before each deletion.
D.
Set UpdateReplacePolicy: Snapshot on the AWS::RDS::DBInstance resource.
5
Domain 2
Choose 2
A company must apply critical and security OS patches to 800 Amazon EC2 instances (Amazon Linux and Windows Server) within 7 days of release, patching in place during a weekly off-hours window and producing compliance reports for auditors. The instances were launched from an AMI that already includes the SSM Agent. Which combination of steps will meet these requirements? (Choose TWO)
A.
Create a Lambda function that connects to each instance over SSH or RDP and runs the native package manager on a cron schedule.
B.
Rebuild every AMI weekly with EC2 Image Builder and replace all instances using an Auto Scaling instance refresh.
C.
Attach an instance profile that includes the AmazonSSMManagedInstanceCore policy so the instances register as managed nodes in Systems Manager.
D.
Enable AWS Config conformance packs to install missing patches automatically on noncompliant instances.
E.
Create custom patch baselines with a 7-day auto-approval delay for critical and security updates, and use a Patch Manager patch policy or maintenance window to run AWS-RunPatchBaseline weekly.
6
Domain 2
A healthcare company runs dozens of internal microservices behind internal Application Load Balancers that are reachable only from its VPCs and on-premises network. A new regulation requires all internal traffic to be encrypted in transit using certificates issued by the company's own private certificate hierarchy, and the operations team wants to avoid manual certificate renewal. Which solution meets these requirements with the LEAST operational overhead?
A.
Request public certificates from AWS Certificate Manager using DNS validation for each internal hostname and attach them to the ALB HTTPS listeners.
B.
Create a private CA in AWS Private Certificate Authority, request private certificates through AWS Certificate Manager, and attach them to HTTPS listeners on the internal ALBs so ACM renews them automatically.
C.
Generate self-signed certificates with OpenSSL on a bastion host, import them into ACM, and set a calendar reminder to re-import them before expiry.
D.
Terminate TLS on each EC2 instance using certificates stored in AWS CloudHSM and remove the HTTPS listeners from the ALBs.
7
Domain 1
A company with 60 AWS accounts in AWS Organizations currently creates IAM users in each account for 1,200 employees, who authenticate with Okta for all other applications. The security team wants to eliminate long-term IAM user credentials, grant access based on Okta group membership, and automatically remove AWS access when an employee is deprovisioned in Okta. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable AWS IAM Identity Center in the management account, configure Okta as the external identity provider with SAML and automatic SCIM provisioning, and assign permission sets to synchronized groups across accounts.
B.
Create a SAML identity provider and federated IAM roles in each of the 60 accounts, and maintain role mappings in Okta for every account.
C.
Deploy AWS Managed Microsoft AD, configure a trust with Okta, and use AD Connector in each account to map users to IAM roles.
D.
Keep the IAM users but enforce MFA and access key rotation every 90 days with an AWS Config rule and an SCP.
8
Domain 3
A gaming company stores player profiles in an Amazon DynamoDB table using on-demand capacity. A new leaderboard feature performs very read-heavy, repeated GetItem calls on the same hot items, and the product team now requires microsecond read latency. Application changes should be minimal, and the solution must stay compatible with the existing DynamoDB API calls. What should a solutions architect do?
A.
Switch the table to provisioned capacity with auto scaling and increase the read capacity units.
B.
Add a global secondary index with a projection of the leaderboard attributes and query the index instead of the table.
C.
Place an Amazon ElastiCache for Redis cluster in front of the table and rewrite the data access layer to implement a lazy-loading cache.
D.
Deploy a DynamoDB Accelerator (DAX) cluster in the VPC and point the application's DynamoDB client at the DAX endpoint.
9
Domain 4
A media company must move 600 TB of archived video from an on-premises NAS to Amazon S3 within 5 weeks to exit its data center. The site has a 500 Mbps internet link that is already 60% utilized by business traffic, and there is no budget or time to provision AWS Direct Connect. Which approach is the MOST suitable?
A.
Use AWS DataSync over the existing internet connection with bandwidth throttling set to use the remaining capacity.
B.
Enable S3 Transfer Acceleration and upload the files with the AWS CLI using multipart upload in parallel.
C.
Order multiple AWS Snowball Edge Storage Optimized devices, copy the data locally, and ship them back so the data is imported into Amazon S3.
D.
Deploy an AWS Storage Gateway S3 File Gateway on premises and copy the archive to the file share.
10
Domain 1
A financial services company uses AWS Organizations with 150 accounts. Regulators require that API activity from all current and future accounts be captured centrally, that account administrators in member accounts cannot disable the logging, and that log files cannot be modified or deleted for 7 years. Which solution meets these requirements?
A.
Create a CloudTrail trail in each member account with a StackSet and grant member account administrators permission to manage their own trails.
B.
Create an organization trail in CloudTrail from the management account that delivers logs to an S3 bucket in a dedicated log archive account with S3 Object Lock in compliance mode and a 7-year retention period.
C.
Enable AWS Config aggregators in a delegated administrator account and store configuration snapshots in S3 Glacier Flexible Retrieval.
D.
Stream CloudTrail events from each account to Amazon CloudWatch Logs in the management account and set the log group retention to 7 years.
0/10 terjawab
Periksa