AWS Certified Data Engineer Associate DEA-C01 Practice Question
An AWS Step Functions workflow processes daily sales files. When any task fails after exhausting its retries, the data engineering team must raise an alert that (1) persists for at least 4 days, (2) can be fetched every minute by a polling script, and (3) is never delivered more than once per failure. Which solution meets these requirements most cost-effectively?
Write the failure to Amazon CloudWatch Logs; use a metric filter and alarm to send a notification to an SNS standard topic that the script consumes.
Emit the failure as a custom event to Amazon EventBridge; configure the monitoring script to pull events via an API destination every minute.
Add a Catch path that publishes to an Amazon SNS standard topic; subscribe the monitoring script through an HTTPS endpoint.
Add a Catch path that publishes a JSON payload to an Amazon SQS FIFO queue configured with a 5-day retention period; have the monitoring script poll the queue for messages.
An Amazon SQS FIFO queue satisfies all three requirements. A Step Functions Catch path can send a JSON message to the queue. FIFO queues provide exactly-once message delivery with deduplication and guarantee that a message will not be delivered more than once. Message retention can be set between 60 seconds and 14 days, so configuring it for 5 days covers the 4-day durability requirement. The monitoring script can poll the queue on its preferred schedule without incurring push notification costs.
SNS standard topics or CloudWatch alarms might deliver duplicate messages and use a push model rather than polling. EventBridge only retains events for 24 hours, which is below the durability requirement. Therefore, sending failure notifications to an SQS FIFO queue is the most suitable and economical choice.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Amazon SQS FIFO queue and how does it ensure exactly-once message delivery?
Open an interactive chat with Bash
Why is Amazon SNS standard topic not suitable for this use case?
Open an interactive chat with Bash
How does configuring a Step Functions Catch path help when a workflow task fails?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Ingestion and Transformation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .