Skip to content

Session 4: CrewAI Team Orchestration - Test Solutions

📝 Multiple Choice Test

Question 1

What is CrewAI's primary strength compared to other agent frameworks?

A) Lowest resource usage
B) Easiest deployment
C) Fastest execution speed
D) Team-based collaboration with role specialization ✅
Correct Answer: D) Team-based collaboration with role specialization

Explanation: CrewAI's primary advantage is its team-based approach that mirrors human organizational structures with specialized roles and collaborative workflows.

Question 2

In CrewAI, what defines an agent's behavior and capabilities?

A) Role, goal, and backstory ✅
B) Tools only
C) Memory capacity
D) Processing speed
Correct Answer: A) Role, goal, and backstory

Explanation: CrewAI agents are defined by their role (what they do), goal (what they aim to achieve), and backstory (context and personality).

Question 3

What is the purpose of the expected_output parameter in CrewAI tasks?

A) To handle errors
B) To validate agent responses
C) To guide task execution and set clear expectations ✅
D) To measure performance
Correct Answer: C) To guide task execution and set clear expectations

Explanation: The expected_output parameter provides clear guidance to agents about what kind of output is needed, improving task execution quality.

Question 4

Which CrewAI process type offers the most control over task execution order?

A) Random
B) Hierarchical ✅
C) Sequential
D) Parallel
Correct Answer: B) Hierarchical

Explanation: Hierarchical process gives a manager agent full control over task delegation and execution order based on dynamic decision making.

Question 5

What makes CrewAI Flows different from regular CrewAI execution?

A) They provide structured workflow control with conditional logic ✅
B) They run faster
C) They require fewer resources
D) They use different agents
Correct Answer: A) They provide structured workflow control with conditional logic

Explanation: CrewAI Flows add structured workflow control with conditional logic, loops, and complex branching to regular crew execution.

Question 6

In hierarchical process, what role does the manager agent play?

A) Stores team memory
B) Executes all tasks
C) Handles user interface
D) Delegates tasks and coordinates team activities ✅
Correct Answer: D) Delegates tasks and coordinates team activities

Explanation: The manager agent orchestrates the team by deciding which agents should execute which tasks and coordinating their activities.

Question 7

What is the main advantage of using custom tools in CrewAI?

A) Lower costs
B) Simpler implementation
C) Better performance
D) Extending agent capabilities for specific business needs ✅
Correct Answer: D) Extending agent capabilities for specific business needs

Explanation: Custom tools allow agents to perform specific business operations beyond the built-in capabilities, making them more useful for real-world applications.

Question 8

How does CrewAI handle memory sharing between agents?

A) Global variables
B) Database storage
C) Shared crew memory and individual agent memories ✅
D) File-based sharing
Correct Answer: C) Shared crew memory and individual agent memories

Explanation: CrewAI provides both shared crew-level memory for team coordination and individual agent memories for personal context.

Question 9

What is the purpose of the backstory in a CrewAI agent?

A) Providing context and personality for better role performance ✅
B) Error handling
C) Performance tracking
D) Task scheduling
Correct Answer: A) Providing context and personality for better role performance

Explanation: The backstory gives agents context and personality, helping them understand their role better and perform more naturally.

Question 10

Which feature makes CrewAI particularly suitable for business workflows?

A) Programming language flexibility
B) Technical complexity
C) Role-based specialization mimicking human team structures ✅
D) Cloud integration
Correct Answer: C) Role-based specialization mimicking human team structures

Explanation: CrewAI's role-based approach mirrors how human teams work, making it naturally suitable for business workflows and organizational structures.


Answer Summary

  1. B 2. B 3. B 4. B 5. B 6. B 7. B 8. B 9. B 10. B

← Back to Session 4 | Next: Session 5 →