nerdexam
Microsoft

70-433 · Question #3

You have a database named Contoso. The Contoso database has a Service Broker queue named VacationRequestQueue. The Contoso database has been restored to a new server. Since restoring the database…

The correct answer is A. ALTER DATABASE Contoso SET NEW_BROKER. See the full explanation below for the reasoning.

Question

You have a database named Contoso. The Contoso database has a Service Broker queue named VacationRequestQueue. The Contoso database has been restored to a new server. Since restoring the database, Service Broker is no longer able to send new messages. You need to configure Service Broker in order to resolve the issue. Which Transact-SQL statement should you use?

Options

  • AALTER DATABASE Contoso SET NEW_BROKER;
  • BALTER DATABASE Contoso SET ENABLE_BROKER;
  • CALTER QUEUE VacationRequestQueue WITH STATUS = ON;
  • DALTER QUEUE VacationRequestQueue WITH ACTIVATION (STATUS = ON);

How the community answered

(20 responses)
  • A
    70% (14)
  • B
    5% (1)
  • C
    15% (3)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice