Designing and Implementing a Data Science Solution on Azure — Question 23

You create a multi-class image classification deep learning model.
You train the model by using PyTorch version 1.2.
You need to ensure that the correct version of PyTorch can be identified for the inferencing environment when the model is deployed.
What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because registering the model with the model_framework and model_framework_version properties ensures that the specific version of PyTorch used during training is identified in the deployment environment. Options A and B do not provide a method for associating the correct PyTorch version with the model, while option C only includes the file extension without specifying the framework version.