nerdexam
Microsoft

70-457 · Question #158

You are creating an application that will connect to the AgentPortal database by using a SQL login named AgentPortalUser. Stored procedures in the database will use sp_send_dbmail to send email…

The correct answer is A. In the Database Mail Configuration Wizard, configure the Database Mail profile as a private profile. See the full explanation below for the reasoning.

Question

You are creating an application that will connect to the AgentPortal database by using a SQL login named AgentPortalUser. Stored procedures in the database will use sp_send_dbmail to send email messages. You create a user account in the msdb database for the AgentPortalUser login. You use the Database Mail Configuration Wizard to create a Database Mail profile. Security has not been configured for the Database Mail profile. You need to ensure that AgentPortalUser can send email messages. What should you do?

Options

  • AIn the Database Mail Configuration Wizard, configure the Database Mail profile as a private profile
  • BDisable the guest user in the msdb database.
  • CUse the sysmail_help_profileaccount_sp stored procedure to add accounts to the Database Mail profile.
  • DIn the Database Mail Configuration Wizard, create an email account for each recipient's email

How the community answered

(33 responses)
  • A
    76% (25)
  • B
    3% (1)
  • C
    9% (3)
  • D
    12% (4)

Community Discussion

No community discussion yet for this question.

Full 70-457 Practice