UiPath AI Specialist v1 — Question 70
Which validation checks are performed for ML packages uploaded with the Enable Training option inactive?
Answer options
- A. Existence of a non-empty root folder, requirements.txt file, and main.py file in the root folder which implements a class Main. The class is further validated to implement an __init__ and a predict function.
- B. Existence of a requirements.txt file, and main.py file which implements a class Main. The class is further validated to implement an __init__ and a predict function.
- C. Existence of a non-empty root folder, main.py file in the root folder which implements a class Main. The class is further validated to implement an __init__ and a predict function.
- D. Existence of a non-empty root folder, requirements.txt file, and train.py file in the root folder which implements a class Main. The class is further validated to implement an __init__ function.
Correct answer: A
Explanation
Option A is correct because it specifies all the necessary components, including a non-empty root folder, requirements.txt, and main.py, along with the specific class implementation needed. Options B, C, and D are incorrect because they either omit the requirements.txt file or do not include all required components, which are essential for validation.