exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 1 question 10 discussion

Actual exam question from Microsoft's AZ-303
Question #: 10
Topic #: 1
[All AZ-303 Questions]

HOTSPOT -
You have an Azure Resource Manager template for a virtual machine named Template1. Template1 has the following parameters section.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
The Resource group is not specified.

Box 2: No -
The default value for the operating system is Windows 2016 Datacenter.

Box 3: Yes -
Location is no default value.
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/virtual-machines/windows/ps-template

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
foxer
Highly Voted 3 years, 11 months ago
I have tested this by both using Azure Portal and Without portal. If you're not using Portal you will be prompted for Resource Group and for location only, so answers would be Yes No Yes If you're using portal you will be prompted for everything through a drop-down menu where you can select anything different from the default value, so answer would be YES YES YES. Pay attention to the answers of the question, there is 2 variations of this question, one stating using Azure Portal, one without Portal.
upvoted 28 times
J4U
3 years, 10 months ago
In Portal, I don't see the OS Version is prompted as it takes the default value.
upvoted 2 times
...
davignola
3 years, 8 months ago
I just tested this on the portal. Technically yes, default values are prompted, but... They are pre-filled and does not have a red asterisk beside them anymore. They become optional. So in my opinion the answer Y, N, Y still stands since you are not required to provide a value.
upvoted 5 times
azurelearner666
3 years, 5 months ago
nope, not correct. The question ssays "you are prompted" not if "you are required to enter". Foxer response is right.
upvoted 2 times
...
...
mpellizzon
3 years, 9 months ago
I totally agree with you. If you click in button Deploy to Azure (https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template), it will bring up a form where you will need to validate every variable. Then, for me, it should be Yes for All since we are running the template through the Azure Portal, not Powershell neither CLI
upvoted 2 times
...
...
sreejit4u2003
Highly Voted 4 years ago
Correct
upvoted 17 times
max_n
3 years, 8 months ago
tested: { "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "adminUsername": { "type": "string" }, "adminPassword": { "type": "secureString" }, "dnsLabelPrefix": { "type": "string" }, "windowsOSVersion": { "type": "string", "defaultValue": "2016-Datacenter", "allowedValues": [ "2016-Datacenter", "2019-Datacenter" ] }, "location": { "type": "String", "allowedValues": [ "eastus", "centralus", "westus" ] } }, "variables": {}, "resources": [ ] }
upvoted 2 times
...
...
rxlicon
Most Recent 1 year, 10 months ago
Prompted means you cannot proceed without entering the value so the correct answer is YNY. As the Windows OS Version is present in the template.
upvoted 1 times
...
pompes
3 years, 5 months ago
Prompted means you cannot proceed without entering the value so the correct answer is YNY. As the Windows OS Version is present in the template.
upvoted 3 times
...
tomatosis
3 years, 6 months ago
On exam 23 Dec 2021, I chose YNN
upvoted 1 times
JayBee65
3 years, 5 months ago
Who cares? Nobody on here.
upvoted 3 times
...
...
quantumray
3 years, 6 months ago
Question appeared On AZ-303 exam on 08/12/2021 - 49 questions, 4Q - Fabrikan case study
upvoted 1 times
...
plmmsg
3 years, 9 months ago
Yes No Yes
upvoted 5 times
...
syu31svc
3 years, 10 months ago
The Resource group is not specified in ARM template. So, you will be prompted for a resource group. The default value for the operating system is Windows 2016 Datacenter. So, you will not be prompted for a resource group. There is no default value for location in ARM template. So you will be prompted for a location. Yes No Yes is correct
upvoted 3 times
...
goTEXANS
3 years, 11 months ago
ANSWER CORRECT RG-YES / OS-NO / LOCATION-YES
upvoted 2 times
...
AnshumanSingh
3 years, 11 months ago
Correct .. Yes-No-Yes
upvoted 2 times
...
AravindITGuy
4 years ago
Took exam today passed this morning was on there 6/21/2021
upvoted 4 times
...
ConradGroot
4 years ago
You do specify a resource group in a Templet. JSON Copy { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "projectName": { "type": "string", "minLength": 3, "maxLength": 11, "metadata": { "description": "Specify a project name that is used to generate resource names." } }, "location": { "type": "string", "defaultValue": "[resourceGroup().location]", "metadata": { "description": "Specify a location for the resources." } }, "storageSKU": { "type": "string", "defaultValue": "Standard_LRS", "allowedValues": [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS", "Standard_RAGZRS"
upvoted 1 times
...
nfett
4 years ago
answer is correct.
upvoted 1 times
...
SnakePlissken
4 years ago
Incorrect! 1 - No. When you deploy an ARM template, you MUST provide a resource group (az deployment group create --resource-group RG-Name --template-file ARMT-Name) or set it in advance (az configure --defaults group=RG-Name). By the way, a resource group can NEVER be defined in an ARM template. 2 - No. The parameter windowsOSVersion has a default value. 3 - Yes. The parameter location doesn't have a default value.
upvoted 3 times
UnknownSecret
3 years, 11 months ago
No one asks if you can define RG in an ARM template. The question is...does the portal prompt you for the RG when you deploy the given template? Does it or does not?
upvoted 2 times
...
TheSpivack
4 years ago
1 is yes. The question is does the portal prompt you for the RG. It is not asking about using CLI
upvoted 5 times
...
SnakePlissken
4 years ago
Dear admin, please don't let comments disappear when updating. There was already a healthy discussion on this topic, where I stated this explanation.
upvoted 1 times
...
...
luccaol
4 years ago
No prompt when having default value
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 ...