nerdexam
Microsoft

AZ-500 · Question #105

You are troubleshooting a security issue for an Azure Storage account. You enable the diagnostic logs for the storage account. What should you use to retrieve the diagnostics logs?

The correct answer is D. AzCopy. AzCopy is the correct tool because it is a command-line utility specifically designed to copy data to and from Azure Storage, including retrieving diagnostic logs stored in blob containers within a storage account. When you enable diagnostic logging for Azure Storage, the logs…

Submitted by layla.eg· Mar 6, 2026Secure compute, storage, and databases

Question

You are troubleshooting a security issue for an Azure Storage account. You enable the diagnostic logs for the storage account. What should you use to retrieve the diagnostics logs?

Options

  • Athe Security & Compliance admin center
  • BSQL query editor in Azure
  • CFile Explorer in Windows
  • DAzCopy

How the community answered

(24 responses)
  • B
    4% (1)
  • C
    8% (2)
  • D
    88% (21)

Explanation

AzCopy is the correct tool because it is a command-line utility specifically designed to copy data to and from Azure Storage, including retrieving diagnostic logs stored in blob containers within a storage account. When you enable diagnostic logging for Azure Storage, the logs are written to the $logs blob container, and AzCopy is the appropriate tool to download or transfer those log files efficiently.

Why the distractors are wrong:

  • A (Security & Compliance admin center) is used for Microsoft 365 compliance and audit logs, not Azure Storage diagnostic logs.
  • B (SQL query editor in Azure) is used to query Azure SQL databases, not blob storage log files.
  • C (File Explorer in Windows) cannot natively connect to and retrieve Azure Storage diagnostic logs without additional configuration or tools.

Memory tip: Think of AzCopy as your "Azure clipboard" - any time you need to move or copy data into or out of Azure Storage (including logs), AzCopy is your go-to command-line tool. If the question involves transferring or retrieving files from Azure Storage, AzCopy is almost always the answer.

Topics

#Azure Storage#Diagnostic Logs#AzCopy#Log Retrieval

Community Discussion

No community discussion yet for this question.

Full AZ-500 Practice