exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 54 discussion

Actual exam question from Microsoft's AZ-400
Question #: 54
Topic #: 7
[All AZ-400 Questions]

You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.
You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.
What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. vs2017-win2016
  • B. ubuntu-16.04
  • C. win1803
  • D. macOS-10.13
  • E. vs.2015-win2012r2
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
artisticcheese
Highly Voted 5 years, 4 months ago
Correct answer is A/C. You can not have Full .NET framework on Linux (only .NET core). No reason to have any further discussions. I bet my life on my answer.
upvoted 77 times
Mefguine
4 years, 12 months ago
On March 23, 2020, we'll be removing the following Azure Pipelines hosted images: Windows Server 2012R2 with Visual Studio 2015 (vs2015-win2012r2) macOS X High Sierra 10.13 (macOS-10.13) Windows Server Core 1803 - (win1803) Ref: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
upvoted 16 times
...
ttm_19
4 years, 11 months ago
It is not about running .net full framework on Linux, but just building the image.
upvoted 4 times
monniq
3 years, 11 months ago
Correct. https://medium.com/@hudsonmendes/build-net-4-5-on-linux-in-5-minutes-and-see-what-it-is-like-848ea45fc667
upvoted 1 times
...
djhyfdgjk
1 year, 3 months ago
And how will you build Windows image on Linux ??
upvoted 2 times
...
...
Miles19
4 years ago
You're not right. The correct answers are A and B. From March 2020, Win1803 is not supported anymore. Here is the link: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software
upvoted 35 times
MayurHG
3 years, 8 months ago
Agree with Miles19
upvoted 6 times
...
Kalaismile06
3 years, 11 months ago
I agree with Miles. Win 1803 is depreciated now. the correct answer is A & B.
upvoted 9 times
...
Swarnendu
1 year, 7 months ago
I am not sure how you are saying B. If anybody has ever worked with .Net full framework they will know its does not run or build in a linux machine. It needs windows and VS/MsBuild, so must be a windows server.
upvoted 3 times
...
...
...
renabre
Highly Voted 5 years, 6 months ago
So, the correct answer is A/B (vs2017 and Ubuntu).
upvoted 42 times
cucuff
4 years, 8 months ago
Correct, its A and B. Why? Because C D E images are decommised and no longer available. For those saying that Ubuntu cant Run .NET and only can run .NET, you are right, but this is abour Building the image, NOT running.
upvoted 11 times
cucuff
4 years, 8 months ago
The second time i said .NET i wanted to say .NET Core
upvoted 5 times
...
djhyfdgjk
1 year, 3 months ago
How will you build Windows image on Linux ??
upvoted 2 times
...
...
...
swk1az400
Most Recent 2 months, 4 weeks ago
Selected Answer: AC
Copilot: For building container images that host full Microsoft .NET Framework apps, ubuntu-16.04 is not a suitable choice. The .NET Framework is primarily supported on Windows-based environments. Therefore, using a Windows-based virtual machine image like vs2017-win2016 or win1803 is recommended12. If you have any more questions or need further assistance, feel free to ask!
upvoted 1 times
...
marmila
8 months, 1 week ago
Selected Answer: AC
Correct answers are A/C. ubuntu on a MS hosted agent just don't make any sense.
upvoted 1 times
a58817
4 months ago
The possible virtual machine images you can use for the Microsoft-hosted agent pool in this scenario are: A. vs2017-win2016: This image is based on Windows Server 2016 and includes Visual Studio 2017. It supports the full .NET Framework and is suitable for building Windows-based container images. C. win1803: This image is based on Windows Server, version 1803, which also supports Windows containers and the full .NET Framework. The other options, B (ubuntu-16.04), D (macOS-10.13), and E (vs2015-win2012r2), are either based on Linux or macOS, or they do not support the Windows container feature (Windows Server 2012 R2 does not support Windows containers), and therefore they are not suitable for building container images for full .NET Framework apps.
upvoted 1 times
...
...
usamnkkid
1 year, 7 months ago
This question is deprecated. Ref: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 1 times
...
usamnkkid
1 year, 7 months ago
This Question is deprecated Ref : https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 1 times
...
yana_b
1 year, 8 months ago
This question was posted on 31.10.2019. As of today the actual images are different - see the link. Even vs2017-win2016 is now deprecated. Most probably as of today the answer options are changed too. https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 2 times
gabo
1 year, 7 months ago
how do you know when the question was originally posted?
upvoted 1 times
...
nakedsun
1 year, 8 months ago
Yup, a current answer would be windows-2019 and windows-2022.
upvoted 1 times
...
...
kay000001
1 year, 11 months ago
This question is outdated. It is now: windows-2019 ubuntu-latest (ubuntu-22.04) https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 3 times
...
DGladiator
1 year, 11 months ago
The two correct virtual machine images for the Microsoft-hosted agent pool to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline are: A. vs2017-win2016 E. vs2015-win2012r2 Explanation: These two images are Windows-based and support .NET Framework development. Specifically, "vs2017-win2016" is a VM image running Windows Server 2016 with Visual Studio 2017 installed, and "vs2015-win2012r2" is a VM image running Windows Server 2012 R2 with Visual Studio 2015 installed. Both Visual Studio versions support .NET Framework development. The other options: B. ubuntu-16.04 - This is a Linux-based VM and does not natively support .NET Framework which is a Windows-only technology. C. win1803 - This VM image is deprecated and is no longer available in Azure DevOps. D. macOS-10.13 - This is a Mac-based VM and does not natively support .NET Framework which is a Windows-only technology.
upvoted 3 times
...
Phil_Spencer
2 years ago
I am gonna say this question is outdated and the correct answer used to be A & E. But this question is so old E got deprecated in the time this question is online.
upvoted 3 times
...
Fal991l
2 years ago
Selected Answer: AE
GPT: The two possible virtual machine images that can be used for the Microsoft-hosted agent pool to build container images that will host full Microsoft .NET Framework apps are: A. vs2017-win2016 E. vs.2015-win2012r2 Explanation: The vs2017-win2016 image provides Visual Studio 2017 on Windows Server 2016 with .NET Framework 4.7.2, .NET Core 2.1 and other tools required for .NET Framework app development. The vs.2015-win2012r2 image provides Visual Studio 2015 on Windows Server 2012 R2 with .NET Framework 4.6 and other tools required for .NET Framework app development.
upvoted 4 times
...
Hieronimusov
2 years, 2 months ago
Selected Answer: AB
AB. Windows thats is supported - A rest is obsolete Ubunt on which you can build image - B.
upvoted 3 times
...
smariussorin
2 years, 2 months ago
Selected Answer: AE
Since the question is old, A & E. The version of Windows must have VS installed on it.
upvoted 2 times
...
a1anu
2 years, 7 months ago
As of Sept 2022, the following Versions are supported: windows-2022 windows-2019 ubuntu-22.04 ubuntu-20.04 ubuntu-18.04 macOS-12 macOS-11 macOS-10.15 (Deprecated) I suppose this question shouldn't be coming in the exam now. Even if it comes, I hope they keep updating the Options for the answers. Source : https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 11 times
...
syu31svc
2 years, 8 months ago
Selected Answer: AB
Seems like an outdated question https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software You can see that the options are not listed in the URL as of Aug 2022 In any case, I would take A and B as the answers
upvoted 3 times
...
MohmmadFayez
2 years, 8 months ago
Hosted Agents: Only windows-2019 and ubuntu-* images support running containers. The macOS image does not support running containers. " https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops#hosted-agents
upvoted 1 times
...
Drummer
2 years, 9 months ago
Correct answer is A-E vs2017-win2016 vs.2015-win2012r2 Explanation https://github.com/microsoft/azure-pipelines-image-generation/blob/d80f81d6c98f8ce2c74b034309bb774ea8d31 https://github.com/actions/virtual-environments/blob/master/images/win/Windows2016-Readme.md
upvoted 3 times
warchoon
2 years, 5 months ago
Your explanations are outdated too :)
upvoted 1 times
...
warchoon
2 years, 5 months ago
2012 - no So 1803 and 2016. AC Were before
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago