exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 2 discussion

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

SIMULATION -
You plan to deploy a template named D:\Deploy.json to a resource group named Deploy-lod123456789.
You need to modify the template to meet the following requirements, and then to deploy the template:
✑ The address space must be reduced to support only 256 total IP addresses.
✑ The subnet address space must be reduced to support only 64 total IP addresses.
To complete this task, sign in to the Microsoft Azure portal.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
1. Sign in to the portal.
2. Choose template Deploy-lod123456789
3. Select Edit template, and then paste your JSON template code into the code window.
4. Change the ASddressPrefixes to 10.0.0.0/24 in order to support only 256 total IP addresses. addressSpace":{"addressPrefixes": ["10.0.0.0/24"]},
5. Change the firstSubnet addressprefix to 10.0.0.0/26 to support only 64 total IP addresses.
"subnets":[
{
"name":"firstSubnet",
"properties":{
"addressPrefix":"10.0.0.0/24"
}
6. Select Save.

7. Select Edit parameters, provide values for the parameters that are shown, and then select OK.
8. Select Subscription. Choose the subscription you want to use, and then select OK.
9. Select Resource group. Choose an existing resource group or create a new one, and then select OK.

10. Select Create. A new tile on the dashboard tracks the progress of your template deployment.
Reference:
https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-deploy-template-portal?view=azs-1908 https://docs.microsoft.com/en-us/azure/architecture/building-blocks/extending-templates/update-resource

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
Optimist_Indian
Highly Voted 2 years, 2 months ago
No simulations in Feb-2022 exam.
upvoted 13 times
...
rdemontis
Highly Voted 2 years, 1 month ago
the answer is correct. VNet address space 10.0.0.0/24 --> 256 addresses Subnet address space 10.0.0.0/26 --> 64 addresses
upvoted 5 times
...
durel
Most Recent 2 years, 2 months ago
do they provide the templete?
upvoted 1 times
jvyas
1 year, 11 months ago
They must, how can you change if they dont. You can practise in portal by choosing common template for linux vm. Just go to edit template and change the address spaces for vnet and subnet.
upvoted 2 times
...
...
saschgo
2 years, 10 months ago
The referenced link is not available anymore: https://docs.microsoft.com/en-us/azure/architecture/building-blocks/extending-templates/update-resource
upvoted 1 times
ggzzzzzzz
9 months, 2 weeks ago
https://learn.microsoft.com/en-us/azure/architecture/guide/azure-resource-manager/advanced-templates/update-resource
upvoted 1 times
...
...
saschgo
2 years, 10 months ago
There is a mismatch between the textual and programmatic representation of the correct answers. The ARM template code defining the subnet address space should be fixed to "10.0.0.0/26". 4. Change the ASddressPrefixes to 10.0.0.0/24 in order to support only 256 total IP addresses. addressSpace": {"addressPrefixes": ["10.0.0.0/24"]}, 5. Change the firstSubnet addressprefix to 10.0.0.0/26 to support only 64 total IP addresses. "subnets":[ { "name":"firstSubnet", "properties":{ "addressPrefix":"10.0.0.0/26" }
upvoted 4 times
...
RAY2021
2 years, 11 months ago
Subnet space wrong in the provided ans. "subnets":[ { "name":"firstSubnet", "properties":{ "addressPrefix":"10.0.0.0/26" }
upvoted 1 times
...
roydeen
3 years, 5 months ago
provided answer is correct
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