ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

474 / 500

Question 474:

<span dir="LTR">You are working in a Cloud Security team and your team owns an AWS account A (111111111111) that uses Amazon EventBridge to collect the events happening in other AWS accounts and check if there are security breaches. A new AWS account B (222222222222) has been recently configured to send events to account A. You need to create a rule in your account A to receive and match the events only from account
B. How would you set up the rule in Amazon EventBridge?</span>

Answer options:

A.Edit the event pattern in the new rule and add the following to match the events that are sent by AWS account B:
{
"account": [
"222222222222"
],
...
}
B.Select the custom pattern in the new rule and choose the custom event bus that is used by AWS account
B. Enable the rule on the selected event bus.
C.In the new EventBridge rule, select the "pre-defined pattern by AWS account". In the account drop-down list, select the AWS account B (222222222222).
D.Select “All Events” in the service provider of the rule. Configure a Lambda function as the target and filter the events based on the JSON-formatted input in the Lambda function.