exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 4 question 35 discussion

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

SIMULATION -
Please wait while the virtual machine loads. Once loaded, you may proceed to the lab section. This may take a few minutes, and the wait time will not be deducted from your overall test time.
When the Next button is available, click it to access the lab section. In this section, you will perform a set of tasks in a live environment. While most functionality will be available to you as it would be in a live environment, some functionality (e.g, copy and paste, ability to navigate to external websites) will not be possible by design.
Scoring is based on the outcome of performing the tasks stated in the lab. In other words, it doesn't matter how you accomplish the task, if you successfully perform it, you will earn credit for that task.
Labs are not timed separately, and this exam may have more than one lab that you must complete. You can use as much time as you would like to complete each lab. But, you should manage your time appropriately to ensure that you are able to complete the lab(s) and all other sections of the exam in the time provided.
Please note that once you submit your work by clicking the Next button within a lab, you will NOT be able to return to the lab.
You may now click next to proceed to the lab.
Use the following login credentials as needed:

Azure Username: XXXXXXX -

Azure Password: XXXXXXX -
The following information is for technical support purposes only:

Lab Instance: 9172796 -

You plan to configure VM1 to be accessible from the Internet.
You need to add a public IP address to the network interface used by VM1.
What should you do from the Azure portal?

Show Suggested Answer Hide Answer
Suggested Answer: See solution below.
You can add private and public IP addresses to an Azure network interface by completing the steps that follow.
Step 1: In Azure portal, click More services > type virtual machines in the filter box, and then click Virtual machines.
Step 2: In the Virtual machines pane, click the VM you want to add IP addresses to. Click Network interfaces in the virtual machine pane that appears, and then select the network interface you want to add the IP addresses to. In the example shown in the following picture, the NIC named myNIC from the VM named myVM is selected:

Step 3: In the pane that appears for the NIC you selected, click IP configurations.
Step 4: Click Create public IP address.

Step 5: In the Create public IP address pane that appears, enter a Name, select an IP address assignment type, a Subscription, a Resource group, and a
Location, then click Create, as shown in the following picture:
References:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-multiple-ip-addresses-portal

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
macco455
Highly Voted 4 years, 12 months ago
The answer is right that we need to add the Public IP address, but the screenshots re old and there is not add public IP address option You need to go into the NIC, click IP configurations and click ADD then on the next screen click associate public IP address which you can then create new or associate one you already have create. Also need to update the NSG to allow port 80 communication in as default nsg rule is in place thus blocking port 80, if I am not mistaken this is how it should be done.
upvoted 6 times
praveen97
4 years, 11 months ago
We need to either create/associate the existing Public IP in NIC -> IP Configurations. Also, to allow the traffic from Internet, create the NSG Inbound rule to allow traffic from Port 80.
upvoted 1 times
...
...
Shades
Most Recent 4 years, 11 months ago
Why did he select static ip
upvoted 1 times
Shades
4 years, 11 months ago
I think he is right in selecting static IP. If we stop the VM , it may de-allocate the Public IP. But that should be true for both static and dynamic..so I checked it for Dynamic IP first. I stopped the server & started it. It definitely changed the IP. Next I made the IP static. & rebooted the VM. The IP remained the same though I got a warning that IP may change. I think if a user connects from Internet , he will use IP ..so that has to remain the same.
upvoted 2 times
...
...
Explen
5 years ago
We need NSG on the NIC to allow RDP TCP port
upvoted 2 times
Explen
5 years ago
Port 3389
upvoted 1 times
...
widurr
4 years, 11 months ago
NSG not needed. Task says that it is planned to configure it to be available from the Internet, but that is not your current task. Besides, it does not say how it should be available - it may be HTTP(S), RDP, SSH, etc. Task is only to add Public IP. My concern is that resolution shows Static IP. I don't think static is needed, dynamic will do just fine, since there are no additional requirements given - it will still be accessible.
upvoted 3 times
...
...
nfett
5 years ago
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 ...