exam questions

Exam 70-765 All Questions

View all questions & answers for the 70-765 exam

Exam 70-765 topic 4 question 35 discussion

Actual exam question from Microsoft's 70-765
Question #: 35
Topic #: 4
[All 70-765 Questions]

You have Microsoft SQL Server on a Microsoft Azure virtual machine.
You discover that a database has 1,000 corrupt pages.
You need to repair the corrupt pages.
Which statement should you execute?

  • A. DBCC CHECKALLOC (REPAIR_REBUILD)
  • B. DBCC CHECKDB WITH DATA_PURITY
  • C. DBCC CHECKDB (REPAIR_ALLOW_DATA_LOSS)
  • D. DBCC CHECKALLOC (REPAIR_FAST)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
References:
https://docs.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-checkdb-transact-sql?view=sql-server-ver15

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
rohithravindran
4 years, 6 months ago
what is the correct answer for this question ?
upvoted 1 times
Cococo
4 years, 5 months ago
C, other options are doing only checks
upvoted 2 times
...
...
borisariana
4 years, 7 months ago
REPAIR_REBUILD does not support pages
upvoted 1 times
...
KC
4 years, 9 months ago
"The REPAIR_ALLOW_DATA_LOSS option is a supported feature but it may not always be the best option for bringing a database to a physically consistent state...The REPAIR_ALLOW_DATA_LOSS option is not an alternative for restoring from a known good backup. It is an emergency "last resort" option recommended for use only if restoring from a backup is not possible." Use as last resort. I'd at least try the REPAIR_REBUILD option first.
upvoted 1 times
KC
4 years, 9 months ago
I was wrong. I didn’t see that the REPAIR_REBUILD option was ALLOC
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago