Developing Microsoft Azure and Web Services — Question 62

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have developed a .NET Standard Library.
You need to produce a NuGet package.
Solution: Run the dotnet pack command
Does the solution meet the goal?

Answer options

Correct answer: A

Explanation

The dotnet pack command is specifically designed to create a NuGet package from a project. Therefore, the solution is correct. The option 'No' is incorrect because it suggests that the command does not fulfill the requirement of producing a NuGet package.