exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 1 question 16 discussion

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

HOTSPOT -
You have an Azure subscription named Subscription1.
You plan to deploy an Ubuntu Server virtual machine named VM1 to Subscription1.
You need to perform a custom deployment of the virtual machine. A specific trusted root certification authority (CA) must be added during the deployment.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Cloud-init.txt -
Cloud-init.txt is used to customize a Linux VM on first boot up. It can be used to install packages and write files, or to configure users and security. No additional steps or agents are required to apply your configuration.

Box 2: The az vm create command -
Once Cloud-init.txt has been created, you can deploy the VM with az vm create cmdlet, sing the --custom-data parameter to provide the full path to the cloud- init.txt file.
References:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment

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
certificatores
Highly Voted 5 years, 2 months ago
answer is correct https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment
upvoted 12 times
...
FrancisFerreira
Highly Voted 5 years, 2 months ago
I'm pretty sure you can do this via Azure Portal as well. See "Advanced" tab when deploying said VM. The option to input a cloud-init script is there.
upvoted 7 times
DA0410
4 years, 10 months ago
Command shell is taking Azure AWS GCP in AIX era. I have seen AIX expert struggling for backup for days , issue was backup destination was having less space than source. Having GUI would have helped him finish backup in 2 hours. Anyways, sharing worry. Command shell too require skills. But why advance functions are being made available in command shell and not in GUI ? My worry.
upvoted 4 times
...
...
Deyvessh
Most Recent 3 years, 11 months ago
First Configuration of Linux Machine to Install Several PackagesCloud-init.txt then - create az vm create
upvoted 2 times
...
nikhilmehra
4 years, 1 month ago
Answer is correct
upvoted 1 times
...
mikewallace8372
4 years, 4 months ago
correct answer - could also be done via portal
upvoted 1 times
...
aryise
4 years, 6 months ago
Correct Answer: Cloud-init.txt The az vm create command
upvoted 4 times
...
Thi
4 years, 7 months ago
given answer correct
upvoted 1 times
...
jujumalima
4 years, 8 months ago
came in exam
upvoted 1 times
...
jilguens
4 years, 9 months ago
Answer is correct
upvoted 2 times
...
[Removed]
4 years, 9 months ago
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment
upvoted 1 times
...
Shades
4 years, 10 months ago
I guess , because the requirement is to install a certificate during the deployment , we need to use the AZ VM Create Bash Script. I think we can pass on the custom data parameter in Bash Only..
upvoted 1 times
...
irvingsale2011
5 years ago
Wynter I guess It is asking for ubntu VM not windows VM so can not be the unattended.xml and azure portal
upvoted 1 times
WynterTsai
5 years ago
thank you. Make sense
upvoted 1 times
...
macco455
4 years, 11 months ago
unattended.xml can be used in linux now so this is probably an old question. BUt even though it can be used I still think cloud.init is the right answer for this
upvoted 1 times
...
...
WynterTsai
5 years ago
I saw another exam review document saying the right answer is unattend.xml and the azure portal... Is anybody know why unattended.xml and azure portal is not the answer? thx
upvoted 1 times
...
[Removed]
5 years ago
We can do it using portal but it is asking for custom deployment...and powershell command is not having this custom parameter hence using azure cli...
upvoted 1 times
...
noahorr
5 years, 1 month ago
Box 2 should be "the az vm create command", per ms doc article linked above by certificatores.
upvoted 1 times
macco455
5 years ago
yes, which is what the answer states, thus answer is correct. :-)
upvoted 2 times
...
...
sondrex
5 years, 1 month ago
correctly
upvoted 3 times
...
P0d
5 years, 2 months ago
Why we cannot create with Powershell?
upvoted 2 times
dhriti72
5 years ago
Cause cloud-init is used with Linux VMs and the only option in Linux VMs is Bash
upvoted 6 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 ...