Microsoft Designing and Implementing a Data Science Solution on Azure DP-100 Question # 40 Topic 5 Discussion

Microsoft Designing and Implementing a Data Science Solution on Azure DP-100 Question # 40 Topic 5 Discussion

DP-100 Exam Topic 5 Question 40 Discussion:
Question #: 40
Topic #: 5

You have a Jupyter Notebook that contains Python code that is used to train a model.

You must create a Python script for the production deployment. The solution must minimize code maintenance.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.


A.

Refactor the Jupyter Notebook code into functions


B.

Save each function to a separate Python file


C.

Define a main() function in the Python script


D.

Remove all comments and functions from the Python script


Get Premium DP-100 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.