exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 465 discussion

The company Security team requires that all data uploaded into an Amazon S3 bucket must be encrypted. The encryption keys must be highly available and the company must be able to control access on a per-user basis, with different users having access to different encryption keys.
Which of the following architectures will meet these requirements? (Choose two.)

  • A. Use Amazon S3 server-side encryption with Amazon S3-managed keys. Allow Amazon S3 to generate an AWS/S3 master key, and use IAM to control access to the data keys that are generated.
  • B. Use Amazon S3 server-side encryption with AWS KMS-managed keys, create multiple customer master keys, and use key policies to control access to them.
  • C. Use Amazon S3 server-side encryption with customer-managed keys, and use AWS CloudHSM to manage the keys. Use CloudHSM client software to control access to the keys that are generated.
  • D. Use Amazon S3 server-side encryption with customer-managed keys, and use two AWS CloudHSM instances configured in high-availability mode to manage the keys. Use the CloudHSM client software to control access to the keys that are generated.
  • E. Use Amazon S3 server-side encryption with customer-managed keys, and use two AWS CloudHSM instances configured in high-availability mode to manage the keys. Use IAM to control access to the keys that are generated in CloudHSM.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
Moon
Highly Voted 3 years, 10 months ago
My preference "B" & "D". A: customer can not control the keys! B: AWS-KMS managed keys, allow the user to create Master keys, and control them. It is high available as it is a managed service by AWS. C: CloudHSM can be high available by including a second instance in different AZ. D: Meet the requirement of management and high availability. E: Managing the keys by CloudHSM client, not IAM user!!
upvoted 30 times
shammous
3 years, 9 months ago
CloudHSM instance? CloudHSM is a service so D and E are ruled out. B and C would be good options.
upvoted 10 times
...
...
Xiaoyao2000
Highly Voted 3 years, 10 months ago
I would choose b d
upvoted 7 times
...
SkyZeroZx
Most Recent 2 years, 1 month ago
Selected Answer: BD
The correct answers are B and D. Solution B meets the requirements because it uses AWS KMS-managed keys, which are highly available and can be controlled on a per-user basis using key policies. Solution D also meets the requirements because it uses customer-managed keys that are stored in two AWS CloudHSM instances configured in high-availability mode. The CloudHSM client software can be used to control access to the keys that are generated.
upvoted 1 times
SkyZeroZx
2 years, 1 month ago
The other solutions do not meet all of the requirements. Solution A uses Amazon S3-managed keys, which are not as highly available as AWS KMS-managed keys. Additionally, IAM cannot be used to control access to the data keys that are generated. Solution C uses customer-managed keys that are stored in AWS CloudHSM. However, it does not use IAM to control access to the keys that are generated. Solution E uses customer-managed keys that are stored in two AWS CloudHSM instances configured in high-availability mode. However, it uses IAM to control access to the keys that are generated. This is not necessary, as the CloudHSM client software can be used to control access to the keys.
upvoted 1 times
...
...
hobokabobo
2 years, 7 months ago
Selected Answer: AE
Question only asks to control access to the keys but not management of the keys. So keys can be managed by AWS as long as access to the keys can be restricted. A: seems perfectly valid and is highly available. B: we do not need control over the master key but access restriction per user. D: We need access restriction on a per user basis. Client does not fulfill the per user per user. E: highly available and one can use IAM to restrict access on a per user base. fulfills requirement. Based in that I do not see the question asking for control over key generation but only for access restriction on user base: for me its AE
upvoted 1 times
...
tomosabc1
2 years, 9 months ago
Selected Answer: BD
I have to say that this is a really bad question with several inaccurate wordings. Firstly, the "KMS-managed keys" in option B actually refers to KMS keys stored in KMS(i.e. SSE-KMS), customer managed keys or AWS managed keys. Otherwise B can't be right, because the key policy of AWS managed keys cannot be changed. So to make B a valid answer, "KMS-managed keys" have to refer to customer managed keys, which is the same as CDE, but using a completely different wording. B have to be right answer, otherwise there aren't 2 correct answers for this question.
upvoted 3 times
tomosabc1
2 years, 9 months ago
Compared with C, D looks more like a correct answer, because C makes no mention of HA, which is not enabled by default(We have to have two HSMs in CloudHSM Cluster to make it HA)
upvoted 1 times
...
tomosabc1
2 years, 9 months ago
Secondly, "CloudHSM instances" and "CloudHSM instances configured in high availability mode" is not a real thing. "High availability is provided automatically when you have at least two HSMs in your CloudHSM Cluster. No additional configuration is required. In the event an HSM in your cluster fails, it will be replaced automatically, and all clients will be updated to reflect the new configuration without interrupting any processing" "Please note it is your responsibility to architect your cluster for high availability. AWS strongly recommends that you use CloudHSM Clusters with two or more HSMs in separate Availability Zones." https://aws.amazon.com/cloudhsm/faqs/
upvoted 1 times
...
tomosabc1
2 years, 9 months ago
"You have three mutually exclusive options, depending on how you choose to manage the encryption keys. Server-Side Encryption with Amazon S3-Managed Keys (SSE-S3) ..... Server-Side Encryption with KMS keys Stored in AWS Key Management Service (SSE-KMS) .... Additionally, you can create and manage customer managed keys or use AWS managed keys that are unique to you, your service, and your Region. ... Server-Side Encryption with Customer-Provided Keys (SSE-C)" https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html
upvoted 3 times
...
...
[Removed]
2 years, 9 months ago
Selected Answer: BE
Don't know why the community disregards E. You can create KMS key with CloudHSM-backed custom-key store. The keys can then be managed by regular IAM and key policies. https://docs.aws.amazon.com/kms/latest/developerguide/manage-cmk-keystore.html No need to use CloudHSM client, because KMS connects to CloudHSM on our behalf. https://docs.aws.amazon.com/kms/latest/developerguide/disconnect-keystore.html
upvoted 1 times
...
dmscountera
2 years, 10 months ago
Selected Answer: BD
Based on all comments
upvoted 1 times
...
JohnPi
2 years, 10 months ago
Selected Answer: BD
In AWS CloudHSM, use any of the following to manage keys on the HSMs in your cluster: - PKCS #11 library - JCE provider - CNG and KSP providers - key_mgmt_util
upvoted 1 times
...
KengL
3 years, 1 month ago
CD B is wrong as multiple doesn't mean each user has unique key
upvoted 2 times
...
bobsmith2000
3 years, 2 months ago
A doesn't fit the bill at all. C is wrong because we need more than 1 HSM instance in a cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/clusters.html) E is wrong because CloudHSM doesn't support IAM (https://docs.aws.amazon.com/cloudhsm/latest/userguide/hsm-users.html) What we have left? B and D. Now referring to the https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html, it becomes clear, that we can use either a "Customer managed key" or a "AWS managed key" which in turn creates "Data Keys". Taking this into account, B doesn't make sence at all! B) "Use Amazon S3 server-side encryption with AWS KMS-managed keys, create multiple customer master keys". If we choose "AWS KMS-managed key" there's no such thing as "customer master keys". Moreover according to the link above: "However, you cannot manage these AWS KMS-managed keys, rotate them, or change their key policies." which violates the stipulations. So B is wrong as well. The only answer which makes sence and fits the stipulation as D. Correct me if I'm wrong.
upvoted 2 times
bobsmith2000
3 years, 1 month ago
Second run. C doesn't mention number of instances, so it might work. With B it's not possible to change key policy. So for me it's CD
upvoted 2 times
...
...
pititcu667
3 years, 6 months ago
Selected Answer: BD
e is wrong because with IAM you can only do: "cloudhsm:DescribeClusters", "cloudhsm:DescribeBackups", "cloudhsm:CreateCluster", "cloudhsm:CreateHsm", "cloudhsm:RestoreBackup", "cloudhsm:CopyBackupToRegion", "cloudhsm:InitializeCluster", "cloudhsm:ListTags", "cloudhsm:TagResource", "cloudhsm:UntagResource",
upvoted 1 times
...
cldy
3 years, 7 months ago
B and D.
upvoted 1 times
...
Ni_yot
3 years, 7 months ago
B & C for me. As well as creating 2 instances for HA, you will also need to manage keys using CloudHSM software. Not IAM
upvoted 1 times
Ni_yot
3 years, 7 months ago
ignore that B and D
upvoted 3 times
...
...
AzureDP900
3 years, 8 months ago
Should be B,D
upvoted 1 times
...
acloudguru
3 years, 8 months ago
KMS 99.9%, HSM 99.95%, if B is ok, why need two HSM in D or E?
upvoted 2 times
...
Sachhi
3 years, 8 months ago
B and D, not E as CloudHSM can be used only with HSM client Q: How do I set up a high availability (HA) configuration? High availability is provided automatically when you have at least two HSMs in your CloudHSM Cluster. No additional configuration is required. In the event an HSM in your cluster fails, it will be replaced automatically, and all clients will be updated to reflect the new configuration without interrupting any processing. Additional HSMs can be added to the cluster via the AWS API or SDK, increasing availability without interrupting your application.
upvoted 1 times
...
StelSen
3 years, 8 months ago
Today I tried to create Cloud HSM and there is an option to choose subnet (upto 3 as I am in SGP region). But I am able to choose only one region. So I can create HSM with 1 instance. Although Cloud HSM is managed service. Creating HSM with 1 won't give HA. So, I would choose D as one of the answer over C.
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 ...