Amazon AWS Certified Solutions Architect - Associate SAA-C03 Practice Test 18
Question 170
A new S3 bucket uses ACLs for ownership but the organization wants uniform bucket-owner control. Which setting simplifies the model?
- Scope S3 bucket or access-point policy permissions to the approved object prefix.
- Enable S3 Block Public Access at the appropriate bucket and account scopes.
- Restrict s3:ListBucket with the appropriate s3:prefix condition.
- Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies.
Explanation
Correct Answer
D:Bucket owner enforced turns off ACL authorization and centralizes ownership. Upload cross-account test content and verify policy-based access.
Incorrect Answers
A:Resource ARN scopes and conditions restrict eligible S3 object actions. Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies. Upload cross-account test content and verify policy-based access.
B:Block Public Access prevents specified public ACL and policy access even if permissions drift. Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies. Upload cross-account test content and verify policy-based access.
C:Bucket listing authorization differs from GetObject authorization on individual keys. Bucket owner enforced turns off ACL authorization and centralizes ownership.
Question 171
A reporting application should read one S3 prefix without seeing sibling projects. What authorization model fits?
- Scope S3 bucket or access-point policy permissions to the approved object prefix.
- Enable S3 Block Public Access at the appropriate bucket and account scopes.
- Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies.
- Create per-consumer S3 Access Points with narrow access point policies.
Explanation
Correct Answer
A:Resource ARN scopes and conditions restrict eligible S3 object actions. Read an approved object and reject a sibling prefix object.
Incorrect Answers
B:Block Public Access prevents specified public ACL and policy access even if permissions drift. Scope S3 bucket or access-point policy permissions to the approved object prefix. Read an approved object and reject a sibling prefix object.
C:Bucket owner enforced turns off ACL authorization and centralizes ownership. Scope S3 bucket or access-point policy permissions to the approved object prefix. Read an approved object and reject a sibling prefix object.
D:Access Points provide independently named access paths and governance policies. Resource ARN scopes and conditions restrict eligible S3 object actions.
Question 172
An S3 bucket is protected by a restrictive resource policy but users can still list more object keys than intended. What action must be scoped?
- Restrict s3:ListBucket with the appropriate s3:prefix condition.
- Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies.
- Enable S3 Block Public Access at the appropriate bucket and account scopes.
- Create per-consumer S3 Access Points with narrow access point policies.
Explanation
Correct Answer
A:Bucket listing authorization differs from GetObject authorization on individual keys. List the allowed prefix and reject an unrestricted listing.
Incorrect Answers
B:Bucket owner enforced turns off ACL authorization and centralizes ownership. Restrict s3:ListBucket with the appropriate s3:prefix condition. List the allowed prefix and reject an unrestricted listing.
C:Block Public Access prevents specified public ACL and policy access even if permissions drift. Restrict s3:ListBucket with the appropriate s3:prefix condition. List the allowed prefix and reject an unrestricted listing.
D:Access Points provide independently named access paths and governance policies. Bucket listing authorization differs from GetObject authorization on individual keys.
Question 173
A team wants the same bucket consumed by separate partners through isolated policies and endpoints. Which S3 pattern fits?
- Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies.
- Remove broad ACL grants and enforce Block Public Access with least-privilege bucket policies.
- Create per-consumer S3 Access Points with narrow access point policies.
- Scope S3 bucket or access-point policy permissions to the approved object prefix.
Explanation
Correct Answer
C:Access Points provide independently named access paths and governance policies. Verify one partner cannot use another point's permissions.
Incorrect Answers
A:Bucket owner enforced turns off ACL authorization and centralizes ownership. Create per-consumer S3 Access Points with narrow access point policies. Verify one partner cannot use another point's permissions.
B:The authenticated-users ACL group includes AWS users outside the organization. Create per-consumer S3 Access Points with narrow access point policies. Verify one partner cannot use another point's permissions.
D:Resource ARN scopes and conditions restrict eligible S3 object actions. Create per-consumer S3 Access Points with narrow access point policies. Verify one partner cannot use another point's permissions.
Question 174
A website should serve private objects through CloudFront without directly public S3 reads. Which access mechanism fits?
- Scope S3 bucket or access-point policy permissions to the approved object prefix.
- Enable S3 Block Public Access at the appropriate bucket and account scopes.
- Allow an approved CloudFront distribution through S3 origin access control.
- Remove broad ACL grants and enforce Block Public Access with least-privilege bucket policies.
Explanation
Correct Answer
C:Origin access control enables signed origin requests that avoid public bucket exposure. Check CDN success while direct S3 access remains denied.
Incorrect Answers
A:Resource ARN scopes and conditions restrict eligible S3 object actions. Allow an approved CloudFront distribution through S3 origin access control. Check CDN success while direct S3 access remains denied.
B:Block Public Access prevents specified public ACL and policy access even if permissions drift. Allow an approved CloudFront distribution through S3 origin access control. Check CDN success while direct S3 access remains denied.
D:The authenticated-users ACL group includes AWS users outside the organization. Allow an approved CloudFront distribution through S3 origin access control. Check CDN success while direct S3 access remains denied.
Question 175
An audit team discovers S3 ACLs granting access to all authenticated AWS users. What risk and correction matter?
- Enable S3 Block Public Access at the appropriate bucket and account scopes.
- Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies.
- Remove broad ACL grants and enforce Block Public Access with least-privilege bucket policies.
- Allow an approved CloudFront distribution through S3 origin access control.
Explanation
Correct Answer
C:The authenticated-users ACL group includes AWS users outside the organization. Verify a foreign AWS principal cannot read the objects.
Incorrect Answers
A:Block Public Access prevents specified public ACL and policy access even if permissions drift. Remove broad ACL grants and enforce Block Public Access with least-privilege bucket policies. Verify a foreign AWS principal cannot read the objects.
B:Bucket owner enforced turns off ACL authorization and centralizes ownership. Remove broad ACL grants and enforce Block Public Access with least-privilege bucket policies. Verify a foreign AWS principal cannot read the objects.
D:Origin access control enables signed origin requests that avoid public bucket exposure. Remove broad ACL grants and enforce Block Public Access with least-privilege bucket policies. Verify a foreign AWS principal cannot read the objects.
Question 176
A SaaS ingestion tenant wants to pay for its own S3 request and transfer charges on a shared bucket. Which S3 cost ownership feature applies?
- Enable S3 Block Public Access at the appropriate bucket and account scopes.
- Configure S3 Requester Pays and ensure clients signal requester billing.
- Use S3 Object Ownership bucket-owner-enforced mode and manage access with policies.
- Scope S3 bucket or access-point policy permissions to the approved object prefix.
Explanation
Correct Answer
B:Requester Pays shifts specified S3 request and download charges to requesters. Test an authenticated client request with requester-pays headers.
Incorrect Answers
A:Block Public Access prevents specified public ACL and policy access even if permissions drift. Configure S3 Requester Pays and ensure clients signal requester billing. Test an authenticated client request with requester-pays headers.
C:Bucket owner enforced turns off ACL authorization and centralizes ownership. Configure S3 Requester Pays and ensure clients signal requester billing. Test an authenticated client request with requester-pays headers.
D:Resource ARN scopes and conditions restrict eligible S3 object actions. Configure S3 Requester Pays and ensure clients signal requester billing. Test an authenticated client request with requester-pays headers.
Question 177
An application reads an encrypted KMS-protected object and receives AccessDenied. The design also uses a known encryption context to bind ciphertext operations to a business dataset. Which THREE configuration checks are necessary? (Select THREE.)
- Authorize the application principal in the KMS key policy or delegated IAM policy model for the required decrypt operation.
- Verify the principal’s identity policy and any applicable grants or explicit denies on the KMS key.
- Supply the matching encryption context required by the key conditions and original ciphertext operation.
- Disable KMS key authorization and rely only on S3 bucket public-read access.
- Grant a CloudFront origin cache policy and claim it overrides an explicit KMS deny.
- Replace the required encryption context with unrelated free-form values on every decrypt request.
Explanation
Correct Answers
A:KMS policy evaluation must permit the principal’s intended cryptographic action; S3 object permission alone does not grant key use.
B:The IAM and key policy conditions jointly determine effective authorization; an explicit deny or missing delegated permission blocks decrypt.
C:A mismatch in expected encryption context can cause KMS access failure even when the key and other permissions are correct.
Incorrect Answers
D:S3 object access does not replace cryptographic authorization to a KMS key.
E:CloudFront cache behavior does not supersede key-policy or IAM denials for cryptographic operations.
F:Encryption-context values must match the restrictions and context used to protect the ciphertext; arbitrary substitutions do not work.
Question 178
An application needs low-level cryptography without exporting a KMS symmetric key. Which approach fits?
- Call AWS KMS GenerateDataKey and use envelope encryption securely.
- Constrain the key policy with the appropriate kms:ViaService condition.
- Create a KMS multi-Region primary key and configured replicas where appropriate.
- Inventory dependent ciphertext and snapshot recovery needs before canceling or completing deletion.
Explanation
Correct Answer
A:KMS can generate protected data keys for client-side envelope encryption. Verify the plaintext data key is discarded after use.
Incorrect Answers
B:KMS condition keys can limit requests to expected integrated AWS services. Call AWS KMS GenerateDataKey and use envelope encryption securely. Verify the plaintext data key is discarded after use.
C:Multi-Region KMS keys share key material and key ID but maintain Region-local resource policies. Call AWS KMS GenerateDataKey and use envelope encryption securely. Verify the plaintext data key is discarded after use.
D:Deleting KMS key material can make encrypted backed-up data permanently unusable. Call AWS KMS GenerateDataKey and use envelope encryption securely. Verify the plaintext data key is discarded after use.
Question 179
An organization wants scheduled automatic rotation of supported customer-managed KMS key material. Which feature applies?
- Call AWS KMS GenerateDataKey and use envelope encryption securely.
- Inventory dependent ciphertext and snapshot recovery needs before canceling or completing deletion.
- Create a KMS multi-Region primary key and configured replicas where appropriate.
- Enable automatic key rotation for an eligible customer-managed KMS key.
Explanation
Correct Answer
D:KMS rotation creates new key material while retaining support for older encrypted data. Inspect the rotation state and old ciphertext decryptability.
Incorrect Answers
A:KMS can generate protected data keys for client-side envelope encryption. Enable automatic key rotation for an eligible customer-managed KMS key. Inspect the rotation state and old ciphertext decryptability.
B:Deleting KMS key material can make encrypted backed-up data permanently unusable. Enable automatic key rotation for an eligible customer-managed KMS key. Inspect the rotation state and old ciphertext decryptability.
C:Multi-Region KMS keys share key material and key ID but maintain Region-local resource policies. Enable automatic key rotation for an eligible customer-managed KMS key. Inspect the rotation state and old ciphertext decryptability.
Question 180
A third-party account needs to decrypt a KMS-encrypted S3 artifact shared by resource policy. Which additional permissions are required?
- Authorize the external principal in the KMS key policy and its account permissions.
- Allow the precise KMS key usage through key policy and required IAM permissions.
- Maintain a controlled key-administration path in the KMS key policy.
- Constrain the key policy with the appropriate kms:ViaService condition.
Explanation
Correct Answer
A:Cross-account KMS use requires key-owner grants and caller authorization. Test decrypt from the exact remote role.
Incorrect Answers
B:SSE-KMS object reads depend on usable KMS decryption authorization. Authorize the external principal in the KMS key policy and its account permissions. Test decrypt from the exact remote role.
C:KMS key policy design must preserve approved administrative and recovery permissions. Authorize the external principal in the KMS key policy and its account permissions. Test decrypt from the exact remote role.
D:KMS condition keys can limit requests to expected integrated AWS services. Authorize the external principal in the KMS key policy and its account permissions. Test decrypt from the exact remote role.