UiPath AI Specialist v1 — Question 73

What are the requirements that must be fulfilled by a package containing only the serving component?

Answer options

Correct answer: D

Explanation

The correct answer is D because it includes both the __init__ and predict functions along with the requirements.txt file, which are essential for a serving component. Option A is incorrect as it includes a train function, which is not required for serving. Option B lacks the requirements.txt file, and Option C includes an evaluate function, which is also unnecessary for the serving component.