nerdexam
MicrosoftMicrosoft

AZ-400 · Question #426

AZ-400 Question #426: Real Exam Question with Answer & 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 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:

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 PracticeBrowse All AZ-400 Questions