exam questions

Exam 70-462 All Questions

View all questions & answers for the 70-462 exam

Exam 70-462 topic 1 question 10 discussion

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

You administer a Microsoft SQL Server database.
You create an availability group named haContosoDbs. Your primary replica is available at Server01\Contoso01.
You need to configure the availability group to prevent data loss. In the event of a database failure, the designed secondary database must come online automatically.
Which Transact-SQL statement should you use?

  • A. ALTER AVAILABILITY GROUP haContosoDbs MODITY REPLICA ON Server01\Contoso01 WITH (AVAILABILITY _MODE=ASYNCHRONOUS_COMMIT, FAILOVER_MODE=AUTOMATIC)
  • B. ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON Server01\Contoso01 WITH (AVAILABILITY _MODE=ASYNCHRONOUS_COMMIT, FAILOVER_MODE=MANUAL)
  • C. ALTER AVAILABILITY GROUP haContosoDbs MODITY REPLICA ON Server01\Contoso01 WITH (AVAILABILITY _MODE=SYNCHRONOUS_COMMIT, FAILOVER_MODE=AUTOMATIC)
  • D. ALTER AVAILABILITY GROUP haContosoDbs MODIFY REPLICA ON Server01\Contoso01 WITH (AVAILABILITY _MODE=SYNCHRONOUS_COMMIT, FAILOVER_MODE=MANUAL)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
corpo
4 years, 10 months ago
C. ALTER AVAILABILITY GROUP haContosoDbs MODITY REPLICA ON Server01\Contoso01 WITH (AVAILABILITY _MODE=SYNCHRONOUS_COMMIT, FAILOVER_MODE=AUTOMATIC)
upvoted 2 times
...
Varad
5 years, 8 months ago
Reference: https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-availability-group-transact-sql?view=sql-server-2017
upvoted 1 times
...
Varad
5 years, 8 months ago
1. Option C is correct as long as the command is MODIFY and NOT MODITY. There is no command as MODITY in the SQL syntax. 2. It has to be SYNCHRONOUS and 3. FAILOVER MODE "AUTOMATIC"
upvoted 3 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 ...