← AI-901

Exam set

Mock 2

34 questions. Every answer comes with an explanation and a breakdown of why the other options are wrong.

1 / 34
GenAI & agents

openai = project.get_openai_client(agent_name="Geo")

conversation = openai.conversations.create()

r1 = openai.responses.create(input="How big is France?")

r2 = openai.responses.create(input="And its capital?")

Review the code. The second question returns an answer that does not relate to the first. What is missing?