Send Logs Now with the Administrator Portal | AZ-600 Exam Preparation

Send Logs Now with the Administrator Portal

Question

You have an Azure Stack Hub Integrated System.

You are disconnected from the internet and decide to only save logs locally.Which of the following method would you use to send logs using Send logs now with the Administrator portal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: A

To know more about the diagnostic log collection in Azure Stack Hub, please visit the below-given link:

The correct answer for this question is C. Send-AzureStackDiagnosticLog.

Explanation: Azure Stack Hub Integrated System is a hybrid cloud platform that allows you to deploy Azure services on-premises. When you are disconnected from the internet, you may still need to collect logs to troubleshoot issues or monitor the health of the system. Azure Stack Hub provides a diagnostic log collection tool that enables you to collect and send logs to Microsoft support.

The Send-AzureStackDiagnosticLog cmdlet is used to send diagnostic logs to Microsoft support. This cmdlet compresses the log files and sends them to Microsoft over HTTPS. You can use the Administrator portal to run this cmdlet and send logs to Microsoft support.

The other cmdlets listed in the answers are not used for sending logs to Microsoft support.

  • Get-AzureStackLog: This cmdlet is used to retrieve log files from Azure Stack Hub. It does not send logs to Microsoft support.
  • Set-AzureStackLog: This cmdlet is used to configure log settings in Azure Stack Hub. It does not send logs to Microsoft support.
  • Get-SupportSessionToken: This cmdlet is used to generate a support session token that allows Microsoft support to access your Azure Stack Hub environment. It does not send logs to Microsoft support.

Therefore, the correct answer is C. Send-AzureStackDiagnosticLog.