Exam set
Mock 3
33 questions. Every answer comes with an explanation and a breakdown of why the other options are wrong.
GenAI & agents
project = AIProjectClient(endpoint=PROJECT_ENDPOINT)
openai = project.get_openai_client()
r = openai.responses.create(model=DEPLOYMENT, input="hello")
print(r.output_text)
A developer writes the code shown but the call fails before any model is invoked. What is wrong?