Question 214:
A DevOps engineer has created the below AWS CloudWatch Event rule to capture the CloudFormation API call:
Answer options:
A.AWS API Call via CloudTrail cannot be used in a CloudWatch Event rule.
B.CloudTrail can only trace the add and delete for a CloudFormation stack. No API call is recorded for the stack update, so no notification was received.
C.The rule should be changed as the following snippet:
{
"source": [
"aws.cloudtrail"
],
"detail": {
"eventSource": [
"cloudformation.amazonaws.com"
]
}
}
D.Check if CloudTrail logging is turned on in this region. If it is turned off, no AWS API action events can be received.