Microsoft Azure Data Fundamentals — Question 282

Which command-line tool can you use to query Azure SQL databases?

Answer options

Correct answer: A

Explanation

The correct answer is sqlcmd because it is specifically designed to interact with SQL Server and Azure SQL databases, allowing users to execute T-SQL commands. While bcp is used for bulk data export and import, azdata is for Azure data services, and Azure CLI is a broader command-line interface that does not specialize in SQL database queries.