aws SCS-C03: AWS Certified Security – Specialty · Practice questions

Domain 5: Data Protection Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A company uses Amazon OpenSearch Service for logs. The security team requires fine-grained access, encryption at rest, and node-to-node encryption. Which configuration meets these requirements?

  1. Make the domain public with an open access policy and rely on HTTPS only
  2. Enable fine-grained access control, encryption at rest with KMS, and node-to-node encryption on the domain — Correct
  3. Place the domain in a public subnet and restrict it with a CloudFront distribution
  4. Disable encryption to improve indexing performance and use IP-based access policies only

Correct answer

Enable fine-grained access control, encryption at rest with KMS, and node-to-node encryption on the domain

Explanation

OpenSearch supports fine-grained access control and both types of encryption. Open or unencrypted domains do not meet the requirements.

Question 2

A company needs to delete data securely when it is no longer needed. Which statement about data destruction in AWS is correct?

  1. Encrypted data cannot be made unreadable unless every copy is overwritten byte by byte by the customer.
  2. Deleting the KMS key (crypto-shredding) makes encrypted data unrecoverable. — Correct
  3. Customers must request physical access to AWS data centers to destroy disks that held their data.
  4. Data deleted from S3 is kept permanently by AWS for 7 years for every customer.

Correct answer

Deleting the KMS key (crypto-shredding) makes encrypted data unrecoverable.

Explanation

Deleting the key that protects encrypted data makes the data unrecoverable, and AWS handles media sanitization. Customers do not get data center access. AWS does not keep deleted customer data for years. Crypto-shredding avoids byte-level overwriting.

Question 3

An application writes audit records to an S3 bucket. The security team must prove that no record has been altered after it was written. Which combination provides this? (Choose TWO.)

  1. S3 Transfer Acceleration enabled on the bucket
  2. S3 Intelligent-Tiering on the bucket's objects
  3. S3 Object Lock in compliance mode on the bucket — Correct
  4. S3 Requester Pays enabled on the bucket
  5. S3 Versioning enabled on the bucket — Correct

Correct answer

S3 Object Lock in compliance mode on the bucket; S3 Versioning enabled on the bucket

Explanation

Object Lock prevents changes and requires versioning, which preserves every version. Transfer Acceleration, Intelligent-Tiering, and Requester Pays do not protect integrity.

Question 4

A security engineer must confirm that an AWS service such as S3 can only use a KMS key on behalf of the company's own account. Which key policy condition helps?

  1. kms:CallerAccount, combined with kms:ViaService for the service — Correct
  2. aws:CurrentTime, limited to the company's business hours in its home time zone
  3. kms:KeySpec, set to the key's symmetric default specification
  4. aws:UserAgent, matched against the S3 service's user agent string for every request

Correct answer

kms:CallerAccount, combined with kms:ViaService for the service

Explanation

kms:CallerAccount limits use to principals in the specified account, often combined with kms:ViaService. User agent, time, and key spec do not restrict callers by account.

Question 5

A company uses AWS Secrets Manager. Developers accidentally deleted a secret that production depends on. What can the security engineer do?

  1. Restore the secret from AWS Backup, because Secrets Manager does not support recovery of deleted secrets
  2. Restore the secret with RestoreSecret during its scheduled-deletion recovery window — Correct
  3. Nothing, because deleted secrets are removed permanently at the moment the deletion is requested
  4. Recreate the secret with the same name immediately, which restores all previous versions automatically

Correct answer

Restore the secret with RestoreSecret during its scheduled-deletion recovery window

Explanation

Secrets Manager deletes secrets after a recovery window of 7 to 30 days (unless forced), during which they can be restored. Recreating with the same name fails while scheduled for deletion. The other statements are incorrect.

Question 6

A company wants to give an analytics team access to only non-sensitive columns of a table in its S3 data lake when queried through Athena. Which service provides column-level access control?

  1. Amazon Macie
  2. AWS Lake Formation — Correct
  3. IAM permissions boundaries
  4. S3 Access Points

Correct answer

AWS Lake Formation

Explanation

Lake Formation supports column, row, and cell-level permissions. Macie discovers sensitive data. Access points and IAM boundaries work at object or action level.

Question 7

A company needs to make sure that sensitive data processed by AWS Glue jobs is encrypted at rest, including job bookmarks and CloudWatch logs. Which feature should be used?

  1. A Glue crawler with a schema change policy that encrypts new partitions
  2. An S3 bucket policy that requires SSE-S3 for the Glue job's temporary directory only
  3. A Glue security configuration with KMS encryption for S3 output, bookmarks, and CloudWatch Logs — Correct
  4. A Lake Formation tag on the Glue job that encrypts all of its outputs

Correct answer

A Glue security configuration with KMS encryption for S3 output, bookmarks, and CloudWatch Logs

Explanation

Glue security configurations set encryption for S3 data, job bookmarks, and logs. Bucket policies on one path, crawlers, and tags do not cover all of these.

Question 8

A company's developers need to test applications with production-like data that contains PII. The privacy team requires that PII be removed. Which approach fits BEST?

  1. Mask or tokenize PII with a data pipeline before copying data to test — Correct
  2. Share production database credentials with developers for read-only testing
  3. Copy production data directly into test accounts and restrict access to senior developers
  4. Use production data in test but encrypt the test database with SSE-S3

Correct answer

Mask or tokenize PII with a data pipeline before copying data to test

Explanation

Masking or tokenizing removes PII before data leaves production. Copying raw data, encrypting it, or sharing production access still exposes PII.

Question 9

A company must enforce TLS 1.2 or higher for all client connections to its S3 buckets. Which bucket policy condition should be used in a Deny statement?

  1. s3:TlsVersion less than 1.2 — Correct
  2. aws:SourceVpce equals the bucket's endpoint
  3. s3:x-amz-server-side-encryption equals AES256
  4. aws:SecureTransport equals true

Correct answer

s3:TlsVersion less than 1.2

Explanation

The s3:TlsVersion condition key with a numeric comparison denies older TLS versions. aws:SecureTransport only checks for TLS in general. The encryption and VPC endpoint conditions do not control TLS versions.

Question 10

A company needs to share an encrypted EBS snapshot with another AWS account. The snapshot is encrypted with the AWS managed key aws/ebs. What must the company do?

  1. Change the aws/ebs key policy to allow the other account to use the key.
  2. Share the snapshot directly, because AWS managed keys can be used by any account automatically.
  3. Copy it with a customer managed key, then share the copy and the key. — Correct
  4. Make the snapshot public, because encrypted snapshots can be shared only publicly.

Correct answer

Copy it with a customer managed key, then share the copy and the key.

Explanation

Snapshots encrypted with the AWS managed key cannot be shared. Re-encrypting with a customer managed key and granting the other account access allows sharing. AWS managed key policies cannot be edited, and encrypted snapshots cannot be made public.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz