exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 16 question 23 discussion

Actual exam question from Microsoft's AZ-300
Question #: 23
Topic #: 16
[All AZ-300 Questions]

You have an Azure SQL database named Db1 that runs on an Azure SQL server named SQLserver1.
You need to ensure that you can use the query editor on the Azure portal to query Db1.
What should you do?

  • A. Modify the Advanced Data Security settings of Db1
  • B. Configure the Firewalls and virtual networks settings for SQLserver1
  • C. Copy the ADO.NET connection string of Db1 and paste the string to the query editor
  • D. Approve private endpoint connections for SQLserver1
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-portal
Implement Authentication and Secure Data

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
ant2ant
Highly Voted 5 years, 1 month ago
It B... https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-portal Configure network settings: If you get one of the following errors in the query editor: Your local network settings might be preventing the Query Editor from issuing queries. Please click here for instructions on how to configure your network settings, or A connection to the server could not be established. This might indicate an issue with your local firewall configuration or your network proxy settings, the following important information should help resolve: The query editor uses ports 443 and 1443 to communicate. Ensure you have enabled outbound HTTPS traffic on these ports. You also need to add your outbound IP address to the server's allowed firewall rules to access your databases and data warehouses.
upvoted 14 times
...
[Removed]
Highly Voted 4 years, 12 months ago
When creating a new SQL Database resource (DBaaS) the default network settings won't allow any access. To allow access from your (client) IP follow this steps - Goto "Firewalls and virtual networks" - Click on "Add client IP" Thats it... you can now move to the database and login via the query editor
upvoted 7 times
...
SergiySlv
Most Recent 5 years, 1 month ago
A is correct as you are going to access only THIS db and you can't even open query editor
upvoted 1 times
...
P0d
5 years, 1 month ago
So, to be sure we need to check the query then if will get error we can configure the firewall. So why need to go to the firewall first, check it if the port is not blocking. I think to be in a short we can just run a small query to be sure.
upvoted 1 times
P0d
5 years, 1 month ago
So as it shows from the link provided we see that: Configure network settings If you get one of the following errors in the query editor: Your local network settings might be preventing the Query Editor from issuing queries. Please click here for instructions on how to configure your network settings, or A connection to the server could not be established. This might indicate an issue with your local firewall configuration or your network proxy settings, the following important information should help resolve. And this means we need to check the query first.
upvoted 1 times
...
...
n0t4u2c
5 years, 1 month ago
Technically B & D are correct. From the same article: "The query editor uses ports 443 and 1443 to communicate. Ensure you have enabled outbound HTTPS traffic on these ports. You also need to add your outbound IP address to the server's allowed firewall rules to access your databases and data warehouses." "If you have Private Link connection, The Query Editor works without needing to add the Client Ip address into the SQL Database firewall"
upvoted 1 times
...
vrana
5 years, 1 month ago
D should be correct answer.
upvoted 1 times
ipindado2020
4 years, 9 months ago
I think B is is strictly necessary and D is optional but recomended...
upvoted 1 times
...
...
AnujD
5 years, 1 month ago
Option B. The query editor uses ports 443 and 1443 to communicate. Ensure you have enabled outbound HTTPS traffic on these ports. You will also need to add your outbound IP address to the server's allowed firewall rules to access your databases and data warehouses.
upvoted 5 times
tartar
4 years, 9 months ago
B is ok
upvoted 2 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 ...