nerdexam
Microsoft

70-465 · Question #102

You have a SQL Server instance on a server named Server1. You need to recommend a solution to perform the following tasks every week: - Rebuild the indexes by using a new fill factor. - Run a custom…

The correct answer is C. A maintenance plan. SQL Server Maintenance Plans provide a built-in, wizard-driven framework for scheduling recurring database administration tasks including index rebuilds, custom T-SQL execution, and backups.

Submitted by rania.sa· Mar 5, 2026Design and implement database solutions for SQL Server

Question

You have a SQL Server instance on a server named Server1. You need to recommend a solution to perform the following tasks every week: - Rebuild the indexes by using a new fill factor. - Run a custom T-SQL command. - Back up the databases. What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

Options

  • AA trigger
  • BAn alert
  • CA maintenance plan
  • DWindows PowerShell
  • EA system policy

How the community answered

(36 responses)
  • A
    17% (6)
  • B
    3% (1)
  • C
    69% (25)
  • D
    3% (1)
  • E
    8% (3)

Why each option

SQL Server Maintenance Plans provide a built-in, wizard-driven framework for scheduling recurring database administration tasks including index rebuilds, custom T-SQL execution, and backups.

AA trigger

Triggers fire in response to DML or DDL events on database objects, not on a scheduled time basis, so they cannot be used to perform weekly scheduled maintenance tasks.

BAn alert

SQL Server Alerts respond to specific error conditions or performance thresholds and are not designed to schedule or execute recurring maintenance tasks like index rebuilds or backups.

CA maintenance planCorrect

A SQL Server Maintenance Plan is specifically designed to automate and schedule recurring DBA tasks on a defined schedule (e.g., weekly). It natively supports index rebuild tasks with configurable fill factors, an 'Execute T-SQL Statement' task for custom commands, and database backup tasks - all orchestrated through SQL Server Agent jobs, making it the most purpose-built and integrated solution for this scenario.

DWindows PowerShell

While PowerShell scripts could technically perform these tasks, they would require additional scheduling infrastructure (e.g., Task Scheduler) and are not a native, integrated SQL Server solution, making them less optimal than a Maintenance Plan.

EA system policy

SQL Server Policy-Based Management system policies are used to enforce configuration standards and compliance conditions on SQL Server objects, not to schedule or execute recurring maintenance operations.

Concept tested: SQL Server Maintenance Plans for scheduled database administration

Source: https://learn.microsoft.com/en-us/sql/relational-databases/maintenance-plans/maintenance-plans

Topics

#Database maintenance#Maintenance Plans#Index rebuilding#Database backup automation

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice