A company's DevOps team launches a WorkSpace using Amazon WorkSpaces for each new user. Recently, the Security team said that WorkSpaces for these new users are not consistently being tagged. Company policy requires that all WorkSpaces be tagged with USERNAME automatically upon creation. Which combination of steps should the DevOps Engineer take to address this requirement? (Choose two.)
A) Add an AWS Lambda function policy allowing cloudtrail.amazonaws.com to use the lambda:InvokeFunction action.
B) Create a new Amazon CloudWatch Events event pattern rule based on Amazon WorkSpaces with an AWS API Call via CloudTrail event type. Select the CreateWorkspaces operation, and target an AWS Lambda function that will tag the Workspace.
C) Ensure AWS CloudTrail is enabled in all Regions where WorkSpaces are created.
D) Enable custom tagging for Amazon WorkSpaces from the directory details.
E) Create a new Amazon CloudWatch Events scheduled event rule based on Amazon WorkSpaces with an interval of 1 minute. Target an AWS Lambda function that will tag the Workspace.
Correct Answer:
Verified
Q137: A company's application is currently deployed to
Q138: A global company with distributed Development teams
Q139: A web application for healthcare services runs
Q140: A company has developed a Node.js web
Q141: An ecommerce company uses a large number
Q143: A company plans to stop using Amazon
Q144: A social networking service runs a web
Q145: An application is deployed on Amazon EC2
Q146: A DevOps Engineer must ensure all IAM
Q147: A DevOps Engineer is tasked with moving
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents