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 43 discussion

An AWS customer is deploying an application mat is composed of an AutoScaling group of EC2 Instances.
The customers security policy requires that every outbound connection from these instances to any other service within the customers Virtual Private Cloud must be authenticated using a unique x 509 certificate that contains the specific instance-id.
In addition, an x 509 certificates must Designed by the customer's Key management service in order to be trusted for authentication.
Which of the following configurations will support these requirements?

  • A. Configure an IAM Role that grants access to an Amazon S3 object containing a signed certificate and configure the Auto Scaling group to launch instances with this role. Have the instances bootstrap get the certificate from Amazon S3 upon first boot.
  • B. Embed a certificate into the Amazon Machine Image that is used by the Auto Scaling group. Have the launched instances generate a certificate signature request with the instance's assigned instance-id to the key management service for signature.
  • C. Configure the Auto Scaling group to send an SNS notification of the launch of a new instance to the trusted key management service. Have the Key management service generate a signed certificate and send it directly to the newly launched instance.
  • D. Configure the launched instances to generate a new certificate upon first boot. Have the Key management service poll the Auto Scaling group for associated instances and send new instances a certificate signature (hat contains the specific instance-id.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
dpvnme
Highly Voted 3 years, 7 months ago
I would go with C
upvoted 8 times
Warrenn
3 years, 7 months ago
agree C. A is incorrect and will not work
upvoted 4 times
...
skywalker
3 years, 7 months ago
Agreed to be C
upvoted 4 times
...
...
examacc
Highly Voted 3 years, 7 months ago
C is option making some sense. However it should be ACM for certificates. KMS is for keys
upvoted 6 times
...
amministrazione
Most Recent 8 months, 3 weeks ago
C. Configure the Auto Scaling group to send an SNS notification of the launch of a new instance to the trusted key management service. Have the Key management service generate a signed certificate and send it directly to the newly launched instance.
upvoted 1 times
...
a6a3d55
11 months, 2 weeks ago
Selected Answer: D
The ec2 create the certificate that includes its instanceid put unsigned certificate into sns and the customer key management system poll sns for new request and sign the certificate. This is not AWS kms but a customer key system so it could be written to poll requests
upvoted 1 times
...
Jesuisleon
1 year, 11 months ago
Selected Answer: B
The second time I read this question, I believe the answer should B. A. instance-id is randomly generated by amazon internal algorithm, you can't get all possible instance-id in advance before you start an instance. So A is out. C. "Have the Key management service generate a signed certificate" is apparently wrong. Still don't know why people don't notice it. KMS only does encryptions/decryptions, for x 509 certificate , you need ACM to generate. D " upon first boot" I suspect whether you can get instance-id in booting time via script in user data and " Have the Key management service poll the Auto Scaling group" looks strange to me, as far as I know, it seems no poll function from KMS.
upvoted 1 times
Jesuisleon
1 year, 10 months ago
Ok, the third time I read this question, I change to C. "an x 509 certificates must Designed by the customer's Key management service" here customer's key management service is not KMS but a certificate management service so it can generate x509 certificate. This question is REALLY badly worded question, the one who devised this question mixing encryption/decryption key with certificates !
upvoted 2 times
...
...
Jesuisleon
1 year, 11 months ago
I don't understand how C can be correct. KMS can not generate x509 certificate ! it should be acm!
upvoted 1 times
...
jhonivy
2 years, 3 months ago
Another question that Sucks! Not only configurations needed with Option C, I think it may need some programming work or even your Key management service cannot send it to EC2.
upvoted 1 times
...
TigerInTheCloud
2 years, 4 months ago
Selected Answer: C
Same as cannottellname and TechX
upvoted 1 times
...
TechX
2 years, 10 months ago
Selected Answer: C
Answer: C Explanation: The certificate must be signed by the customers key management service and this is the only option. Using S3 wont have it unique, embedding in AMI wont make it unique, Generating a new certificate by itself would defeat the requirement of getting it signed by customers key management service. A – Accessing from S3 was fine but how can the file be unique when every time autoscaling generates different instances and instance-id.. Thats not predictable B – Embedding a certificate in AMI cannot make the certificate unique. D – As the EC2 instances must generate unique X.509 certificate and this must be specific to the instance id. The EC2 instance can generate the certificate itself BUT it is clearly mentioned that the certificate must be signed by the customers key management service and not self signed.
upvoted 4 times
...
cannottellname
3 years, 3 months ago
Option C Just to be clear, this question doesn't talk about AWS KMS but a customer's key management service (something like internal Certificate Authority). The requirement asks about unique certificate to be assigned for each EC2 instance. A, B doesn't guarantee a unique certificate. D doesn't make sense as CA won't poll for a CSR (Certificate Signining Request) and Sign it. This leaves with Option C which is possible with SNS alerting the customer's key management service or CA with details about instance-id and CA can generate a Certificate, Sign It and send back to the associated instance. Saw a comment that AWS SNS doesn't send notification to KMS which is correct as KMS service is not integrated with SNS but the question is about Customer's Key Management Service and not AWS KMS. AFAIK, AWS KMS doesn't deal with X509 SSL certificates. It only deals with Cryptographic Keys
upvoted 4 times
...
blackgamer
3 years, 6 months ago
C is correct , A & B not handling to generate cert with instance-id.
upvoted 1 times
...
01037
3 years, 6 months ago
I understand why B can't be the answer, since the very first request violates the policy. But how does the Key management service send signed certificate directly to the newly launched instance?
upvoted 2 times
01037
3 years, 6 months ago
Is customer's Key management service AWS KMS? Or is it inside any VPC? Nothing mentioned about it. If it is, AWS KMS isn't inside any VPC, the B doesn't violates the policy.
upvoted 1 times
...
...
lin404
3 years, 6 months ago
How does SNS send notifications to KMS?
upvoted 4 times
...
newme
3 years, 6 months ago
To meet the requirements, It has to be C. A. Not unique for each instance. B. First request is too insecure. D. New instance may not have unique certificate before the first request
upvoted 2 times
...
cpal012
3 years, 6 months ago
Cant be 'C'. KMS doesnt generate certificates, ACM does.
upvoted 4 times
...
srknbngl
3 years, 6 months ago
C is correct
upvoted 1 times
...
Bulti
3 years, 6 months ago
Answer is B. When an EC2 instance that is started communicates with the Trusted Customer managed KMS service, it can use client ID and client secret to send the Certificate Signature request.
upvoted 2 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