Configuring and Operating a Hybrid Cloud with Microsoft Azure Stack Hub - Exam AZ-600

Removing Syslog Forwarding and Associated Certificate | Azure Stack Hub Integrated System

Question

There is a syslog forwarding configured Azure Stack Hub integrated system.Your manager has assigned you a task to stop and remove the Syslog forwarding as well as the associated certificate.

For this purpose, you have connected to the privileged Endpoint (PEP) and run Set-SyslogServer -Remove cmdlet.

Which of the following is the right step to perform next?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answer: C

The three steps that should be performed for the said purpose are: Connect to the privileged Endpoint (PEP)

Run Set-SyslogServer -Remove cmdlet.

Run Set-SyslogClient -RemoveCertificate.

Here, Set-SyslogServer -Remove will remove the syslog server configuration from the client and Set-SyslogClient -RemoveCertificate will remove the client certificate from the client.

Option A is incorrect.

Exporting the client certificate is not a step to be performed to stop and remove the Syslog forwarding as well as the associated certificate.

Option B is incorrect.

Running Set-SysLogClientCertificate-Remove is not the right command.

Option C is correct.

The next step needed to perform is Running Set-SyslogClient -RemoveCertificate.

Option D is incorrect.

Connect to the user portal is not a step to be performed to stop and remove the Syslog forwarding as well as the associated certificate.

Option E is incorrect.

The next step needed to perform is Running Set-SyslogClient -RemoveCertificate.

To know more about Syslog forwarding, please visit the below-given link:

The correct next step after running the Set-SyslogServer -Remove cmdlet to stop and remove syslog forwarding and associated certificate in Azure Stack Hub integrated system depends on the specific requirement of the task assigned.

If the task requires exporting the client certificate for future use, then the correct step would be to select option A, i.e., "Exporting the client certificate."

If the task requires removing the client certificate as well, then the correct step would be to select option B or C. Both the cmdlets Set-SysLogClientCertificate-Remove and Set-SyslogClient -RemoveCertificate can be used to remove the client certificate. However, the specific cmdlet to be used depends on the version of Azure Stack Hub.

If the Azure Stack Hub version is 1808 or earlier, the Set-SysLogClientCertificate-Remove cmdlet needs to be used. On the other hand, if the Azure Stack Hub version is 1811 or later, the Set-SyslogClient -RemoveCertificate cmdlet needs to be used.

Option D, i.e., "Connect to the user portal," is not a correct step to perform after running the Set-SyslogServer -Remove cmdlet as it is not related to the task assigned.

Hence, the correct answer depends on the specific requirements of the task assigned, and options A, B, or C could be the correct step to perform.