PrepAway - Latest Free Exam Questions & Answers

Does the solution meet the goal?

Note: This question is part of a series of questions that present the same scenario. Each questions in the series
contains a unique solution that might meet the stated goals. Some questions sets might have more than one
correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will
not appear in the review scree.
You create an Ubuntu Linux virtual machine (VM) by using the Azure Portal. You do not specify a password
when you create the VM.You need to connect to the terminal of the VM.
Solution: You use the Connect button on the Overview blade for the VM.
Does the solution meet the goal?

PrepAway - Latest Free Exam Questions & Answers

A.
Yes

B.
No

Explanation:
https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-quick-create-portal?toc=%
2fazure%2fvirtual-machines%2flinux%2ftoc.json

10 Comments on “Does the solution meet the goal?

  1. Ricky says:

    I think the answer is yes

    https://docs.microsoft.com/en-au/azure/virtual-machines/linux/quick-create-portal

    Connect to virtual machine
    Create an SSH connection with the virtual machine.

    Click the Connect button on the virtual machine blade. The connect button displays an SSH connection string that can be used to connect to the virtual machine.

    Run the following command to create an SSH session. Replace the connection string with the one you copied from the Azure portal




    1



    0
  2. Rwing says:

    I think Yes.
    VMs created using SSH keys are by default configured with passwords disabled, to make brute-forced guessing attempts vastly more expensive and therefore difficult.
    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys

    To create an SSH connection with the virtual machin, click the Connect button on the virtual machine blade. The connect button displays an SSH connection string that can be used to connect to the virtual machine.
    https://docs.microsoft.com/en-au/azure/virtual-machines/linux/quick-create-portal




    0



    0
  3. John Smith says:

    Yes is the correct answer. After creating a Linux VM you click start then connect. A message comes up with … “To connect to your Linux virtual machine using SSH, use the following command: ssh username@ipaddress”




    0



    0
  4. Scott says:

    well the question isn’t very descriptive… if you didn’t setup a password then you setup a public/private key pair… if you click “Connect”, it tells you the command… it will work if you have your private key setup properly on your PC after running the command, but just clicking “Connect” won’t connect to the VM. I go with no.




    1



    0
  5. mickey says:

    I think “no”, because ‘connect’ doesn’t open a tty for you, right? question asked a terminal. but connect button gives you a hint how to connect, so it doesn’t meet the goal.




    0



    0
  6. Sepehr says:

    I agree. Definitely the answer is no. There are only two ways to connect to a Linux box: 1) Username and password, and 2) Username and key-pair. Hitting connect just gives a hint about opening an SSH session.




    2



    0

Leave a Reply