OpenAI Agents SDK 45 MCQs Nida Rizwan
OpenAI Agents SDK 45 MCQs Nida Rizwan
Answer: b
2. Which programming language is primarily used with the OpenAI Agents SDK?
a) Java
b) Python
c) C++
d) JavaScript
Answer: b
Answer: b
4. Which API does the OpenAI Agents SDK primarily integrate with?
b) Responses API
c) Assistants API
d) Embeddings API
Page 1
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
Answer: b
6. Which of the following is a built-in tool supported by the OpenAI Agents SDK?
Answer: b
7. What is a key prerequisite for using the OpenAI Agents SDK effectively?
Answer: b
Page 2
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
Answer: b
10. Which model powers the web search capabilities in the Responses API used with the Agents
SDK?
a) GPT-3.5
b) GPT-4o search
c) DALL-E
d) CLIP
Answer: b
11. What is a limitation of the Computer-Using Agent (CUA) model in the Agents SDK?
Answer: b
Page 3
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
d) As database queries
Answer: b
13. What is the benefit of using Pydantic with the OpenAI Agents SDK?
Answer: b
14. Which of the following is NOT a type of tool supported by the Agents SDK?
a) Hosted tools
b) Function tools
c) Agents as tools
d) Blockchain tools
Answer: d
15. What happens to the Assistants API in relation to the Agents SDK?
Answer: b
16. What is the role of the Response object in the OpenAI Agents SDK?
Page 4
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
17. Which Python library is commonly used with the Agents SDK for asynchronous programming?
a) NumPy
b) asyncio
c) Pandas
d) Requests
Answer: b
18. How does the Agents SDK handle errors during task execution?
Answer: b
19. What is the purpose of the Tool class in the Agents SDK?
d) To encrypt data
Answer: a
Page 5
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
20. Which feature of the Agents SDK enables agents to maintain context across multiple tasks?
a) Task queueing
b) Context sharing
c) API caching
d) Data encryption
Answer: b
21. What is a key benefit of using the Responses API with the Agents SDK?
Answer: b
22. How can developers extend the functionality of the Agents SDK?
Answer: b
23. What is the significance of the async/await syntax in the Agents SDK?
Page 6
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
24. Which of the following is a valid use case for the Agents SDK?
Answer: b
Answer: b
26. Which component of the Agents SDK is responsible for orchestrating multi-agent workflows?
a) Orchestrator
b) Task Manager
c) Agent Coordinator
d) Workflow Engine
Answer: a
27. How does the Agents SDK handle external API calls?
Page 7
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
Answer: a
29. Which tool in the Agents SDK allows agents to search internal documents?
Answer: b
30. What is a key advantage of using Pydantic models in the Agents SDK?
Answer: b
31. How does the Agents SDK support iterative task execution?
Page 8
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
Answer: b
a) Web search
b) File search
c) Image generation
Answer: c
34. How can developers debug agent workflows in the Agents SDK?
c) By disabling guardrails
Answer: b
a) To encrypt data
Page 9
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
36. Which model is used for lightweight tasks in the Responses API?
a) GPT-4o
c) DALL-E 3
d) Whisper
Answer: b
37. What is a key challenge when using the Computer-Using Agent (CUA)?
Answer: b
Answer: b
Page 10
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
Answer: b
41. How does the SDK handle JSON schema generation for tools?
a) Manually by developers
Answer: b
42. What is a key consideration when designing multi-agent systems with the SDK?
Answer: b
Page 11
OpenAI Agents SDK MCQs
Prepared by: Nida Rizwan
Answer: b
44. What is the sunset date for the Assistants API, as relevant to the Agents SDK?
a) 2024
b) 2025
c) 2026
d) 2027
Answer: c
45. How can developers test agent performance in the Agents SDK?
Answer: b
Page 12