Administering a SQL Database Infrastructure — Question 31

You manage a Microsoft SQL Server environment. You plan to configure Database Mail.
You need to ensure that all users can access a private Database Mail profile.
What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because adding the DatabaseMailUserRole to the public user in the msdb database allows all users to access the Database Mail profile. Options A and C are incorrect as they involve the wrong database (tempdb and master) and do not provide access to all users. Option D, while it mentions granting access, does not specify the necessary role in the correct database context.