exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 105 discussion

A DevOps engineer used an AWS CloudFormation custom resource to set up AD Connector. The AWS Lambda function ran and created AD Connector, but CloudFormation is not transitioning from CREATE_IN_PROGRESS to CREATE_COMPLETE.

Which action should the engineer take to resolve this issue?

  • A. Ensure the Lambda function code has exited successfully.
  • B. Ensure the Lambda function code returns a response to the pre-signed URL.
  • C. Ensure the Lambda function IAM role has cloudformation:UpdateStack permissions for the stack ARN.
  • D. Ensure the Lambda function IAM role has ds:ConnectDirectory permissions for the AWS account.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
haazybanj
Highly Voted 1 year, 3 months ago
Selected Answer: B
B. Ensure the Lambda function code returns a response to the pre-signed URL. Explanation: When using a custom resource in CloudFormation, the AWS Lambda function responsible for handling the resource creation should send a response to the pre-signed URL provided by CloudFormation. This response signals the completion status of the custom resource creation process to CloudFormation. In this case, since the Lambda function successfully created the AD Connector, the engineer should ensure that the Lambda function code includes the logic to send a response to the pre-signed URL. This response should indicate the success status and any relevant data, such as the ARN or other details of the created AD Connector.
upvoted 14 times
...
dkp
Most Recent 6 months, 2 weeks ago
Selected Answer: B
its B
upvoted 1 times
...
thanhnv142
8 months, 3 weeks ago
B is correct: <but CloudFormation is not transitioning from CREATE_IN_PROGRESS to CREATE_COMPLETE> means ACF hasnot received a response code from Lambda A, C and D: no mention of response code
upvoted 2 times
...
YR4591
12 months ago
Selected Answer: B
Lambda should send a cfnresponsse to presign url
upvoted 1 times
...
BaburTurk
1 year ago
B is correct https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html
upvoted 3 times
...
MarDog
1 year, 4 months ago
Selected Answer: B
It's B.
upvoted 2 times
...
OrganizedChaos25
1 year, 5 months ago
B is correct
upvoted 2 times
...
devnv
1 year, 5 months ago
B is the right answer
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