HomeInterview QuestionsIs there a way to use SQS and SNS to trigger Glue …

Is there a way to use SQS and SNS to trigger Glue function 2 from Glue function 1?

🟡 Medium Conceptual Junior level
1Times asked
May 2026Last seen
May 2026First seen

💡 Model Answer

Yes. You can set up an SNS topic that Glue job 1 publishes a message to when it completes. Subscribe an SQS queue to that SNS topic. Then configure Glue job 2 to have an SQS trigger pointing to that queue. When job 1 finishes, it publishes to SNS, SNS pushes to SQS, and the SQS trigger automatically starts job 2. This decouples the jobs, allows retries, and provides visibility in CloudWatch. Alternatively, you can use EventBridge rules to route the Glue job completion event directly to another Glue job, but the SNS+SQS pattern is common for decoupling and buffering.

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.

Get Assisting AI — Starts at ₹500