0 / 60 answered
Pick an answer to see the explanation. Fundamental questions refresh the basics; Advanced questions are short SAP-style scenarios.
Q1.An S3 bucket was deleted overnight and nobody admits doing it. Where should you look first to find who made the call?
✓ Correct: D. AWS CloudTrail event history
How to think about it: Who did what, when, through which API = CloudTrail.
Why D is correct: CloudTrail records API calls from the console, CLI, SDKs and services, including the caller identity, so it shows who ran DeleteBucket.
Why the others are wrong:
A) Amazon CloudWatch metrics — Metrics are numeric time series; they do not record which principal issued an API call.
B) VPC Flow Logs — Flow Logs capture IP traffic metadata for network interfaces, not AWS API calls or identities.
C) Amazon Inspector findings — Inspector scans workloads for vulnerabilities and does not keep an audit trail of API activity.
How to think about it: Who did what, when, through which API = CloudTrail.
Why D is correct: CloudTrail records API calls from the console, CLI, SDKs and services, including the caller identity, so it shows who ran DeleteBucket.
Why the others are wrong:
A) Amazon CloudWatch metrics — Metrics are numeric time series; they do not record which principal issued an API call.
B) VPC Flow Logs — Flow Logs capture IP traffic metadata for network interfaces, not AWS API calls or identities.
C) Amazon Inspector findings — Inspector scans workloads for vulnerabilities and does not keep an audit trail of API activity.
Q2.Without creating any trail, how long can you view management events in the CloudTrail console?
✓ Correct: C. 90 days
How to think about it: Free event history = 90 days; longer = trail to S3 (+ Athena).
Why C is correct: Event history keeps the last 90 days of management events at no cost; send a trail to S3 to keep them longer.
Why the others are wrong:
A) 7 days — Seven days is far shorter than the built-in event history window.
B) 1 year — There is no free one-year history; long-term retention needs a trail delivering to S3.
D) 30 days — Thirty days undercounts it; event history covers a full 90 days.
How to think about it: Free event history = 90 days; longer = trail to S3 (+ Athena).
Why C is correct: Event history keeps the last 90 days of management events at no cost; send a trail to S3 to keep them longer.
Why the others are wrong:
A) 7 days — Seven days is far shorter than the built-in event history window.
B) 1 year — There is no free one-year history; long-term retention needs a trail delivering to S3.
D) 30 days — Thirty days undercounts it; event history covers a full 90 days.
Q3.A trail is created with default settings. Which activity will it NOT record unless you turn it on?
✓ Correct: A. S3 object-level calls like GetObject
How to think about it: High-volume object/function activity = data events, off by default.
Why A is correct: Object-level S3 operations are data events, which are high volume and must be enabled explicitly on the trail.
Why the others are wrong:
B) CloudTrail CreateTrail calls — Setting up logging is itself a management event and is captured by default.
C) EC2 CreateSubnet calls — Creating a subnet changes resource configuration, so it is a management event logged by default.
D) IAM AttachRolePolicy calls on roles — Attaching a policy is a management event, which trails log by default.
How to think about it: High-volume object/function activity = data events, off by default.
Why A is correct: Object-level S3 operations are data events, which are high volume and must be enabled explicitly on the trail.
Why the others are wrong:
B) CloudTrail CreateTrail calls — Setting up logging is itself a management event and is captured by default.
C) EC2 CreateSubnet calls — Creating a subnet changes resource configuration, so it is a management event logged by default.
D) IAM AttachRolePolicy calls on roles — Attaching a policy is a management event, which trails log by default.
Q4.Security wants to be told automatically when the account suddenly shows a burst of IAM write actions far above its normal pattern. Which feature is built for this?
✓ Correct: D. CloudTrail Insights
How to think about it: Unusual volume vs. a learned baseline of management events = CloudTrail Insights.
Why D is correct: Insights learns a baseline from management events and flags unusual write activity, sending findings to the console, S3 and EventBridge.
Why the others are wrong:
A) CloudTrail log file integrity validation — Integrity validation proves log files were not altered; it does not detect unusual activity.
B) AWS Config conformance packs — Conformance packs evaluate resource configurations against rules, not API call volume anomalies.
C) S3 server access logging — Server access logs record requests to one bucket and have no anomaly detection.
How to think about it: Unusual volume vs. a learned baseline of management events = CloudTrail Insights.
Why D is correct: Insights learns a baseline from management events and flags unusual write activity, sending findings to the console, S3 and EventBridge.
Why the others are wrong:
A) CloudTrail log file integrity validation — Integrity validation proves log files were not altered; it does not detect unusual activity.
B) AWS Config conformance packs — Conformance packs evaluate resource configurations against rules, not API call volume anomalies.
C) S3 server access logging — Server access logs record requests to one bucket and have no anomaly detection.
Q5.An auditor must be able to prove that CloudTrail log files in S3 were not modified or deleted after delivery. What should you enable?
✓ Correct: D. CloudTrail log file integrity validation
How to think about it: Prove logs untouched = log file integrity validation (hash + signed digest files).
Why D is correct: CloudTrail writes signed digest files with SHA-256 hashes so you can verify each log file is unchanged.
Why the others are wrong:
A) SSE-S3 default encryption — Encryption protects confidentiality at rest but cannot show whether a file was altered.
B) S3 Transfer Acceleration on the bucket — Transfer Acceleration speeds long-distance uploads and provides no tamper evidence.
C) CloudWatch Logs metric filters — Metric filters count patterns in log events; they do not validate file integrity.
How to think about it: Prove logs untouched = log file integrity validation (hash + signed digest files).
Why D is correct: CloudTrail writes signed digest files with SHA-256 hashes so you can verify each log file is unchanged.
Why the others are wrong:
A) SSE-S3 default encryption — Encryption protects confidentiality at rest but cannot show whether a file was altered.
B) S3 Transfer Acceleration on the bucket — Transfer Acceleration speeds long-distance uploads and provides no tamper evidence.
C) CloudWatch Logs metric filters — Metric filters count patterns in log events; they do not validate file integrity.
Q6.Every account in an AWS Organization must send CloudTrail logs to one bucket, including accounts created next year. What is the simplest approach?
✓ Correct: B. Create an organization trail in the management account
How to think about it: One trail for all current and future member accounts = organization trail from the management account.
Why B is correct: An organization trail applies automatically to every member account, existing and new, and delivers to one central bucket.
Why the others are wrong:
A) Enable AWS Config aggregation in a security account — Config aggregators combine configuration data, not CloudTrail API logs.
C) Create a trail in each account with a StackSet — This works but needs ongoing maintenance and members could alter their own trails.
D) Turn on S3 Cross-Region Replication for each account — Replication copies objects between buckets; it does not create trails in accounts.
How to think about it: One trail for all current and future member accounts = organization trail from the management account.
Why B is correct: An organization trail applies automatically to every member account, existing and new, and delivers to one central bucket.
Why the others are wrong:
A) Enable AWS Config aggregation in a security account — Config aggregators combine configuration data, not CloudTrail API logs.
C) Create a trail in each account with a StackSet — This works but needs ongoing maintenance and members could alter their own trails.
D) Turn on S3 Cross-Region Replication for each account — Replication copies objects between buckets; it does not create trails in accounts.
Q7.A company wants a Lambda function to run within seconds whenever anyone calls DeleteTable on a DynamoDB table. Which design reacts fastest?
✓ Correct: C. EventBridge rule on the CloudTrail DeleteTable event, targeting Lambda
How to think about it: Fastest reaction to an API call = EventBridge rule on the CloudTrail event.
Why C is correct: EventBridge receives CloudTrail API events as they occur, so the rule invokes Lambda with the least delay.
Why the others are wrong:
A) Hourly Athena queries over the trail bucket, then Lambda — Scheduled queries are slow and wasteful for a near real-time reaction.
B) Trail delivery to S3 with an S3 event notification to Lambda — S3 delivery is batched every few minutes, so this adds noticeable delay.
D) A daily AWS Config rule that checks for missing tables — Periodic Config evaluation is far too slow and would not identify the caller.
How to think about it: Fastest reaction to an API call = EventBridge rule on the CloudTrail event.
Why C is correct: EventBridge receives CloudTrail API events as they occur, so the rule invokes Lambda with the least delay.
Why the others are wrong:
A) Hourly Athena queries over the trail bucket, then Lambda — Scheduled queries are slow and wasteful for a near real-time reaction.
B) Trail delivery to S3 with an S3 event notification to Lambda — S3 delivery is batched every few minutes, so this adds noticeable delay.
D) A daily AWS Config rule that checks for missing tables — Periodic Config evaluation is far too slow and would not identify the caller.
Q8.Operations wants an alarm when the number of denied API calls in the account exceeds 50 in five minutes. Which pipeline fits?
✓ Correct: B. Trail to CloudWatch Logs, metric filter on AccessDenied, then an alarm
How to think about it: Count a pattern in CloudTrail logs = CloudWatch Logs metric filter + alarm.
Why B is correct: Metric filters turn matching log events into a metric that a CloudWatch alarm can watch and notify on.
Why the others are wrong:
A) Use IAM Access Analyzer to count the denied requests — Access Analyzer reviews policies for external access; it does not count runtime denials.
C) Enable GuardDuty and alarm on every finding it raises — GuardDuty findings are threat detections, not a simple count of denied calls.
D) Query CloudTrail event history from a weekly cron script — A weekly script cannot alert within a five-minute window.
How to think about it: Count a pattern in CloudTrail logs = CloudWatch Logs metric filter + alarm.
Why B is correct: Metric filters turn matching log events into a metric that a CloudWatch alarm can watch and notify on.
Why the others are wrong:
A) Use IAM Access Analyzer to count the denied requests — Access Analyzer reviews policies for external access; it does not count runtime denials.
C) Enable GuardDuty and alarm on every finding it raises — GuardDuty findings are threat detections, not a simple count of denied calls.
D) Query CloudTrail event history from a weekly cron script — A weekly script cannot alert within a five-minute window.
Q9.Accounts A and B must deliver their trails into a bucket owned by a central security account. What must be in place for delivery to work?
✓ Correct: D. A central bucket policy letting CloudTrail write for A and B
How to think about it: Cross-account trail delivery = bucket policy in the central account allowing CloudTrail to write each account's prefix.
Why D is correct: The destination bucket policy must grant the CloudTrail service permission to put objects for each source account.
Why the others are wrong:
A) An IAM user in each source account with S3 full access — CloudTrail delivers as a service principal, so IAM users are irrelevant to delivery.
B) VPC peering between the VPCs of all three accounts — Log delivery goes through the CloudTrail service, not through customer VPC networking.
C) S3 Object Lock in compliance mode on the central bucket — Object Lock protects stored logs but does not grant write permission to other accounts.
How to think about it: Cross-account trail delivery = bucket policy in the central account allowing CloudTrail to write each account's prefix.
Why D is correct: The destination bucket policy must grant the CloudTrail service permission to put objects for each source account.
Why the others are wrong:
A) An IAM user in each source account with S3 full access — CloudTrail delivers as a service principal, so IAM users are irrelevant to delivery.
B) VPC peering between the VPCs of all three accounts — Log delivery goes through the CloudTrail service, not through customer VPC networking.
C) S3 Object Lock in compliance mode on the central bucket — Object Lock protects stored logs but does not grant write permission to other accounts.
Q10.Which statement about a KMS key created in us-east-1 is true?
✓ Correct: C. It can be used only in us-east-1 unless it is a multi-Region key
How to think about it: KMS keys are regional; use multi-Region keys to share key material.
Why C is correct: Standard KMS keys are bound to their Region; only multi-Region keys have related replicas elsewhere.
Why the others are wrong:
A) It can be exported in plaintext for use in another Region — KMS never exposes symmetric key material in plaintext.
B) It is automatically available in every Region of the account — Ordinary KMS keys do not replicate; each Region has its own keys.
D) It can be used in any Region where the account has a VPC — Having a VPC in a Region does not extend a regional key to it.
How to think about it: KMS keys are regional; use multi-Region keys to share key material.
Why C is correct: Standard KMS keys are bound to their Region; only multi-Region keys have related replicas elsewhere.
Why the others are wrong:
A) It can be exported in plaintext for use in another Region — KMS never exposes symmetric key material in plaintext.
B) It is automatically available in every Region of the account — Ordinary KMS keys do not replicate; each Region has its own keys.
D) It can be used in any Region where the account has a VPC — Having a VPC in a Region does not extend a regional key to it.
Q11.Partners outside AWS must encrypt files that only your application can decrypt, but they cannot call the KMS API. Which key type fits?
✓ Correct: C. An asymmetric KMS key, sharing its public key
How to think about it: Encrypt outside AWS with a downloadable public key = asymmetric KMS key.
Why C is correct: The public key can be downloaded and used anywhere, while the private key never leaves KMS for decryption.
Why the others are wrong:
A) An AWS managed key such as aws/s3 — AWS managed keys are symmetric and only usable by the owning AWS service.
B) A symmetric KMS key with a broad key policy — Symmetric keys require calling KMS to encrypt, which the partners cannot do.
D) An AWS owned key used by the service — AWS owned keys are not visible to or usable by customers at all.
How to think about it: Encrypt outside AWS with a downloadable public key = asymmetric KMS key.
Why C is correct: The public key can be downloaded and used anywhere, while the private key never leaves KMS for decryption.
Why the others are wrong:
A) An AWS managed key such as aws/s3 — AWS managed keys are symmetric and only usable by the owning AWS service.
B) A symmetric KMS key with a broad key policy — Symmetric keys require calling KMS to encrypt, which the partners cannot do.
D) An AWS owned key used by the service — AWS owned keys are not visible to or usable by customers at all.
Q12.You need to control who can use a key, enable rotation and audit every use in CloudTrail. Which KMS key type gives you all of that?
✓ Correct: B. Customer managed key
How to think about it: Full control (policy, rotation, enable/disable) = customer managed key.
Why B is correct: You create and own it, write its key policy, set rotation, disable it, and every use is logged in CloudTrail.
Why the others are wrong:
A) AWS owned key — These live outside your account, so you cannot view, manage or audit them.
C) S3 bucket key — A bucket key is an S3 cost optimisation for SSE-KMS, not a separate key type you manage.
D) AWS managed key — You can view and audit it, but AWS controls its policy and rotation.
How to think about it: Full control (policy, rotation, enable/disable) = customer managed key.
Why B is correct: You create and own it, write its key policy, set rotation, disable it, and every use is logged in CloudTrail.
Why the others are wrong:
A) AWS owned key — These live outside your account, so you cannot view, manage or audit them.
C) S3 bucket key — A bucket key is an S3 cost optimisation for SSE-KMS, not a separate key type you manage.
D) AWS managed key — You can view and audit it, but AWS controls its policy and rotation.
Q13.How often are AWS managed keys such as aws/ebs rotated?
✓ Correct: B. Automatically every year
How to think about it: AWS managed keys = rotated every year, automatically; you cannot change it.
Why B is correct: AWS rotates the key material of AWS managed keys yearly and you cannot change that schedule.
Why the others are wrong:
A) Every 90 days by default — Ninety days is the shortest custom period for customer managed keys, not the AWS managed schedule.
C) Only when you call RotateKeyOnDemand — On-demand rotation applies to customer managed keys, not AWS managed keys.
D) Never; rotation must be done manually — Manual rotation is for keys whose rotation you control, not AWS managed keys.
How to think about it: AWS managed keys = rotated every year, automatically; you cannot change it.
Why B is correct: AWS rotates the key material of AWS managed keys yearly and you cannot change that schedule.
Why the others are wrong:
A) Every 90 days by default — Ninety days is the shortest custom period for customer managed keys, not the AWS managed schedule.
C) Only when you call RotateKeyOnDemand — On-demand rotation applies to customer managed keys, not AWS managed keys.
D) Never; rotation must be done manually — Manual rotation is for keys whose rotation you control, not AWS managed keys.
Q14.A regulation says your organisation must generate key material on its own HSMs and keep the original outside AWS. Which KMS key origin matches?
✓ Correct: B. EXTERNAL (imported key material)
How to think about it: Bring Your Own Key = origin EXTERNAL (imported key material).
Why B is correct: You import your own key material and remain responsible for its durability and a copy outside AWS.
Why the others are wrong:
A) AWS_CLOUDHSM custom key store — Here KMS generates the material inside your CloudHSM cluster; you do not import your own.
C) AWS_KMS (default origin) — With the default origin, KMS generates the key material itself.
D) An AWS managed key — AWS managed keys are created by AWS services and cannot use your material.
How to think about it: Bring Your Own Key = origin EXTERNAL (imported key material).
Why B is correct: You import your own key material and remain responsible for its durability and a copy outside AWS.
Why the others are wrong:
A) AWS_CLOUDHSM custom key store — Here KMS generates the material inside your CloudHSM cluster; you do not import your own.
C) AWS_KMS (default origin) — With the default origin, KMS generates the key material itself.
D) An AWS managed key — AWS managed keys are created by AWS services and cannot use your material.
Q15.What is the main reason to back a KMS key with a CloudHSM custom key store?
✓ Correct: D. Key material must stay in dedicated HSMs that you own and manage
How to think about it: Need keys in single-tenant HSMs you control but still use KMS integrations = CloudHSM custom key store.
Why D is correct: The custom key store keeps material in your CloudHSM cluster while services still use the normal KMS API.
Why the others are wrong:
A) It makes the key available in every Region automatically — A custom key store is tied to one cluster in one Region.
B) It is the cheapest way to encrypt EBS volumes — Running a CloudHSM cluster adds cost; it is chosen for control, not price.
C) It removes the need for any key policy — Key policies still control access to keys in a custom key store.
How to think about it: Need keys in single-tenant HSMs you control but still use KMS integrations = CloudHSM custom key store.
Why D is correct: The custom key store keeps material in your CloudHSM cluster while services still use the normal KMS API.
Why the others are wrong:
A) It makes the key available in every Region automatically — A custom key store is tied to one cluster in one Region.
B) It is the cheapest way to encrypt EBS volumes — Running a CloudHSM cluster adds cost; it is chosen for control, not price.
C) It removes the need for any key policy — Key policies still control access to keys in a custom key store.
Q16.A DynamoDB global table spans us-east-1 and eu-west-1. Data is encrypted client-side and must be decrypted in either Region without cross-Region KMS calls. What should you use?
✓ Correct: A. A KMS multi-Region primary key with a replica in the other Region
How to think about it: Same key ID and material in several Regions = KMS multi-Region keys.
Why A is correct: Replicas share the same key ID and material, so ciphertext from one Region decrypts locally in the other.
Why the others are wrong:
B) One single-Region key called remotely from both Regions — That requires cross-Region API calls and fails if the key's Region is down.
C) An AWS managed key for DynamoDB in each Region — AWS managed keys are separate per Region and cannot be used client-side.
D) Two separate customer managed keys, one per Region — Different keys have different material, so data would need re-encryption to cross Regions.
How to think about it: Same key ID and material in several Regions = KMS multi-Region keys.
Why A is correct: Replicas share the same key ID and material, so ciphertext from one Region decrypts locally in the other.
Why the others are wrong:
B) One single-Region key called remotely from both Regions — That requires cross-Region API calls and fails if the key's Region is down.
C) An AWS managed key for DynamoDB in each Region — AWS managed keys are separate per Region and cannot be used client-side.
D) Two separate customer managed keys, one per Region — Different keys have different material, so data would need re-encryption to cross Regions.
Q17.A company requires that keys be rotated every 180 days, with older versions kept so existing data can still be decrypted. What is the lowest-effort way?
✓ Correct: A. Customer managed key, automatic rotation every 180 days
How to think about it: Customer managed key rotation period = 90 to 2560 days, old material retained.
Why A is correct: Customer managed keys accept a custom rotation period, and KMS keeps old key material to decrypt older data.
Why the others are wrong:
B) Use an AWS owned key and request rotation from Support — You have no control over AWS owned keys or their rotation.
C) Use an AWS managed key and change its rotation period — AWS managed key rotation is fixed at one year and cannot be changed.
D) Create a new key every 180 days and re-encrypt all data — This works but is heavy manual effort that built-in rotation already avoids.
How to think about it: Customer managed key rotation period = 90 to 2560 days, old material retained.
Why A is correct: Customer managed keys accept a custom rotation period, and KMS keeps old key material to decrypt older data.
Why the others are wrong:
B) Use an AWS owned key and request rotation from Support — You have no control over AWS owned keys or their rotation.
C) Use an AWS managed key and change its rotation period — AWS managed key rotation is fixed at one year and cannot be changed.
D) Create a new key every 180 days and re-encrypt all data — This works but is heavy manual effort that built-in rotation already avoids.
Q18.An EBS snapshot encrypted with a customer managed key must be shared with another account. Besides sharing the snapshot, what else is required?
✓ Correct: B. Grant the other account use of the key in its key policy
How to think about it: Sharing encrypted data cross-account = share the resource and grant the KMS key policy to that account.
Why B is correct: The target account must be able to call KMS on the key to decrypt the snapshot; the key policy grants this.
Why the others are wrong:
A) Re-encrypt the snapshot with the aws/ebs AWS managed key — AWS managed keys cannot be shared, so snapshots using them cannot be shared.
C) Export the key material to the other account — KMS key material cannot be exported; access is granted through policy instead.
D) Nothing; sharing the snapshot also shares the key — Sharing a snapshot does not grant any access to the KMS key.
How to think about it: Sharing encrypted data cross-account = share the resource and grant the KMS key policy to that account.
Why B is correct: The target account must be able to call KMS on the key to decrypt the snapshot; the key policy grants this.
Why the others are wrong:
A) Re-encrypt the snapshot with the aws/ebs AWS managed key — AWS managed keys cannot be shared, so snapshots using them cannot be shared.
C) Export the key material to the other account — KMS key material cannot be exported; access is granted through policy instead.
D) Nothing; sharing the snapshot also shares the key — Sharing a snapshot does not grant any access to the KMS key.
Q19.Which service automatically rotates an Amazon RDS database password on a schedule with AWS-provided rotation logic?
✓ Correct: C. AWS Secrets Manager
How to think about it: Built-in rotation for RDS/Redshift/DocumentDB = Secrets Manager.
Why C is correct: Secrets Manager rotates secrets on a schedule using Lambda-based rotation that AWS supplies for RDS and other databases.
Why the others are wrong:
A) IAM credential report — The credential report lists IAM user credential status and changes nothing.
B) SSM Parameter Store SecureString — Parameter Store has no built-in rotation; you would need to build it yourself.
D) AWS KMS automatic key rotation — KMS rotates encryption keys, not database passwords.
How to think about it: Built-in rotation for RDS/Redshift/DocumentDB = Secrets Manager.
Why C is correct: Secrets Manager rotates secrets on a schedule using Lambda-based rotation that AWS supplies for RDS and other databases.
Why the others are wrong:
A) IAM credential report — The credential report lists IAM user credential status and changes nothing.
B) SSM Parameter Store SecureString — Parameter Store has no built-in rotation; you would need to build it yourself.
D) AWS KMS automatic key rotation — KMS rotates encryption keys, not database passwords.
Q20.Which statement about SSM Parameter Store standard parameters is correct?
✓ Correct: A. They are free and hold values up to 4 KB
How to think about it: Standard tier = free, 4 KB, 10,000 per Region; advanced = 8 KB, 100,000, policies, paid.
Why A is correct: Standard parameters cost nothing to store and have a 4 KB value limit.
Why the others are wrong:
B) They support expiration policies — Parameter policies such as expiration require the advanced tier.
C) They hold values up to 8 KB — The 8 KB limit applies to advanced parameters.
D) They must always be encrypted with KMS — Encryption is optional in Parameter Store; String parameters are plain text.
How to think about it: Standard tier = free, 4 KB, 10,000 per Region; advanced = 8 KB, 100,000, policies, paid.
Why A is correct: Standard parameters cost nothing to store and have a 4 KB value limit.
Why the others are wrong:
B) They support expiration policies — Parameter policies such as expiration require the advanced tier.
C) They hold values up to 8 KB — The 8 KB limit applies to advanced parameters.
D) They must always be encrypted with KMS — Encryption is optional in Parameter Store; String parameters are plain text.
Q21.A parameter holding a temporary token must be deleted automatically after 30 days, with an EventBridge notification beforehand. What is needed?
✓ Correct: D. Advanced parameter with expiration policies
How to think about it: TTL on a parameter = advanced tier + parameter policy (Expiration, ExpirationNotification).
Why D is correct: Parameter policies, available only on advanced parameters, can delete a value and emit EventBridge events before it expires.
Why the others are wrong:
A) A Secrets Manager rotation schedule of 30 days — Rotation replaces the value; it does not delete the parameter.
B) A standard parameter with a lifecycle rule attached — Standard parameters do not support policies, and lifecycle rules belong to S3.
C) A CloudFormation DeletionPolicy on the parameter — DeletionPolicy controls what happens on stack deletion, not time-based expiry.
How to think about it: TTL on a parameter = advanced tier + parameter policy (Expiration, ExpirationNotification).
Why D is correct: Parameter policies, available only on advanced parameters, can delete a value and emit EventBridge events before it expires.
Why the others are wrong:
A) A Secrets Manager rotation schedule of 30 days — Rotation replaces the value; it does not delete the parameter.
B) A standard parameter with a lifecycle rule attached — Standard parameters do not support policies, and lifecycle rules belong to S3.
C) A CloudFormation DeletionPolicy on the parameter — DeletionPolicy controls what happens on stack deletion, not time-based expiry.
Q22.Lambda functions for dev and prod read settings stored under /myapp/dev/ and /myapp/prod/. Which API returns all parameters under one path in a single call?
✓ Correct: D. GetParametersByPath
How to think about it: Hierarchical parameters = GetParametersByPath.
Why D is correct: It returns every parameter below a hierarchy path, optionally recursively, so each environment reads its own branch.
Why the others are wrong:
A) DescribeParameters — It lists parameter metadata but does not return the values.
B) GetSecretValue — That is a Secrets Manager API for one secret, not a parameter path.
C) ListSecrets — That lists Secrets Manager secrets, not Parameter Store paths.
How to think about it: Hierarchical parameters = GetParametersByPath.
Why D is correct: It returns every parameter below a hierarchy path, optionally recursively, so each environment reads its own branch.
Why the others are wrong:
A) DescribeParameters — It lists parameter metadata but does not return the values.
B) GetSecretValue — That is a Secrets Manager API for one secret, not a parameter path.
C) ListSecrets — That lists Secrets Manager secrets, not Parameter Store paths.
Q23.Which statement correctly compares Secrets Manager and Parameter Store?
✓ Correct: B. Secrets Manager always uses KMS; Parameter Store may not
How to think about it: Secrets Manager = rotation built in, KMS always; Parameter Store = cheaper, KMS optional.
Why B is correct: Every secret is KMS-encrypted, while Parameter Store offers both plain String and SecureString types.
Why the others are wrong:
A) Only Parameter Store integrates with AWS CloudFormation — Both services integrate with CloudFormation.
C) Secrets Manager is free; Parameter Store charges per value — Secrets Manager charges per secret, while standard parameters are free.
D) Parameter Store has native rotation; Secrets Manager does not — It is the reverse: Secrets Manager has rotation built in.
How to think about it: Secrets Manager = rotation built in, KMS always; Parameter Store = cheaper, KMS optional.
Why B is correct: Every secret is KMS-encrypted, while Parameter Store offers both plain String and SecureString types.
Why the others are wrong:
A) Only Parameter Store integrates with AWS CloudFormation — Both services integrate with CloudFormation.
C) Secrets Manager is free; Parameter Store charges per value — Secrets Manager charges per secret, while standard parameters are free.
D) Parameter Store has native rotation; Secrets Manager does not — It is the reverse: Secrets Manager has rotation built in.
Q24.A secret in a security account must be read by a role in a dev account. The secret uses a customer managed key. Which two policies must allow the dev role?
✓ Correct: B. Secret resource policy plus the KMS key policy
How to think about it: Cross-account secret = secret resource policy (GetSecretValue) + KMS key policy (Decrypt).
Why B is correct: The caller must be allowed to read the secret and to decrypt it with the key, so both resource policies are needed.
Why the others are wrong:
A) Only the secret's own resource policy — Without kms:Decrypt on the key, the value cannot be decrypted.
C) A VPC endpoint policy and a security group inbound rule — Network controls do not grant cross-account permissions to a secret or key.
D) Only an SCP in the dev account allowing secretsmanager:* — SCPs only limit permissions; they never grant access to another account's resources.
How to think about it: Cross-account secret = secret resource policy (GetSecretValue) + KMS key policy (Decrypt).
Why B is correct: The caller must be allowed to read the secret and to decrypt it with the key, so both resource policies are needed.
Why the others are wrong:
A) Only the secret's own resource policy — Without kms:Decrypt on the key, the value cannot be decrypted.
C) A VPC endpoint policy and a security group inbound rule — Network controls do not grant cross-account permissions to a secret or key.
D) Only an SCP in the dev account allowing secretsmanager:* — SCPs only limit permissions; they never grant access to another account's resources.
Q25.A team must keep a value in Parameter Store for its simple API but wants the password rotated every 30 days. What design achieves this?
✓ Correct: A. EventBridge schedule running a Lambda that rotates and saves it
How to think about it: Parameter Store rotation = build it yourself: EventBridge schedule + Lambda.
Why A is correct: Parameter Store has no rotation, so a scheduled Lambda must change the database password and store the new value.
Why the others are wrong:
B) Set an advanced-tier Expiration policy of 30 days on it — Expiration deletes the parameter; it does not generate a new password.
C) Turn on automatic rotation for the SecureString parameter — Parameter Store parameters have no rotation setting.
D) Enable KMS key rotation on the key encrypting the parameter — Rotating the KMS key changes encryption material, not the stored password.
How to think about it: Parameter Store rotation = build it yourself: EventBridge schedule + Lambda.
Why A is correct: Parameter Store has no rotation, so a scheduled Lambda must change the database password and store the new value.
Why the others are wrong:
B) Set an advanced-tier Expiration policy of 30 days on it — Expiration deletes the parameter; it does not generate a new password.
C) Turn on automatic rotation for the SecureString parameter — Parameter Store parameters have no rotation setting.
D) Enable KMS key rotation on the key encrypting the parameter — Rotating the KMS key changes encryption material, not the stored password.
Q26.In a TLS handshake, why is asymmetric encryption used only at the start?
✓ Correct: D. It is costly, so it only protects the exchange of a symmetric session key
How to think about it: TLS = asymmetric to agree a key, then cheap symmetric for the data.
Why D is correct: Public-key operations are expensive, so they secure the key exchange and then fast symmetric encryption carries the data.
Why the others are wrong:
A) Asymmetric keys expire after the first packet — Keys do not expire per packet; the switch is about performance.
B) Symmetric encryption is required by DNSSEC — DNSSEC signs DNS records and has nothing to do with the TLS session cipher.
C) The server's private key is sent to the client after the handshake — The private key never leaves the server.
How to think about it: TLS = asymmetric to agree a key, then cheap symmetric for the data.
Why D is correct: Public-key operations are expensive, so they secure the key exchange and then fast symmetric encryption carries the data.
Why the others are wrong:
A) Asymmetric keys expire after the first packet — Keys do not expire per packet; the switch is about performance.
B) Symmetric encryption is required by DNSSEC — DNSSEC signs DNS records and has nothing to do with the TLS session cipher.
C) The server's private key is sent to the client after the handshake — The private key never leaves the server.
Q27.One ALB must serve HTTPS for several domains, each with its own certificate. What makes this possible?
✓ Correct: A. Server Name Indication (SNI) on the HTTPS listener
How to think about it: Many certs on one listener = SNI (ALB, NLB, CloudFront; not CLB).
Why A is correct: SNI lets the load balancer pick the matching certificate per hostname from several on one listener.
Why the others are wrong:
B) DNSSEC signing enabled on each Route 53 hosted zone — DNSSEC protects DNS answers; it does not choose TLS certificates.
C) A separate Elastic IP per domain on the ALB — ALBs do not use Elastic IPs, and SNI removes the need for an address per certificate.
D) A Classic Load Balancer with multiple listeners on port 443 — CLB does not support SNI, so it cannot serve several certificates on one port.
How to think about it: Many certs on one listener = SNI (ALB, NLB, CloudFront; not CLB).
Why A is correct: SNI lets the load balancer pick the matching certificate per hostname from several on one listener.
Why the others are wrong:
B) DNSSEC signing enabled on each Route 53 hosted zone — DNSSEC protects DNS answers; it does not choose TLS certificates.
C) A separate Elastic IP per domain on the ALB — ALBs do not use Elastic IPs, and SNI removes the need for an address per certificate.
D) A Classic Load Balancer with multiple listeners on port 443 — CLB does not support SNI, so it cannot serve several certificates on one port.
Q28.What is a key benefit of using public certificates issued by AWS Certificate Manager on an ALB?
✓ Correct: A. ACM renews them automatically at no certificate cost
How to think about it: ACM-issued public certs = free and auto-renewed; imported certs = you renew.
Why A is correct: Public certificates ACM issues for integrated services are free and renewed by ACM.
Why the others are wrong:
B) They need no domain validation — ACM must validate domain ownership by DNS or email before issuing.
C) They can be installed directly on any EC2 operating system — ACM-issued certificates are meant for integrated services such as ELB, CloudFront and API Gateway.
D) They are valid in every Region once issued — ACM is regional; you need a certificate in each Region you use.
How to think about it: ACM-issued public certs = free and auto-renewed; imported certs = you renew.
Why A is correct: Public certificates ACM issues for integrated services are free and renewed by ACM.
Why the others are wrong:
B) They need no domain validation — ACM must validate domain ownership by DNS or email before issuing.
C) They can be installed directly on any EC2 operating system — ACM-issued certificates are meant for integrated services such as ELB, CloudFront and API Gateway.
D) They are valid in every Region once issued — ACM is regional; you need a certificate in each Region you use.
Q29.A certificate bought from a third-party CA was imported into ACM. What happens when it nears expiry?
✓ Correct: D. You must obtain a new certificate and re-import it
How to think about it: Imported cert = you renew and re-import.
Why D is correct: ACM cannot renew certificates it did not issue, though it can warn you before expiry.
Why the others are wrong:
A) The ALB keeps serving it after expiry without warnings — Browsers reject expired certificates, so this would break clients.
B) ACM converts it into an ACM-issued certificate — ACM never converts imported certificates into ones it manages.
C) ACM renews it automatically with the original CA — ACM has no relationship with the third-party CA, so it cannot renew.
How to think about it: Imported cert = you renew and re-import.
Why D is correct: ACM cannot renew certificates it did not issue, though it can warn you before expiry.
Why the others are wrong:
A) The ALB keeps serving it after expiry without warnings — Browsers reject expired certificates, so this would break clients.
B) ACM converts it into an ACM-issued certificate — ACM never converts imported certificates into ones it manages.
C) ACM renews it automatically with the original CA — ACM has no relationship with the third-party CA, so it cannot renew.
Q30.What is the key difference between AWS KMS and AWS CloudHSM?
✓ Correct: A. CloudHSM is single-tenant and you manage keys and users
How to think about it: KMS = multi-tenant managed service; CloudHSM = single-tenant hardware, you manage keys and users.
Why A is correct: AWS runs the hardware, but you control the keys and crypto users, unlike the multi-tenant managed KMS.
Why the others are wrong:
B) KMS access is controlled by crypto users on the HSM — KMS access is governed by IAM and key policies, not HSM users.
C) CloudHSM supports only symmetric keys — CloudHSM supports symmetric and asymmetric keys, including TLS keys.
D) KMS keys never leave a single AZ, while CloudHSM is global — KMS is a regional managed service and CloudHSM clusters live in your VPC within a Region.
How to think about it: KMS = multi-tenant managed service; CloudHSM = single-tenant hardware, you manage keys and users.
Why A is correct: AWS runs the hardware, but you control the keys and crypto users, unlike the multi-tenant managed KMS.
Why the others are wrong:
B) KMS access is controlled by crypto users on the HSM — KMS access is governed by IAM and key policies, not HSM users.
C) CloudHSM supports only symmetric keys — CloudHSM supports symmetric and asymmetric keys, including TLS keys.
D) KMS keys never leave a single AZ, while CloudHSM is global — KMS is a regional managed service and CloudHSM clusters live in your VPC within a Region.
Q31.How do you make a CloudHSM deployment highly available?
✓ Correct: A. Add HSMs to the cluster in more than one Availability Zone
How to think about it: CloudHSM HA = multiple HSMs in different AZs in one cluster.
Why A is correct: A cluster synchronises keys across its HSMs, so spreading them across AZs survives an AZ failure.
Why the others are wrong:
B) Take daily snapshots of the HSM to S3 — Backups help recovery, but they do not keep the cluster available during a failure.
C) Enable Multi-AZ on the CloudHSM service setting — There is no single Multi-AZ switch; you add HSMs in different AZs yourself.
D) Use KMS multi-Region keys in front of CloudHSM — Multi-Region keys are a KMS feature and do not add HSMs to a cluster.
How to think about it: CloudHSM HA = multiple HSMs in different AZs in one cluster.
Why A is correct: A cluster synchronises keys across its HSMs, so spreading them across AZs survives an AZ failure.
Why the others are wrong:
B) Take daily snapshots of the HSM to S3 — Backups help recovery, but they do not keep the cluster available during a failure.
C) Enable Multi-AZ on the CloudHSM service setting — There is no single Multi-AZ switch; you add HSMs in different AZs yourself.
D) Use KMS multi-Region keys in front of CloudHSM — Multi-Region keys are a KMS feature and do not add HSMs to a cluster.
Q32.A company terminates TLS on its own EC2 web servers behind an NLB but wants the private key never to leave tamper-resistant hardware and to reduce CPU load. What fits?
✓ Correct: A. Use CloudHSM for SSL/TLS offload from NGINX, Apache or IIS
How to think about it: Private key stays in hardware + TLS offload on web servers = CloudHSM SSL/TLS offload.
Why A is correct: The web server sends key operations to CloudHSM, so the private key stays in the HSM and CPU work is reduced.
Why the others are wrong:
B) Import the certificate into ACM and attach it to the NLB — That moves termination to the NLB, which the company does not want, and ACM does not expose hardware keys to EC2.
C) Store the private key in Parameter Store and load it at boot — The key would sit in instance memory and the instance still does all the crypto work.
D) Encrypt the key file on disk with an AWS managed KMS key — Disk encryption does not keep the key out of server memory during use.
How to think about it: Private key stays in hardware + TLS offload on web servers = CloudHSM SSL/TLS offload.
Why A is correct: The web server sends key operations to CloudHSM, so the private key stays in the HSM and CPU work is reduced.
Why the others are wrong:
B) Import the certificate into ACM and attach it to the NLB — That moves termination to the NLB, which the company does not want, and ACM does not expose hardware keys to EC2.
C) Store the private key in Parameter Store and load it at boot — The key would sit in instance memory and the instance still does all the crypto work.
D) Encrypt the key file on disk with an AWS managed KMS key — Disk encryption does not keep the key out of server memory during use.
Q33.A global app runs ALBs in us-east-1 and ap-southeast-2, both serving app.example.com over HTTPS. How should certificates be handled with ACM?
✓ Correct: D. Request an ACM certificate for the domain in each Region
How to think about it: ACM is regional: request a cert in each Region with an ALB.
Why D is correct: ACM certificates are regional resources, so each Region's ALB needs its own certificate.
Why the others are wrong:
A) Request once in us-east-1 and copy it to other Regions — ACM certificates cannot be copied across Regions.
B) Create the certificate in IAM so it is global — IAM certificate storage exists but is a legacy, manual approach; ACM per Region is the recommended path.
C) Use one certificate and let the ALBs share it through peering — Network connectivity does not let a load balancer use another Region's certificate.
How to think about it: ACM is regional: request a cert in each Region with an ALB.
Why D is correct: ACM certificates are regional resources, so each Region's ALB needs its own certificate.
Why the others are wrong:
A) Request once in us-east-1 and copy it to other Regions — ACM certificates cannot be copied across Regions.
B) Create the certificate in IAM so it is global — IAM certificate storage exists but is a legacy, manual approach; ACM per Region is the recommended path.
C) Use one certificate and let the ALBs share it through peering — Network connectivity does not let a load balancer use another Region's certificate.
Q34.An RDS for MySQL database must accept logins with short-lived IAM tokens instead of stored passwords, and traffic must be encrypted. What should you configure?
✓ Correct: A. IAM database authentication plus required TLS
How to think about it: RDS MySQL/PostgreSQL/MariaDB token logins = IAM database authentication (+ TLS).
Why A is correct: IAM auth issues short-lived tokens for supported engines, and TLS encrypts the session in transit.
Why the others are wrong:
B) Store the master password in an AWS managed KMS key — KMS keys encrypt data; they do not store or replace database passwords.
C) Track queries with CloudTrail data events — CloudTrail does not log SQL queries inside RDS.
D) Enable Transparent Data Encryption on the instance — TDE is for Oracle and SQL Server at-rest encryption, not IAM logins.
How to think about it: RDS MySQL/PostgreSQL/MariaDB token logins = IAM database authentication (+ TLS).
Why A is correct: IAM auth issues short-lived tokens for supported engines, and TLS encrypts the session in transit.
Why the others are wrong:
B) Store the master password in an AWS managed KMS key — KMS keys encrypt data; they do not store or replace database passwords.
C) Track queries with CloudTrail data events — CloudTrail does not log SQL queries inside RDS.
D) Enable Transparent Data Encryption on the instance — TDE is for Oracle and SQL Server at-rest encryption, not IAM logins.
Q35.A bucket policy must reject any request that is not sent over HTTPS. Which condition key does this?
✓ Correct: B. aws:SecureTransport
How to think about it: Force HTTPS on S3 = deny when aws:SecureTransport is false.
Why B is correct: Denying requests where this key is false blocks plain HTTP access to the bucket.
Why the others are wrong:
A) aws:SourceVpce — This restricts access to particular VPC endpoints, not the protocol.
C) s3:x-amz-server-side-encryption — This checks the requested encryption at rest, not TLS in transit.
D) aws:MultiFactorAuthPresent — This checks whether MFA was used, not whether HTTPS was used.
How to think about it: Force HTTPS on S3 = deny when aws:SecureTransport is false.
Why B is correct: Denying requests where this key is false blocks plain HTTP access to the bucket.
Why the others are wrong:
A) aws:SourceVpce — This restricts access to particular VPC endpoints, not the protocol.
C) s3:x-amz-server-side-encryption — This checks the requested encryption at rest, not TLS in transit.
D) aws:MultiFactorAuthPresent — This checks whether MFA was used, not whether HTTPS was used.
Q36.Uploads with SSE-KMS fail for a role that has s3:PutObject. What permission is most likely missing?
✓ Correct: A. kms:GenerateDataKey on the KMS key
How to think about it: SSE-KMS upload needs kms:GenerateDataKey on the key.
Why A is correct: S3 asks KMS for a data key on each upload, so the caller needs this permission on the key.
Why the others are wrong:
B) kms:CreateKey in the account — The key already exists; uploads only need to use it.
C) iam:PassRole for the S3 service — Uploading objects does not pass an IAM role to S3.
D) s3:GetBucketPolicy on the bucket — Reading the bucket policy is not part of uploading an object.
How to think about it: SSE-KMS upload needs kms:GenerateDataKey on the key.
Why A is correct: S3 asks KMS for a data key on each upload, so the caller needs this permission on the key.
Why the others are wrong:
B) kms:CreateKey in the account — The key already exists; uploads only need to use it.
C) iam:PassRole for the S3 service — Uploading objects does not pass an IAM role to S3.
D) s3:GetBucketPolicy on the bucket — Reading the bucket policy is not part of uploading an object.
Q37.A web app lets a signed-in user download one private S3 object for the next 10 minutes without AWS credentials. What should it generate?
✓ Correct: A. A pre-signed URL that expires in 10 minutes
How to think about it: Temporary access to one object = pre-signed URL (signer's permissions, set expiry).
Why A is correct: The URL carries the signer's permission for that object and stops working after the expiry time.
Why the others are wrong:
B) An S3 Access Point for each download — Access points manage shared access policies; they do not give anonymous time-limited links.
C) A public bucket policy for that object prefix — That would expose the object to everyone with no time limit.
D) An IAM user per customer — Creating IAM users for app customers does not scale and is not temporary.
How to think about it: Temporary access to one object = pre-signed URL (signer's permissions, set expiry).
Why A is correct: The URL carries the signer's permission for that object and stops working after the expiry time.
Why the others are wrong:
B) An S3 Access Point for each download — Access points manage shared access policies; they do not give anonymous time-limited links.
C) A public bucket policy for that object prefix — That would expose the object to everyone with no time limit.
D) An IAM user per customer — Creating IAM users for app customers does not scale and is not temporary.
Q38.Finance, sales and analytics teams share one bucket, and the bucket policy has become huge. What simplifies permissions per team?
✓ Correct: C. Create an S3 Access Point per team, each with its own policy
How to think about it: Per-team policy + own DNS name on one bucket = S3 Access Points.
Why C is correct: Each access point has its own name and policy scoped to a prefix, keeping the bucket policy small.
Why the others are wrong:
A) Split the bucket policy into several bucket policies — A bucket can have only one bucket policy.
B) Use Multi-Region Access Points per team — Multi-Region Access Points route across Regions; they are not for per-team delegation.
D) Enable S3 Object Lock on each prefix — Object Lock enforces retention; it does not delegate access per team.
How to think about it: Per-team policy + own DNS name on one bucket = S3 Access Points.
Why C is correct: Each access point has its own name and policy scoped to a prefix, keeping the bucket policy small.
Why the others are wrong:
A) Split the bucket policy into several bucket policies — A bucket can have only one bucket policy.
B) Use Multi-Region Access Points per team — Multi-Region Access Points route across Regions; they are not for per-team delegation.
D) Enable S3 Object Lock on each prefix — Object Lock enforces retention; it does not delegate access per team.
Q39.Compliance requires that log objects cannot be deleted or overwritten by anyone, including root, for seven years. What should you use?
✓ Correct: B. Object Lock, compliance mode, 7-year retention
How to think about it: WORM that even root cannot bypass = Object Lock compliance mode.
Why B is correct: Compliance mode prevents any user, including root, from deleting or shortening retention until it expires.
Why the others are wrong:
A) MFA Delete enabled on a versioned bucket — MFA Delete adds a step for deletes but the root user can still remove versions.
C) Object Lock in governance mode — Users with special permission can bypass governance mode, so it does not meet the requirement.
D) A bucket policy denying s3:DeleteObject — Policies can be edited by administrators, so this is not tamper-proof.
How to think about it: WORM that even root cannot bypass = Object Lock compliance mode.
Why B is correct: Compliance mode prevents any user, including root, from deleting or shortening retention until it expires.
Why the others are wrong:
A) MFA Delete enabled on a versioned bucket — MFA Delete adds a step for deletes but the root user can still remove versions.
C) Object Lock in governance mode — Users with special permission can bypass governance mode, so it does not meet the requirement.
D) A bucket policy denying s3:DeleteObject — Policies can be edited by administrators, so this is not tamper-proof.
Q40.A bucket must only be readable by accounts that belong to your AWS Organization, now and in future. Which condition is simplest?
✓ Correct: C. aws:PrincipalOrgID in the bucket policy
How to think about it: Limit a resource policy to org members = aws:PrincipalOrgID.
Why C is correct: This key matches any principal from accounts in the organization, so new accounts are covered automatically.
Why the others are wrong:
A) aws:RequestedRegion set to the home Region — This limits which Region API calls target, not who the caller is.
B) A list of every account ID in the Principal element — This works but needs editing whenever accounts are added.
D) aws:SourceIp with each office's IP range — IP ranges do not identify accounts and break for users working elsewhere.
How to think about it: Limit a resource policy to org members = aws:PrincipalOrgID.
Why C is correct: This key matches any principal from accounts in the organization, so new accounts are covered automatically.
Why the others are wrong:
A) aws:RequestedRegion set to the home Region — This limits which Region API calls target, not who the caller is.
B) A list of every account ID in the Principal element — This works but needs editing whenever accounts are added.
D) aws:SourceIp with each office's IP range — IP ranges do not identify accounts and break for users working elsewhere.
Q41.Private EC2 instances reach S3 through a gateway endpoint. The bucket must refuse any access that does not come through that endpoint. What should the bucket policy check?
✓ Correct: D. Deny requests unless aws:SourceVpce equals the endpoint ID
How to think about it: Only via my endpoint = aws:SourceVpce (or aws:SourceVpc for the whole VPC).
Why D is correct: Requests through a VPC endpoint carry its ID, so this denies anything arriving another way.
Why the others are wrong:
A) Require s3:x-amz-acl to be private — This checks object ACL headers, not where the request came from.
B) Allow aws:SourceIp equal to the instances' private IPs — aws:SourceIp sees public IPs; private addresses through an endpoint do not match it.
C) Require aws:SecureTransport — This forces HTTPS but does not restrict the network path.
How to think about it: Only via my endpoint = aws:SourceVpce (or aws:SourceVpc for the whole VPC).
Why D is correct: Requests through a VPC endpoint carry its ID, so this denies anything arriving another way.
Why the others are wrong:
A) Require s3:x-amz-acl to be private — This checks object ACL headers, not where the request came from.
B) Allow aws:SourceIp equal to the instances' private IPs — aws:SourceIp sees public IPs; private addresses through an endpoint do not match it.
C) Require aws:SecureTransport — This forces HTTPS but does not restrict the network path.
Q42.Applications in three Regions need one S3 endpoint that routes to the nearest bucket copy and can shift traffic away from a Region within minutes. What fits?
✓ Correct: C. An S3 Multi-Region Access Point with replication between the buckets
How to think about it: One global S3 endpoint + latency routing + failover controls = Multi-Region Access Point.
Why C is correct: It gives one global endpoint, routes to the lowest-latency bucket, and failover controls move traffic between Regions.
Why the others are wrong:
A) S3 Transfer Acceleration on one bucket — Acceleration speeds uploads to a single bucket; it does not route across Regions.
B) Route 53 latency records pointing to each bucket endpoint — S3 requests are signed for a specific bucket and Region, so DNS alone cannot transparently switch buckets.
D) A VPC-origin S3 Access Point in each Region — Regional access points do not provide one global routed endpoint.
How to think about it: One global S3 endpoint + latency routing + failover controls = Multi-Region Access Point.
Why C is correct: It gives one global endpoint, routes to the lowest-latency bucket, and failover controls move traffic between Regions.
Why the others are wrong:
A) S3 Transfer Acceleration on one bucket — Acceleration speeds uploads to a single bucket; it does not route across Regions.
B) Route 53 latency records pointing to each bucket endpoint — S3 requests are signed for a specific bucket and Region, so DNS alone cannot transparently switch buckets.
D) A VPC-origin S3 Access Point in each Region — Regional access points do not provide one global routed endpoint.
Q43.An S3 bucket is accessed through an access point restricted to VPC origin. Requests from an instance in that VPC are denied. Which item is most likely misconfigured?
✓ Correct: B. The VPC endpoint policy omits the bucket or access point
How to think about it: VPC-origin access point = endpoint policy + access point policy + bucket policy must all allow.
Why B is correct: Traffic passes through the VPC endpoint, whose policy must permit both the access point and the target bucket.
Why the others are wrong:
A) Versioning is not enabled on the bucket — Versioning keeps object history but does not affect access point authorisation.
C) The access point needs an Elastic IP — Access points are reached by DNS name and do not use Elastic IPs.
D) The bucket does not have S3 Transfer Acceleration on — Acceleration is a performance option and has no effect on permissions.
How to think about it: VPC-origin access point = endpoint policy + access point policy + bucket policy must all allow.
Why B is correct: Traffic passes through the VPC endpoint, whose policy must permit both the access point and the target bucket.
Why the others are wrong:
A) Versioning is not enabled on the bucket — Versioning keeps object history but does not affect access point authorisation.
C) The access point needs an Elastic IP — Access points are reached by DNS name and do not use Elastic IPs.
D) The bucket does not have S3 Transfer Acceleration on — Acceleration is a performance option and has no effect on permissions.
Q44.Which protection does every AWS customer get automatically at no extra cost?
✓ Correct: C. AWS Shield Standard
How to think about it: Free, always on, layer 3/4 = Shield Standard.
Why C is correct: It is automatically enabled for all customers and defends against common layer 3 and 4 attacks such as SYN floods.
Why the others are wrong:
A) AWS WAF managed rules — WAF and its managed rules are configured and billed separately.
B) AWS Firewall Manager — Firewall Manager is a paid policy service that needs AWS Organizations.
D) AWS Shield Advanced — Advanced is a paid subscription with extra protection and response team access.
How to think about it: Free, always on, layer 3/4 = Shield Standard.
Why C is correct: It is automatically enabled for all customers and defends against common layer 3 and 4 attacks such as SYN floods.
Why the others are wrong:
A) AWS WAF managed rules — WAF and its managed rules are configured and billed separately.
B) AWS Firewall Manager — Firewall Manager is a paid policy service that needs AWS Organizations.
D) AWS Shield Advanced — Advanced is a paid subscription with extra protection and response team access.
Q45.What do you get with AWS Shield Advanced that Shield Standard does not provide?
✓ Correct: D. Shield Response Team access and DDoS cost protection
How to think about it: Shield Advanced = 24/7 Shield Response Team + DDoS cost protection.
Why D is correct: Advanced adds expert response help, detailed reporting and credits for usage spikes caused by attacks.
Why the others are wrong:
A) Basic SYN flood protection for CloudFront edges — That baseline protection is already part of Shield Standard.
B) Vulnerability scanning of container images — Image scanning is done by Amazon Inspector.
C) Automatic patching of EC2 operating systems — Patching is a Systems Manager task, not a Shield feature.
How to think about it: Shield Advanced = 24/7 Shield Response Team + DDoS cost protection.
Why D is correct: Advanced adds expert response help, detailed reporting and credits for usage spikes caused by attacks.
Why the others are wrong:
A) Basic SYN flood protection for CloudFront edges — That baseline protection is already part of Shield Standard.
B) Vulnerability scanning of container images — Image scanning is done by Amazon Inspector.
C) Automatic patching of EC2 operating systems — Patching is a Systems Manager task, not a Shield feature.
Q46.An application suffers SQL injection and cross-site scripting attempts. Which service filters these at layer 7?
✓ Correct: B. AWS WAF
How to think about it: Layer 7 exploits (SQLi, XSS) = AWS WAF.
Why B is correct: WAF inspects HTTP requests with web ACL rules that block SQL injection, XSS and similar exploits.
Why the others are wrong:
A) Network ACLs — NACLs filter by IP, port and protocol and cannot read HTTP content.
C) Amazon GuardDuty — GuardDuty detects threats from logs; it does not block web requests inline.
D) AWS Shield Standard — Shield Standard focuses on network and transport layer floods, not application exploits.
How to think about it: Layer 7 exploits (SQLi, XSS) = AWS WAF.
Why B is correct: WAF inspects HTTP requests with web ACL rules that block SQL injection, XSS and similar exploits.
Why the others are wrong:
A) Network ACLs — NACLs filter by IP, port and protocol and cannot read HTTP content.
C) Amazon GuardDuty — GuardDuty detects threats from logs; it does not block web requests inline.
D) AWS Shield Standard — Shield Standard focuses on network and transport layer floods, not application exploits.
Q47.On which of these can you attach an AWS WAF web ACL directly?
✓ Correct: C. An Application Load Balancer
How to think about it: WAF attaches to CloudFront, ALB, API Gateway, AppSync and similar; not NLB.
Why C is correct: ALB is a supported WAF resource, so rules run on its HTTP requests.
Why the others are wrong:
A) An EC2 instance's elastic network interface — WAF cannot attach to individual instances or ENIs.
B) A NAT gateway — NAT gateways handle outbound traffic and cannot host a web ACL.
D) A Network Load Balancer — NLB works at layer 4 and is not a WAF-supported resource.
How to think about it: WAF attaches to CloudFront, ALB, API Gateway, AppSync and similar; not NLB.
Why C is correct: ALB is a supported WAF resource, so rules run on its HTTP requests.
Why the others are wrong:
A) An EC2 instance's elastic network interface — WAF cannot attach to individual instances or ENIs.
B) A NAT gateway — NAT gateways handle outbound traffic and cannot host a web ACL.
D) A Network Load Balancer — NLB works at layer 4 and is not a WAF-supported resource.
Q48.A login API is being hammered by a few IP addresses sending thousands of requests per minute. Which WAF feature limits this?
✓ Correct: D. A rate-based rule
How to think about it: Too many requests from one source = rate-based rule.
Why D is correct: Rate-based rules count requests per source over a time window and block sources that exceed the limit.
Why the others are wrong:
A) A geo match rule — Geo match filters by country, not by request volume.
B) A size constraint rule — Size constraints check request component lengths, not how often requests arrive.
C) A managed SQL injection rule group — SQLi rules look for injection patterns, not request rates.
How to think about it: Too many requests from one source = rate-based rule.
Why D is correct: Rate-based rules count requests per source over a time window and block sources that exceed the limit.
Why the others are wrong:
A) A geo match rule — Geo match filters by country, not by request volume.
B) A size constraint rule — Size constraints check request component lengths, not how often requests arrive.
C) A managed SQL injection rule group — SQLi rules look for injection patterns, not request rates.
Q49.A security team must apply the same WAF rules and Shield Advanced protection across 40 accounts, including new resources created later. Which service fits?
✓ Correct: C. AWS Firewall Manager
How to think about it: Org-wide WAF/Shield/SG/Network Firewall policies, auto-applied to new resources = Firewall Manager.
Why C is correct: Firewall Manager applies security policies across an organization and protects new matching resources automatically.
Why the others are wrong:
A) AWS Config conformance packs — Conformance packs evaluate compliance but do not push WAF or Shield protections.
B) AWS Security Hub — Security Hub aggregates findings; it does not deploy WAF rules.
D) AWS WAF alone in each account — Standalone WAF has to be configured per account and resource, with no central enforcement.
How to think about it: Org-wide WAF/Shield/SG/Network Firewall policies, auto-applied to new resources = Firewall Manager.
Why C is correct: Firewall Manager applies security policies across an organization and protects new matching resources automatically.
Why the others are wrong:
A) AWS Config conformance packs — Conformance packs evaluate compliance but do not push WAF or Shield protections.
B) AWS Security Hub — Security Hub aggregates findings; it does not deploy WAF rules.
D) AWS WAF alone in each account — Standalone WAF has to be configured per account and resource, with no central enforcement.
Q50.A site runs behind CloudFront with an ALB origin. Attackers bypass CloudFront and hit the ALB directly. How can the ALB accept only CloudFront traffic, with the secret rotated automatically?
✓ Correct: C. Secret origin header checked by ALB WAF, rotated by Secrets Manager
How to think about it: Origin protection = CloudFront adds a secret custom header, ALB WAF checks it, Secrets Manager rotates it.
Why C is correct: Requests without the current header value are blocked at the ALB, and a rotation Lambda updates both sides.
Why the others are wrong:
A) Use a geo restriction on the CloudFront distribution — Geo restriction affects requests through CloudFront, not those sent straight to the ALB.
B) Enable Shield Standard protection on the ALB itself — Shield Standard is already on and does not distinguish CloudFront from direct requests.
D) Put the ALB in a private subnet with no route at all — CloudFront could then not reach a standard internet-facing origin either.
How to think about it: Origin protection = CloudFront adds a secret custom header, ALB WAF checks it, Secrets Manager rotates it.
Why C is correct: Requests without the current header value are blocked at the ALB, and a rotation Lambda updates both sides.
Why the others are wrong:
A) Use a geo restriction on the CloudFront distribution — Geo restriction affects requests through CloudFront, not those sent straight to the ALB.
B) Enable Shield Standard protection on the ALB itself — Shield Standard is already on and does not distinguish CloudFront from direct requests.
D) Put the ALB in a private subnet with no route at all — CloudFront could then not reach a standard internet-facing origin either.
Q51.An app sits behind CloudFront and then an ALB. You want to block one attacker IP. Why is a network ACL on the ALB subnet not effective?
✓ Correct: B. The ALB only sees CloudFront IPs; use WAF on CloudFront instead
How to think about it: Behind CloudFront, the ALB sees CloudFront IPs, so block clients with WAF on CloudFront.
Why B is correct: The client's address is not the source seen by the VPC, so filtering must happen at the edge with WAF.
Why the others are wrong:
A) Network ACLs cannot contain any explicit deny rules — NACLs support both allow and deny rules; the problem is which source IP they see.
C) The ALB security group overrides any NACL — Security groups and NACLs are evaluated independently; neither overrides the other.
D) Network ACLs only evaluate IPv6 traffic, not IPv4 — NACLs filter IPv4 and IPv6 traffic.
How to think about it: Behind CloudFront, the ALB sees CloudFront IPs, so block clients with WAF on CloudFront.
Why B is correct: The client's address is not the source seen by the VPC, so filtering must happen at the edge with WAF.
Why the others are wrong:
A) Network ACLs cannot contain any explicit deny rules — NACLs support both allow and deny rules; the problem is which source IP they see.
C) The ALB security group overrides any NACL — Security groups and NACLs are evaluated independently; neither overrides the other.
D) Network ACLs only evaluate IPv6 traffic, not IPv4 — NACLs filter IPv4 and IPv6 traffic.
Q52.WAF logs for a high-traffic web ACL must be streamed for analysis in OpenSearch and also kept in S3. Which log destination fits best?
✓ Correct: A. Amazon Data Firehose as the WAF logging destination
How to think about it: WAF log destinations = CloudWatch Logs, S3, Firehose; Firehose fans out to OpenSearch/S3.
Why A is correct: Firehose can deliver WAF logs to OpenSearch and back up records to S3 in one stream.
Why the others are wrong:
B) VPC Flow Logs on the ALB subnets — Flow Logs show IP flows, not WAF rule matches or HTTP details.
C) AWS CloudTrail data events for WAF — CloudTrail records WAF API calls, not the inspected web requests.
D) Amazon SQS as the WAF logging destination — SQS is not a supported WAF logging destination.
How to think about it: WAF log destinations = CloudWatch Logs, S3, Firehose; Firehose fans out to OpenSearch/S3.
Why A is correct: Firehose can deliver WAF logs to OpenSearch and back up records to S3 in one stream.
Why the others are wrong:
B) VPC Flow Logs on the ALB subnets — Flow Logs show IP flows, not WAF rule matches or HTTP details.
C) AWS CloudTrail data events for WAF — CloudTrail records WAF API calls, not the inspected web requests.
D) Amazon SQS as the WAF logging destination — SQS is not a supported WAF logging destination.
Q53.Which service continuously scans EC2 instances, ECR container images and Lambda functions for known software vulnerabilities?
✓ Correct: C. Amazon Inspector
How to think about it: CVE scanning for EC2, ECR images, Lambda = Amazon Inspector.
Why C is correct: Inspector continuously checks workloads against CVE data and network reachability and gives each finding a risk score.
Why the others are wrong:
A) Amazon GuardDuty — GuardDuty analyses activity logs for threats, not package vulnerabilities.
B) Amazon Macie — Macie discovers sensitive data in S3 buckets.
D) AWS Trusted Advisor — Trusted Advisor gives best-practice checks, not CVE scanning of software.
How to think about it: CVE scanning for EC2, ECR images, Lambda = Amazon Inspector.
Why C is correct: Inspector continuously checks workloads against CVE data and network reachability and gives each finding a risk score.
Why the others are wrong:
A) Amazon GuardDuty — GuardDuty analyses activity logs for threats, not package vulnerabilities.
B) Amazon Macie — Macie discovers sensitive data in S3 buckets.
D) AWS Trusted Advisor — Trusted Advisor gives best-practice checks, not CVE scanning of software.
Q54.Which data sources does Amazon GuardDuty analyse by default once enabled?
✓ Correct: B. CloudTrail management events, Flow Logs, DNS logs
How to think about it: GuardDuty foundation = CloudTrail management events, VPC Flow Logs, DNS logs.
Why B is correct: These foundational sources are analysed with threat intelligence and ML without you configuring the logs yourself.
Why the others are wrong:
A) ALB access logs stored in S3 — Load balancer access logs are not a GuardDuty source.
C) Application logs written to CloudWatch Logs groups — GuardDuty does not read arbitrary application log groups.
D) AWS Config configuration history — Config history is used by Config and Security Hub, not GuardDuty.
How to think about it: GuardDuty foundation = CloudTrail management events, VPC Flow Logs, DNS logs.
Why B is correct: These foundational sources are analysed with threat intelligence and ML without you configuring the logs yourself.
Why the others are wrong:
A) ALB access logs stored in S3 — Load balancer access logs are not a GuardDuty source.
C) Application logs written to CloudWatch Logs groups — GuardDuty does not read arbitrary application log groups.
D) AWS Config configuration history — Config history is used by Config and Security Hub, not GuardDuty.
Q55.Which statement about AWS Config rules is correct?
✓ Correct: B. They flag non-compliant resources but do not block the change
How to think about it: Config = record and evaluate, never deny; fix with SSM Automation remediation.
Why B is correct: Config evaluates configurations after the fact; prevention needs SCPs or IAM, and fixes come from remediation.
Why the others are wrong:
A) They evaluate only once a day — Rules can run on configuration changes, on a schedule, or both.
C) They can only be AWS managed rules — You can also write custom rules, for example backed by Lambda.
D) They deny API calls that would create non-compliant resources — Config cannot stop an API call from succeeding.
How to think about it: Config = record and evaluate, never deny; fix with SSM Automation remediation.
Why B is correct: Config evaluates configurations after the fact; prevention needs SCPs or IAM, and fixes come from remediation.
Why the others are wrong:
A) They evaluate only once a day — Rules can run on configuration changes, on a schedule, or both.
C) They can only be AWS managed rules — You can also write custom rules, for example backed by Lambda.
D) They deny API calls that would create non-compliant resources — Config cannot stop an API call from succeeding.
Q56.Which service gives one dashboard that aggregates findings from GuardDuty, Inspector, Macie and IAM Access Analyzer across accounts?
✓ Correct: C. AWS Security Hub
How to think about it: Central findings dashboard across accounts = AWS Security Hub.
Why C is correct: Security Hub collects findings from many AWS and partner tools in a common format and runs automated checks.
Why the others are wrong:
A) Amazon CloudWatch dashboards — Dashboards chart metrics and alarms; they do not normalise security findings from other services.
B) Amazon Detective — Detective investigates the root cause of findings rather than aggregating them all.
D) AWS Health Dashboard — Health shows AWS service events affecting your resources, not security findings.
How to think about it: Central findings dashboard across accounts = AWS Security Hub.
Why C is correct: Security Hub collects findings from many AWS and partner tools in a common format and runs automated checks.
Why the others are wrong:
A) Amazon CloudWatch dashboards — Dashboards chart metrics and alarms; they do not normalise security findings from other services.
B) Amazon Detective — Detective investigates the root cause of findings rather than aggregating them all.
D) AWS Health Dashboard — Health shows AWS service events affecting your resources, not security findings.
Q57.A GuardDuty finding needs deeper investigation to see related IPs, users and activity over time and find the root cause. Which service helps?
✓ Correct: C. Amazon Detective
How to think about it: Investigate root cause with graphs from logs and findings = Amazon Detective.
Why C is correct: Detective builds linked visualisations from VPC Flow Logs, CloudTrail and GuardDuty data to trace root causes.
Why the others are wrong:
A) AWS Firewall Manager — Firewall Manager deploys protections and does not analyse findings.
B) Amazon Inspector — Inspector finds vulnerabilities; it does not investigate incidents.
D) AWS Config — Config tracks configuration changes, not behavioural links between entities.
How to think about it: Investigate root cause with graphs from logs and findings = Amazon Detective.
Why C is correct: Detective builds linked visualisations from VPC Flow Logs, CloudTrail and GuardDuty data to trace root causes.
Why the others are wrong:
A) AWS Firewall Manager — Firewall Manager deploys protections and does not analyse findings.
B) Amazon Inspector — Inspector finds vulnerabilities; it does not investigate incidents.
D) AWS Config — Config tracks configuration changes, not behavioural links between entities.
Q58.Security groups that allow SSH from 0.0.0.0/0 must be detected and fixed automatically, with a record of compliance over time. What should you implement?
✓ Correct: D. A Config rule with SSM Automation auto-remediation
How to think about it: Detect + auto-fix + history = Config rule + SSM Automation remediation.
Why D is correct: The rule marks offending groups non-compliant, remediation removes the rule, and Config keeps the compliance timeline.
Why the others are wrong:
A) Amazon Inspector network reachability scans only — Inspector reports reachability but has no remediation workflow or compliance history.
B) An SCP denying AuthorizeSecurityGroupIngress — This blocks all rule changes but does not fix existing groups or record compliance.
C) A GuardDuty finding filter with suppression — GuardDuty detects threats from activity, not security group configuration, and it does not remediate.
How to think about it: Detect + auto-fix + history = Config rule + SSM Automation remediation.
Why D is correct: The rule marks offending groups non-compliant, remediation removes the rule, and Config keeps the compliance timeline.
Why the others are wrong:
A) Amazon Inspector network reachability scans only — Inspector reports reachability but has no remediation workflow or compliance history.
B) An SCP denying AuthorizeSecurityGroupIngress — This blocks all rule changes but does not fix existing groups or record compliance.
C) A GuardDuty finding filter with suppression — GuardDuty detects threats from activity, not security group configuration, and it does not remediate.
Q59.GuardDuty must be managed centrally for all accounts in an organization from a security account, not the management account. How?
✓ Correct: A. Make the security account the GuardDuty delegated admin
How to think about it: Org-wide GuardDuty from a security account = delegated administrator set from the management account.
Why A is correct: The delegated administrator can enable and manage GuardDuty for all member accounts.
Why the others are wrong:
B) Replicate GuardDuty findings with S3 Cross-Region Replication — Copying exported findings does not give central management.
C) Enable GuardDuty in every account with an SCP — SCPs restrict permissions; they cannot turn services on.
D) Invite each account by email from the security account — Invitations work but are manual and do not cover new accounts automatically.
How to think about it: Org-wide GuardDuty from a security account = delegated administrator set from the management account.
Why A is correct: The delegated administrator can enable and manage GuardDuty for all member accounts.
Why the others are wrong:
B) Replicate GuardDuty findings with S3 Cross-Region Replication — Copying exported findings does not give central management.
C) Enable GuardDuty in every account with an SCP — SCPs restrict permissions; they cannot turn services on.
D) Invite each account by email from the security account — Invitations work but are manual and do not cover new accounts automatically.
Q60.When GuardDuty reports an EC2 instance communicating with a known cryptocurrency mining pool, the instance must be isolated automatically. Which design fits?
✓ Correct: D. EventBridge rule on the finding invoking a quarantine Lambda
How to think about it: Automate on findings = GuardDuty to EventBridge to Lambda.
Why D is correct: GuardDuty publishes findings to EventBridge, and Lambda can quarantine the instance automatically.
Why the others are wrong:
A) An Amazon Inspector scan triggered every hour — Inspector looks for vulnerabilities, not live malicious connections.
B) An AWS Config periodic rule checking instance tags — Tags do not reveal malicious network activity.
C) A CloudWatch alarm on the instance's CPUUtilization — High CPU may hint at mining but is not tied to the finding and does not isolate the instance.
How to think about it: Automate on findings = GuardDuty to EventBridge to Lambda.
Why D is correct: GuardDuty publishes findings to EventBridge, and Lambda can quarantine the instance automatically.
Why the others are wrong:
A) An Amazon Inspector scan triggered every hour — Inspector looks for vulnerabilities, not live malicious connections.
B) An AWS Config periodic rule checking instance tags — Tags do not reveal malicious network activity.
C) A CloudWatch alarm on the instance's CPUUtilization — High CPU may hint at mining but is not tied to the finding and does not isolate the instance.