makeporngreatagain.pro
yeahporn.top
hd xxx

Practice Test 2 | Designing And Implementing Microsoft DevOps Solutions | AZ-400 | Dumps | Mock Test

4,637

You need to design an authentication strategy for one of your applications which would interact with Azure DevOps service hosted in the cloud.

 

You decided to use SSH key authentication to connect securely. You cloned the Git repository using the clone URL ‘git@ssh.dev.azure.com:v4/testCompany/testComProject’. You want to use the keys ssh/id_testCom_rsa and ssh/id_testCom_rsa.pub that are placed in a folder named ‘testcomp’ in a windows machine. Choose an option from below which is not a mandatory step to use the keys?

A. Run the command ssh-keygen -l -E md5 -f ~/.ssh/ id_testCom_rsa.pub
B. Run the command ssh-add /testcomp/.ssh/id_testCom_rsa
C. Run the command start-ssh-agent.cmd
D. Restrict the permissions of the folder ‘testcomp’ in a way that only you read or edit

Answer: A

  • Option A is correct. The command ssh-keygen is used for the purpose of verifying the fingerprint of the public key with the one displayed in the profile. Given command compares the MD5 signature to the one in the user’s profile. This is useful if you have connection problems or have concerns about pasting incorrectly in the public key into the Key Data field when adding the key to Azure DevOps Services. This is not required to add your keys to SSH.
  • Option B is incorrect. SSH should be notified of the location of the keys. The ssh-add command makes SSH aware of the keys by providing the full path to the private key, which is ‘/testcomp/.ssh/id_testCom_rsa’. So, this step is required to use the keys for SSH authentication.
  • Option C is incorrect. The ssh-agent should be up and running to add the key to SSH. The start-ssh-agent.cmd helps to start up the ssh-agent process. This is a prerequisite for running the command ssh-add which is in option B on windows.
  • Option D is incorrect. This is another prerequisite for running the ssh-add command. The public and private keys must be in a folder that only you can read or edit. If other users have permissions in the folder, SSH will not use the keys.
  • Reference Link: For more information on authenticating Azure DevOps using SSH Keys, please refer to the below link from Microsoft- https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.