exam questions

Exam Certified Generative AI Engineer Associate All Questions

View all questions & answers for the Certified Generative AI Engineer Associate exam

Exam Certified Generative AI Engineer Associate topic 1 question 18 discussion

Actual exam question from Databricks's Certified Generative AI Engineer Associate
Question #: 18
Topic #: 1
[All Certified Generative AI Engineer Associate Questions]

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:

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?

  • A. You will receive customer emails and need to extract date, sender email, and order ID. You should return the date, sender email, and order ID information in JSON format.
  • B. You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in JSON format.
    Here’s an example: {“date”: “April 16, 2024”, “sender_email”: “[email protected]”, “order_id”: “RE987D”}
  • C. You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in a human-readable format.
  • D. You will receive customer emails and need to extract date, sender email, and order IReturn the extracted information in JSON format.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DalyBread
4 days, 12 hours ago
Selected Answer: B
B because ot also includes a good example output
upvoted 1 times
...
Duke_CT
1 month, 2 weeks ago
Selected Answer: A
I would go with B. Anyone else?
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...