You are correct!
From our dictionary:
Yesterday's Word Quiz
Tomorrow's Word Quiz
de•us ex ma•chi•na
(dA'us eks mä'ku•nu, dE'us eks mak'u•nu),
1. (in ancient Greek and Roman drama) a god introduced into a play to resolve the entanglements of the plot.
2. any artificial or improbable device resolving the difficulties of a plot.
Fact Monster Word Quiz for Kids