A SysOps administrator created an flaws CloudFormation template that provisions an Amazon EventBridge rule that invokes an flaws Lambda function. The Lambda function is designed to write event details to an Amazon CloudWatch log group. The function has permissions to write events to Amazon CloudWatch Logs. However, the SysOps administrator discovered that the Lambda function is not running. How should the SysOps administrator resolve the problem?

QuestionsCategory: SOA-C02A SysOps administrator created an flaws CloudFormation template that provisions an Amazon EventBridge rule that invokes an flaws Lambda function. The Lambda function is designed to write event details to an Amazon CloudWatch log group. The function has permissions to write events to Amazon CloudWatch Logs. However, the SysOps administrator discovered that the Lambda function is not running. How should the SysOps administrator resolve the problem?
Admin Staff asked 7 months ago
A SysOps administrator created an flaws CloudFormation template that provisions an Amazon EventBridge rule that invokes an flaws Lambda function. The Lambda function is designed to write event details to an Amazon CloudWatch log group. The function has permissions to write events to Amazon CloudWatch Logs. However, the SysOps administrator discovered that the Lambda function is not running.
How should the SysOps administrator resolve the problem?

A. Update the CloudFormation stack to include an flaws::IAM::Role resource with the required IAM permissions for EventBridge to invoke the function. Assign the role to the EventBridge rule.

B. Update the CloudFormation stack to include an flaws::IAM::Role resource with the required IAM permissions for the function. Assign the role as the function execution role.

C. Update the CloudFormation stack with an flaws::Lambda::Permission resource to ensure events.amazonaws.com has permissions to invoke the function.

D. Update the CloudFormation stack with an flaws::Lambda::Permission resource to ensure lambda.amazonaws.com has permissions to invoke the function.








 

Correct Answer: C

This question is in SOA-C02 exam
For getting AWS Certified SysOps Administrator - Associate

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.