Test design and test implementation with GenAI · Question 33 of 60

An LLM generates only positive cases for a registration form. What is the most targeted way to improve the prompt?

1 answer is correct. Medium Created with AI

Show answer

Answer

  • B Explicitly ask for invalid inputs and error cases

Explanation

The model delivers what is asked for. If you need negative cases, write invalid inputs and error cases explicitly into the instruction.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications