ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

276 / 500

Question 276:

You are the DevOps engineer in a company assigned to support a development team interested in having a CI/CD pipeline in AWS CodePipeline to deal with several complex cases, handle asynchronous workflow-driven actions, and keep centralized logging for the workflow execution history to CloudWatch Logs. What is the most robust approach to follow?

Answer options:

A.Create an AWS Lambda function to handle workflow-driven actions. Configure a CodePipeline deploy action to trigger the same AWS Lambda function. To deal with centralized logging, an AWS Step Function can be configured to log workflow execution history to CloudWatch Logs.
B.Create an AWS Step Functions state machine to handle workflow-driven actions via specific, lean single purpose AWS Lambda functions. Configure a CodePipeline deploy action to trigger an AWS Lambda function that decouples the Step Functions state machine and the pipeline itself. To deal with centralized logging, it is possible while creating or updating a state machine to configure logging to Amazon CloudWatch Logs.
C.Create an AWS Step Functions state machine to handle workflow-driven actions via specific, lean single purpose AWS Lambda functions. Configure a CodePipeline deploy action to trigger an AWS Lambda function that decouples the Step Functions state machine and the pipeline itself. To deal with centralized logging, an Amazon S3 bucket can be defined to store all logs since there is no integration between AWS Step Functions and Amazon CloudWatch Logs.
D.Create an AWS Lambda function to handle workflow-driven actions. Configure a CodePipeline deploy action to trigger the same AWS Lambda function. To deal with centralized logging, an Amazon S3 bucket can be defined to store all logs from Amazon CloudWatch Logs.