exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 131 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 131
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company is building a data lake on Amazon S3. The data consists of millions of small files containing sensitive information. The Security team has the following requirements for the architecture:
* Data must be encrypted in transit.
* Data must be encrypted at rest.
* The bucket must be private, but if the bucket is accidentally made public, the data must remain confidential.
Which combination of steps would meet the requirements? (Choose two.)

  • A. Enable AES-256 encryption using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) on the S3 bucket.
  • B. Enable default encryption with server-side encryption with AWS KMS-managed keys (SSE-KMS) on the S3 bucket.
  • C. Add a bucket policy that includes a deny if a PutObject request does not include aws:SecureTransport.
  • D. Add a bucket policy with aws:SourceIp to Allow uploads and downloads from the corporate intranet only.
  • E. Add a bucket policy that includes a deny if a PutObject request does not include s3:x-amz-server-side-encryption: "aws:kms".
  • F. Enable Amazon Macie to monitor and act on changes to the data lake's S3 bucket.
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JackLee1
Highly Voted 3 years, 6 months ago
This question is in the sample question bank on AWS site. There the answer is marked as BC https://d1.awsstatic.com/training-and-certification/docs-security-spec/AWS-Certified-Security-Speciality_Sample-Questions.pdf Reason from the sample question bank B, C –Bucket encryption using KMS will protect both in case disks are stolen as well as if the bucket is public. This is because the AWS KMS key would need to have privileges granted to it for users outside of AWS. HTTPS will protect data in transit. I think it should also mention for GetObject to have the aws:SecureTransport condition specified for download. https://aws.amazon.com/blogs/security/how-to-use-bucket-policies-and-apply-defense-in-depth-to-help-secure-your-amazon-s3-data/
upvoted 33 times
Gustava6272
3 years, 5 months ago
Why is SSE-S3 less better than SSE-KMS ? ie why not AC . Both will encrypt as required by the question.
upvoted 3 times
YouYouYou
3 years, 3 months ago
with KMS you have more control meaning it's going to give you better protection in case of accidental exposure.
upvoted 1 times
...
Mimikabs
2 years, 4 months ago
The reason why SSE-S3 is not a correct answer here is due to one of the conditions: if the bucket is accidently made public, the data should still remain protected. With SSE-S3, if bucket is made public, then the data is unencrypted for anyone trying to access it.
upvoted 6 times
...
...
...
[Removed]
Highly Voted 3 years, 6 months ago
CE, B does not force KMS encrypted objects. E does.
upvoted 6 times
[Removed]
3 years, 6 months ago
If you set default encryption on the bucket, no items can be PUT without being encrypted. If they are being PUT without any encryption headers, S3 uses the bucket's default encryption setting to encrypt the object, which satisfies the encrypt-at-rest request. Read here: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
upvoted 4 times
...
...
Raphaello
Most Recent 1 year, 2 months ago
Selected Answer: BC
BC are correct providing privacy, encryption at rest, and encryption in transit respectively. However, E is not out-right wrong. It is another technique to enforce encryption at rest with custom key.
upvoted 1 times
Raphaello
1 year, 2 months ago
As a side note, usually questions with 6 options asks to choose 3 best answer out of 6. This one it asks for only 2; which made me wonder what could be 3rd best answer, specially that there are 3 requirements: 1. encryption at rest, 2. encryption in transit, 3. retain confidentiality even if the bucket was made public. That lead me to think "D" could be a good 3rd best answer beside B & C. Allow access only from requests coming from certain IP's, even if bucket was made public, that will restrict access and conform with required confidentiality. -- "Condition": { "IpAddress": { "aws:SourceIp": [ "192.0.2.0/24" ] }, --
upvoted 1 times
...
...
matrpro
1 year, 11 months ago
Selected Answer: BC
BC are correct. Example of a guy that encrypted objects and after making public the bucket, everybody can access to the objects: https://stackoverflow.com/questions/59507962/aws-s3-object-encryption-public-accessible How to enforce HTTS in transit: https://docs.aws.amazon.com/AmazonS3/latest/userguide/security-best-practices.html
upvoted 1 times
...
ITGURU51
2 years ago
Answer B keeps the data at rest encrypted and confidential. Answer C keeps the data in transit encrypted and confidential.
upvoted 1 times
...
Meta512
2 years, 3 months ago
Selected Answer: BC
BC is correct according to JackLee1 and Mimikabs explains why SSE-S3 is invalid as well
upvoted 1 times
...
skiwili
2 years, 3 months ago
Selected Answer: BC
I think bc
upvoted 1 times
...
boooliyooo
2 years, 3 months ago
Selected Answer: AC
To meet the requirements for the data lake on Amazon S3, the security team should take the following steps: A. Enable AES-256 encryption using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) on the S3 bucket. This will ensure that the data is encrypted at rest, using a strong encryption algorithm. C. Add a bucket policy that includes a deny if a PutObject request does not include aws:SecureTransport. This will ensure that the data is encrypted in transit, as aws:SecureTransport is a condition key that checks whether the request is being made using a secure transport (HTTPS). By including a deny statement in the bucket policy, any PutObject requests that are not made using a secure transport will be denied. Option E, adding a bucket policy that includes a deny if a PutObject request does not include s3:x-amz-server-side-encryption: "aws:kms", would not meet the requirement to encrypt the data in transit. This condition only checks for the use of server-side encryption with AWS KMS-managed keys (SSE-KMS) for the PutObject request, and does not ensure that the data is encrypted in transit.
upvoted 1 times
...
Fyssy
2 years, 4 months ago
Selected Answer: CE
EC. The datalake upload will must likely be done via CLI so add a bucket policy that includes a deny if a PutObject request does not include s3:x-amz-server-side-encryption: "aws:kms".
upvoted 1 times
...
Laziiie
2 years, 5 months ago
Why A,C cant be answer?
upvoted 1 times
...
sanjaym
3 years, 6 months ago
BC for sure.
upvoted 1 times
...
Mike_1
3 years, 6 months ago
B C sorry for the last post in Q24, BC it is. The right answer can be also seen in https://d1.awsstatic.com/training-and-certification/docs-security-spec/AWS-Certified-Security-Speciality_Sample-Questions.pdf
upvoted 1 times
...
rdy4u
3 years, 6 months ago
B - Protect if the bucket is made public C - Encryption at transit. E - Encryption at rest Duplicated questions with New Q24
upvoted 3 times
...
gfhbox0083
3 years, 6 months ago
B, C for sure
upvoted 1 times
...
ADVIT
3 years, 6 months ago
B + C for sure
upvoted 1 times
...
Buggie
3 years, 7 months ago
AB for me. see no issues with s3 encryption.
upvoted 1 times
xaccan
3 years, 7 months ago
question is "combination of steps" A does not make sense if you select b correct answer is bc
upvoted 1 times
...
...
Raj9
3 years, 7 months ago
bc for sure
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago