DEA-C01 practice question 7 of 25
A company has a data processing pipeline that includes several dozen steps. The data processing pipeline needs to send alerts in real time when a…
Full set: 287 questionsAWS Step Functions natively integrates with Amazon EventBridge, emitting events for every execution and state transition (e.g., SUCCEEDED, FAILED). This is the most direct and efficient way to monitor the entire pipeline. By creating an EventBridge rule that filters for specific status changes from the target state machine, you can trigger an action, such as publishing a message to an Amazon SNS topic. This provides real-time, centralized notifications for the entire workflow's status without requiring custom code within the pipeline's individual steps.
A. This method is indirect, adds unnecessary components (S3), and only provides a notification when the entire state machine finishes, not for individual step failures in real time.
B. Requiring each Lambda function to write notifications is decentralized, hard to maintain, and does not provide a holistic view of the Step Functions orchestrator itself.
C. AWS CloudTrail is designed for auditing API activity and has inherent latency. It is not the appropriate service for real-time operational monitoring and alerting on state machine status.
1. AWS Step Functions Developer Guide. (2023). Monitoring with Amazon EventBridge. This guide explicitly details the process: "You can create an Amazon EventBridge rule that triggers when a state machine execution changes status... For example, you can create a rule that sends a notification to an Amazon SNS topic when an execution fails." AWS. Retrieved from https://docs.aws.amazon.com/step-functions/latest/dg/cw-events.html
2. Amazon EventBridge User Guide. (2023). Events from AWS services. This document lists AWS Step Functions as a native event source for EventBridge, confirming the direct integration. AWS. Retrieved from https://docs.aws.amazon.com/eventbridge/latest/userguide/events-service-events.html
Keep practicing
Take the free DEA-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DEA-C01 practice questions
- Question 1A company hosts its applications on Amazon EC2 instances. The company must use SSL/TLS co…
- Question 2A data engineer needs to build an enterprise data catalog based on the company's Amazon S…
- Question 3A company has an application that uses a microservice architecture. The company hosts the…
- Question 4A company stores customer records in Amazon S3. The company must not delete or modify the…
- Question 5A company uses AWS Glue Apache Spark jobs to handle extract, transform, and load (ETL) wo…
- Question 8A marketing company uses Amazon S3 to store marketing dat a. The company uses versioning …
