Free Databricks-Generative-AI-Engineer-Associate Actual Exam Questions - Question 8 Discussion

Question No. 8
A Generative Al Engineer would like an LLM to generate formatted JSON from emails. This will
require parsing and extracting the following information: order ID, date, and sender email. Here’s a
sample email:
Generative AI Engineer Associate practice exam questions
They will need to write a prompt that will extract the relevant information in JSON format with the
highest level of output accuracy.
Which prompt will do that?
Select one option, then reveal solution.
US
DH
Daniel H.
2026-02-16

It’s B, the example JSON really helps the model understand the output structure clearly, which should boost accuracy compared to just saying "return in JSON."

0
FJ
Farhan J.
2026-02-14

This is not C, since human-readable doesn't guarantee JSON output.

0
YO
Yasir O.
2026-02-14

Option A is too vague without an example; B’s sample JSON helps the model format better.

0
YO
Yasir O.
2026-02-12

It’s A, adding all required fields by name helps focus extraction without extra example noise.

0
YO
Yasir O.
2026-01-30

B, the example JSON sets a clear format which should boost accuracy.

0
SO
Shoaib O.
2026-01-29

It’s B, the example JSON really helps the model nail the format exactly.

0
SO
Shoaib O.
2026-01-27

B imo, the example JSON helps guide the model’s output format clearly.

0
BR
Bilal R.
2026-01-23

Option A is clearer with all fields named explicitly and directs JSON format, which might improve accuracy.

0
AB
Arjun B.
2026-01-18

Probably D. It’s clear and concise about the requirements without adding an example that might limit the model’s flexibility. Including a sample like in B could make the model fixate on that exact format or values, which isn’t ideal if emails vary. A feels redundant with repeated info, and C doesn’t specify JSON output, which is needed here. D strikes the right balance for accuracy and adaptability.

0
AB
Arjun B.
2026-01-15

B

0