A central operations team manages AWS Service Catalog portfolios in a hub account () and shares them with spoke accounts in an AWS Organization. A SysOps administrator in a spoke account () has associated developer IAM groups with an imported portfolio containing a product that deploys a multi-tier application. When developers in the spoke account attempt to launch the product, the deployment fails during the Amazon EC2 instance provisioning stage with an 'Access Denied' error. The developers do not have direct IAM permissions to manage EC2 instances, and the administrator wants to use a local IAM role named `CustomLaunchRole` in the spoke account to perform the deployment. Which two actions must the administrator take in the spoke account to successfully configure and troubleshoot this deployment?
- Apply a launch constraint to the imported portfolio in the spoke account () that maps the product to the CustomLaunchRole role.Answer
- Configure the trust policy of CustomLaunchRole to allow the servicecatalog.amazonaws.com service principal to assume the role, and ensure the developers' IAM identity has iam:PassRole permissions for CustomLaunchRole.Answer
- CAttach an IAM policy to the developers' IAM identity that grants sts:AssumeRole permissions on the CustomLaunchRole, and configure the role's trust policy to trust the spoke account's root principal.
- DNavigate to the AWS CloudFormation console in the hub account () to view the stack events and resource status of the failed provisioned product deployment.
- EConfigure the CustomLaunchRole permissions policy in the spoke account to grant the kms:Decrypt action on the default AWS-managed KMS key (aws/ebs) of the hub account.