ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 105 - SAA-C03 discussion

Report
Export

A company is preparing to deploy a new serverless workload. A solutions architect must use the principle of least privilege to configure permissions that will be used to run an AWS Lambda function. An Amazon EventBridge (Amazon CloudWatch Events) rule will invoke the function.

Which solution meets these requirements?

A.
Add an execution role to the function with lambda:InvokeFunction as the action and * as the principal.
Answers
A.
Add an execution role to the function with lambda:InvokeFunction as the action and * as the principal.
B.
Add an execution role to the function with lambda:InvokeFunction as the action and Service:amazonaws.com as the principal.
Answers
B.
Add an execution role to the function with lambda:InvokeFunction as the action and Service:amazonaws.com as the principal.
C.
Add a resource-based policy to the function with lambda:'* as the action and Service:events.amazonaws.com as the principal.
Answers
C.
Add a resource-based policy to the function with lambda:'* as the action and Service:events.amazonaws.com as the principal.
D.
Add a resource-based policy to the function with lambda:InvokeFunction as the action and Service:events.amazonaws.com as the principal.
Answers
D.
Add a resource-based policy to the function with lambda:InvokeFunction as the action and Service:events.amazonaws.com as the principal.
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/eventbridge/latest/userguide/resource-based-policieseventbridge. html#lambda-permissions

asked 16/09/2024
Dylan Brons
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first