nerdexam
Microsoft

AZ-400 · Question #426

Drag and Drop Question You have an Azure Repos Git repository named repo1. You need to ensure that you can authenticate to repo1 by using SSH. Which four actions should you perform in sequence? To ans

The correct answer is Create SSH keys by using ssh-keygen.; Sign in to Azure DevOps.; Add the SSH public key.; Clone repo1.. To authenticate to Azure Repos via SSH, you must first generate an SSH key pair locally using ssh-keygen (which creates both a public and private key). Then you sign in to Azure DevOps and add the SSH public key to your profile/security settings, which allows Azure DevOps to veri

Submitted by viktor_hu· Mar 6, 2026Configure secure access to source control repositories using SSH key-based authentication in Azure DevOps

Question

Drag and Drop Question You have an Azure Repos Git repository named repo1. You need to ensure that you can authenticate to repo1 by using SSH. Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select. Answer:

Exhibit

AZ-400 question #426 exhibit

Answer Area

Drag items

Sign in to Azure DevOps.Add the SSH public key.Clone repo1.Save the SSH key to the root of repo1.Add the SSH private key.Create SSH keys by using ssh-keygen.

Correct arrangement

  • Create SSH keys by using ssh-keygen.
  • Sign in to Azure DevOps.
  • Add the SSH public key.
  • Clone repo1.

Explanation

To authenticate to Azure Repos via SSH, you must first generate an SSH key pair locally using ssh-keygen (which creates both a public and private key). Then you sign in to Azure DevOps and add the SSH public key to your profile/security settings, which allows Azure DevOps to verify your identity. Finally, you clone the repository using the SSH URL, which uses the locally stored private key to authenticate against the registered public key.

Topics

#Azure Repos#SSH Authentication#Git#Azure DevOps Security

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice