AZ-104 exam dumps

AZ-104 practice question 133 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 133

Select 4

You are an Azure Administrator for Contoso. You need to create a new Linux virtual machine (VM) in the East US region using the Azure portal. The VM must allow inbound SSH (port 22) and HTTP (port 80) traffic, use an SSH public key for authentication, and store its OS disk on Premium SSD. Which actions should you take after selecting 'Create a resource' in the Azure portal? (Choose all that apply.)

  1. A

    In the 'Basics' tab, set the Region to East US and choose an Ubuntu Server image from the marketplace

  2. B

    In the 'Basics' tab, select Premium SSD as the OS disk type

  3. C

    In the 'Networking' tab, select 'None' under 'NIC network security group'

  4. D

    In the 'Authentication type' section, choose 'SSH public key' and provide your public key

  5. E

    In the 'Networking' tab, specify inbound ports for SSH (22) and HTTP (80)

Show answer and explanation

Correct answers: A, B, D, E

Explanation

To create the required VM, you must select the correct region and Linux image, enable Premium SSD for the OS disk, configure SSH public key authentication, and allow inbound traffic on ports 22 and 80 using a network security group. Not configuring an NSG (i.e., selecting 'None') would prevent inbound connections or require subsequent manual steps.

  • A. Correct.

    Correct. You must choose the appropriate region (East US) and an Ubuntu Server image from the marketplace to meet the Linux VM requirement.

  • B. Correct.

    Correct. Premium SSD is required to store the OS disk according to the scenario's performance requirement.

  • C. Incorrect.

    Incorrect. Selecting 'None' leaves the VM without a network security group, which would block inbound traffic or require additional manual configuration elsewhere.

  • D. Correct.

    Correct. The scenario specifies SSH public key authentication, so you must choose 'SSH public key' and supply the key in the Basics tab.

  • E. Correct.

    Correct. You need to open ports 22 (SSH) and 80 (HTTP) so that the VM can allow inbound connections on those protocols.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam