AZ-103 Exam QuestionsBrowse all questions from this exam

AZ-103 Exam - Question 120


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 Answer
Correct 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

Discussion

4 comments
Sign in to comment
macco455
Jun 10, 2020

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.

praveen97
Jul 7, 2020

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.

Explen
Jun 8, 2020

We need NSG on the NIC to allow RDP TCP port

Explen
Jun 8, 2020

Port 3389

widurr
Jun 22, 2020

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.

nfett
Jun 3, 2020

answer is correct.

Shades
Jul 7, 2020

Why did he select static ip

Shades
Jul 7, 2020

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.