Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-300 Exam - Topic 9 Question 104 Discussion

Actual exam question for Microsoft's DP-300 exam
Question #: 104
Topic #: 9
[All DP-300 Questions]

You create five Azure SQL Database instances on the same logical server.

In each database, you create a user for an Azure Active Directory (Azure AD) user named User1.

User1 attempts to connect to the logical server by using Azure Data Studio and receives a login error.

You need to ensure that when User1 connects to the logical server by using Azure Data Studio, User1 can see all the databases.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Brice
4 months ago
Wait, can User1 even see all databases without proper permissions?
upvoted 0 times
...
Karon
4 months ago
Definitely agree with Pa on this one!
upvoted 0 times
...
Tran
4 months ago
Isn't granting select on sys.databases a bit risky?
upvoted 0 times
...
Kasandra
4 months ago
I think assigning db_datareader in the master is the way to go!
upvoted 0 times
...
Pa
5 months ago
You need to create User1 in the master database.
upvoted 0 times
...
Asuncion
5 months ago
I’m leaning towards creating User1 in the master database, but I also recall that roles might be necessary for full access.
upvoted 0 times
...
Leatha
5 months ago
I practiced a similar question where we had to grant permissions, and I feel like granting select on sys.databases could be a solution, but it seems a bit risky.
upvoted 0 times
...
Lavera
5 months ago
I think assigning roles like db_datareader could help, but I’m not clear if it should be for the master database or the individual databases.
upvoted 0 times
...
Ashton
5 months ago
I remember something about needing to create users in the master database, but I'm not sure if that's the only step needed for visibility.
upvoted 0 times
...
Lennie
5 months ago
Interesting, I was thinking we'd need to grant select permissions on sys.databases to public in the master database. But your approach makes more sense to me.
upvoted 0 times
...
Mari
5 months ago
Okay, I've got it. We need to assign User1 the db_datareader role for the master database. That should allow them to see all the databases on the logical server.
upvoted 0 times
...
Teri
5 months ago
Hmm, I'm a bit confused. Do we need to create User1 in the master database, or just assign the right permissions? I'll have to think this through carefully.
upvoted 0 times
...
Sherly
6 months ago
This seems like a straightforward permissions issue. I think the key is to grant User1 the necessary access to see all the databases.
upvoted 0 times
...
Alesia
6 months ago
Redirecting standard error to standard output - that's the key here. I've got this.
upvoted 0 times
...
Apolonia
11 months ago
I'm just gonna go with option E: Summon the Azure database gods and hope they fix it for me. That's how it works, right?
upvoted 0 times
Kendra
10 months ago
That makes sense. I'll go with that option. Thanks!
upvoted 0 times
...
Franklyn
10 months ago
I think the correct option is to create User1 in the master database.
upvoted 0 times
...
Tamar
10 months ago
Option E is not a valid choice. You need to choose from the provided options.
upvoted 0 times
...
...
Johanna
11 months ago
Option B sounds good to me. I mean, who doesn't love a little data reading? It's like reading a really boring book, but with databases instead of words.
upvoted 0 times
Breana
9 months ago
User1: Thanks, I'll give that a try.
upvoted 0 times
...
Hyman
10 months ago
User3: That makes sense, User1 needs access to all the databases.
upvoted 0 times
...
Carin
10 months ago
User2: You should assign User1 the db_datareader role for the master database.
upvoted 0 times
...
Renea
10 months ago
User1: I can't connect to the logical server in Azure Data Studio.
upvoted 0 times
...
...
Evette
11 months ago
Hmm, this is a tricky one. I'm leaning towards option C, since User1 is an Azure AD user and the databases they created should be visible to them. But I could be wrong.
upvoted 0 times
Hobert
10 months ago
I agree, option C seems like the best solution to ensure User1 can see all the databases when connecting with Azure Data Studio.
upvoted 0 times
...
Gilma
10 months ago
I think option C is the correct choice. User1 should be assigned the db_datareader role for the databases they create.
upvoted 0 times
...
...
Johanna
11 months ago
I'm not sure about this one. Maybe option D would work, but that seems a bit too broad. I'll have to think about this one a bit more.
upvoted 0 times
...
Alaine
11 months ago
I think the answer is B. Assigning User1 the db_datareader role for the master database will allow them to see all the databases, since the master database contains metadata about all the databases on the logical server.
upvoted 0 times
...
Rodolfo
11 months ago
Hmm, that makes sense too. Let's see what others think before we make our final decision.
upvoted 0 times
...
Howard
11 months ago
I disagree, I believe the answer is D. Granting select on sys.databases to public in the master database would give User1 access to all databases.
upvoted 0 times
...
Rodolfo
11 months ago
I think the answer is C. Assigning User1 the db_datareader role for the databases that User1 creates would allow them to see all the databases.
upvoted 0 times
...

Save Cancel