exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 115 discussion

Exam question from Amazon's ANS-C00
Question #: 115
Topic #: 1
[All ANS-C00 Questions]

When an AWS Config rule is triggered a JSON object known as an AWS Config Event is created. This object contains a(n) ____ attribute, which is a JSON- formatted set of key/value pairs the receiving AWS Lambda function processes as part of its evaluation logic.

  • A. inputParameters
  • B. invokingEvent
  • C. ruleConfiguration
  • D. mappingTemplate
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The JSON object for an AWS Config event contains a ruleParameters attribute, which is a set of key/value pairs that the AWS Lambda function receiving the event processes as part of its evaluation logic. You define parameters when you use the AWS Config console to create a custom rule. You can also define parameters with the InputParameters attribute in the PutConfigRule AWS Config API request or the put-config-rule AWS CLI command. The JSON code for the parameters is contained within a string, so a function must parse the string with a JSON parser to be able to evaluate its contents
Reference:
http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules_exa mple-events.html

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
Bassel
Highly Voted 3 years, 8 months ago
Answer is A: inputParameters
upvoted 6 times
marito
3 years, 8 months ago
Yeap . https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules_example-events.html
upvoted 2 times
...
...
sapien45
Most Recent 3 years, 2 months ago
Key/value pairs that the receiving AWS Lambda function evaluates : Invoking events sounds more legit than inputparamters B
upvoted 1 times
...
Huntkey
3 years, 8 months ago
I think it is B.. https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules_nodejs-sample.html This example function handler takes in the "invokingEvent" and "ruleParameters". ruleParameters are key/value pair that the function processes as part of its evaluation logic. However it is not an option. InputParameters are for defining or creating the rules, not for when the rules are triggered
upvoted 3 times
eeghai7thioyaiR4
3 years, 7 months ago
That is right Ans is B
upvoted 1 times
...
[Removed]
3 years, 7 months ago
This may be a typo. The answer should really be ruleParameters. The blurb under the answer even calls it out :)
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 ...