A SysOps administrator in Account A () is configuring an Amazon EventBridge Scheduler schedule to invoke an AWS Lambda function in Account B () on a daily basis.
The administrator creates an IAM role in Account A named `SchedulerExecutionRole` to be used as the execution role for the schedule. The role has a permissions policy that allows `lambda:InvokeFunction` on the target function `arn:aws:lambda:us-east-1:222222222222:function:DailyAudit`. The trust policy of `SchedulerExecutionRole` allows the `scheduler.amazonaws.com` service principal to assume the role.
When the administrator attempts to create the schedule using the AWS CLI, the command fails with an `AccessDeniedException` error, and the schedule is not created.
Which of the following configuration changes are required to successfully establish this workflow? (Select TWO.)
- Add an IAM policy statement to the administrator's IAM identity in Account A that grants the `iam:PassRole` permission for the `SchedulerExecutionRole` resource.Answer
- Configure the resource-based policy of the Lambda function in Account B to grant `lambda:InvokeFunction` permissions to the `SchedulerExecutionRole` principal.Answer
- CAdd an IAM policy statement to the administrator's IAM identity in Account A that grants the `sts:AssumeRole` permission for the `SchedulerExecutionRole` resource.
- DModify the trust policy of the `SchedulerExecutionRole` in Account A to trust the Lambda service principal `lambda.amazonaws.com` instead of the EventBridge Scheduler service principal.
- EConfigure the trust policy of the Lambda function's execution role in Account B to trust the `SchedulerExecutionRole` from Account A.