exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 305 discussion

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

Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
You maintain a Microsoft SQL Server instance that contains the following databases SalesDb1, SalesDb2, and SalesDb3. Each database has tabled named
Products and Sales. The following table shows the configuration of each database.

The backup strategies for each database are described in the following table.

Each full or differential backup operation writes into a new file and uses a different sequence number. You observe the following database corruption issues.

SalesDb3 reports a number of database corruption issues related to error 823 and 824 when reading data pages. You must display the following information about the corrupted pages:
✑ database name
✑ impacted file id
✑ impacted file physical name
✑ impacted page id
✑ event type that identifies the error type
✑ error count
Users report performance issues when they run queries against SalesDb2. You plan to monitor query statistics and execution plans for SalesDb2 by using Query
Store. The monitoring strategy must meet the following requirements:
✑ Perform automatic data cleanup when query store disk usage reaches 500 megabyte (MB).
Capture queries based on resource consumption.

✑ Use a stale query threshold value of 60 days.
The query optimizer generates suboptimal execution plans for a number of queries on the Sales table in SalesDb2. You will create a maintenance plan that updates statistics for the table. The plan should only update statistics that were automatically created and have not been updated for 30 days. The update should be based on all data in the table.
You need to view the information about the corrupted pages on SalesDb3.
How should you complete the Transact-SQL statement?
Select two.

  • A. SELECT * FROM msdb.. corrupted_pages
  • B. SELECT * FROM msdb..suspect_pages
  • C. SELECT * FROM system..corrupted_pages
  • D. SELECT * FROM system..suspect_pages
  • E. WHERE event_type = 1
  • F. WHERE event_type = 2
  • G. WHERE event_type = 3
Show Suggested Answer Hide Answer
Suggested Answer: BF 🗳️
suspect_pages contains one row per page that failed with a minor 823 error or an 824 error. Pages are listed in this table because they are suspected of being bad, but they might actually be fine. When a suspect page is repaired, its status is updated in the event_type column.
The suspect_pages table resides in the msdb database.
SalesDb3 has pages with checksum errors. Checksum errors have the event_type value 2.
References: https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/manage-the-suspect-pages-table-sql-server

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
Fiaz
4 years, 10 months ago
823 error caused by an operating system CRC error or 824 error other than a bad checksum or a torn page (for example, a bad page ID) =event_type value 1 Bad checksum event_type value=2 Torn page event_type value=3 Restored (The page was restored after it was marked bad) event_type value=4 Repaired (DBCC repaired the page) event_type value=5 Deallocated by DBCC event_type value=7
upvoted 1 times
...
Matus
5 years, 1 month ago
Thing is that description of error number is not correct.. The 823 and 824 error message usually indicates that there is a problem with underlying storage system or the hardware or a driver that is in the path of the I/O request
upvoted 1 times
...
Matus
5 years, 1 month ago
Correct is B + E 823 error caused by an operating system CRC error or 824 error other than a bad checksum or a torn page (for example, a bad page ID) --- has event_type 1 bad checksum = 2 torn page = 3
upvoted 4 times
Cococo
4 years, 6 months ago
yep, from the question - SalesDB has error 823 and this is the event 1.
upvoted 1 times
...
...
TheSwedishGuy
5 years, 3 months ago
msdb..suspect_pages = MSDB contains the suspect_pages report. event_type 2 means checksum errors (i.e. possible corruption).
upvoted 2 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