Bird
0
0

What will happen if you create a CloudWatch Events rule with this target configuration?

medium📝 service behavior Q5 of 15
AWS - CloudWatch
What will happen if you create a CloudWatch Events rule with this target configuration?
{"Arn": "arn:aws:lambda:us-east-1:123456789012:function:ProcessEvent", "Id": "Target1"}

Assuming the rule matches an event, what occurs?
ANothing happens unless the Lambda function is manually triggered
BThe Lambda function ProcessEvent is invoked with the event data
CThe Lambda function is created automatically
DThe event is stored in the Lambda function's logs only
Step-by-Step Solution
Solution:
  1. Step 1: Understand target configuration in EventBridge

    The target ARN points to a Lambda function, so the rule triggers that function when matched.
  2. Step 2: Confirm behavior on event match

    EventBridge invokes the Lambda function with the event data automatically.
  3. Final Answer:

    The Lambda function ProcessEvent is invoked with the event data -> Option B
  4. Quick Check:

    EventBridge triggers Lambda invocation automatically [OK]
Quick Trick: EventBridge triggers Lambda, it does not create or wait for manual trigger [OK]
Common Mistakes:
MISTAKES
  • Thinking Lambda is created automatically
  • Assuming manual trigger is needed
  • Confusing invocation with logging only

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes