exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 51 discussion

Actual exam question from Microsoft's 70-764
Question #: 51
Topic #: 1
[All 70-764 Questions]

HOTSPOT -
You are the database administrator of a Microsoft SQL Server instance. Developers are writing stored procedures to send emails using sp_send_dbmail.
Database Mail is enabled.
You need to configure each accounts profile security and meet the following requirements:
✑ Account SMTP1_Account must only be usable by logins that have been given explicit permissions to use the SMTP1_profile.
✑ Account SMTP2_Account must only be usable by logins who are a member of the [DatabaseMailUserRole] role in msdb.
In the table below. identify the profile type that must be used for each account.
NOTE: Make only one selection in each column.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
SMTP1_Account1: Private Profile -
When no profile_name is specified, sp_send_dbmail uses the default private profile for the current user. If the user does not have a default private profile, sp_send_dbmail uses the default public profile for the msdb database.

SMTP1_Account2: Default Profile -
Execute permissions forsp_send_dbmail default to all members of the DatabaseMailUser database role in the msdb database.
References: https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-send-dbmail-transact-sql

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
Kiwino
4 years, 10 months ago
A profile may be public or private. so correct answer is SMTP2_Account: Public Profile
upvoted 1 times
...
Iva10
5 years, 1 month ago
Profiles are either public or private. So I think that answer is public instead of default profile. https://docs.microsoft.com/en-us/sql/relational-databases/database-mail/database-mail-configuration-objects?view=sql-server-ver15
upvoted 2 times
...
TheSwedishGuy
5 years, 5 months ago
The private profile is used if it is specified correctly, else the profile used is the default profile. And the default profile is allowed to send emails.
upvoted 1 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 ...