exam questions

Exam DP-900 All Questions

View all questions & answers for the DP-900 exam

Exam DP-900 topic 1 question 71 discussion

Actual exam question from Microsoft's DP-900
Question #: 71
Topic #: 1
[All DP-900 Questions]

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

  • A. sqlcmd
  • B. bcp
  • C. azdata
  • D. Azure CLI
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sc2
Highly Voted 4 years, 1 month ago
I think 90% the answer is A https://docs.microsoft.com/en-us/sql/ssms/scripting/sqlcmd-use-the-utility?view=sql-server-ver15 Az cli is perfect to create and manage the DB but to query sqlcmd is the tool
upvoted 113 times
Haidardba
3 years, 11 months ago
Yes, Use the [sqlcmd][sqlcmd] command-line utility to connect to and query a SQL pool. https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-get-started-connect-sqlcmd
upvoted 7 times
...
sreekarv
3 years, 11 months ago
100% the answer is A
upvoted 33 times
...
...
ExamPwnr
Highly Voted 4 years, 1 month ago
Correct answer: A Azure CLI page: https://docs.microsoft.com/en-us/azure/azure-sql/database/az-cli-script-samples-content-guide?tabs=single-database "You can configure Azure SQL Database and SQL Managed Instance by using the Azure CLI." You cannot execute queries though. sqlcmd: https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver15 It is clearly mentioned that Azure SQL is supported, and Query examples are provided in the link above.
upvoted 35 times
...
AGTraining
Most Recent 7 months, 4 weeks ago
option A
upvoted 1 times
...
indiaraj460
10 months, 2 weeks ago
F offf
upvoted 1 times
...
akhil5432
1 year, 2 months ago
Selected Answer: A
option A sqlcmd
upvoted 1 times
...
chiiiweiii
1 year, 7 months ago
Selected Answer: A
Correct Answer
upvoted 4 times
...
iesRuben
1 year, 11 months ago
Selected Answer: A
sqlcmd is correct
upvoted 5 times
...
AlbertKwan
1 year, 11 months ago
Selected Answer: A
A is good. The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files through a variety of available modes: At the command prompt. In Query Editor in SQLCMD mode. In a Windows script file. In an operating system (Cmd.exe) job step of a SQL Server Agent job.
upvoted 2 times
...
Vergee
2 years, 4 months ago
sqlcmd is the correct answer!
upvoted 3 times
...
simplex06
2 years, 4 months ago
"Azure Data CLI (azdata) is a command-line utility written in Python to bootstrap and manage the data services via REST APIs." Reference: https://docs.microsoft.com/en-us/sql/azdata/install/deploy-install-azdata?view=sql-server-ver16
upvoted 1 times
...
bfan95
2 years, 6 months ago
Selected Answer: A
sqlcmd
upvoted 2 times
...
willyto
2 years, 10 months ago
Selected Answer: A
https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-get-started-connect-sqlcmd
upvoted 2 times
...
mudassirsmk27
2 years, 10 months ago
A is the answer
upvoted 2 times
...
Haidardba
2 years, 11 months ago
Selected Answer: A
The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files through a variety of available modes: At the command prompt. In Query Editor in SQLCMD mode. In a Windows script file. In an operating system (Cmd.exe) job step of a SQL Server Agent job. https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver15
upvoted 2 times
...
Haidardba
2 years, 11 months ago
The Correct Answer is A.
upvoted 1 times
...
cadio30
3 years, 1 month ago
A is the correct answer as it is use to "query" and not to perform administrative or provisioning of the service
upvoted 3 times
...
Feliasg9
3 years, 1 month ago
It's to QUERY, not DEPLOY, Answer is correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago