SQL Server Questions and Answers – Resource Governor

This set of SQL Server Multiple Choice Questions & Answers (MCQs) focuses on “Resource Governor”.

1. Resource Governor is a feature that enables you to specify limits on the amount of ____________
a) CPU
b) Physical IO
c) Memory
d) None of the mentioned
View Answer

Answer: d
Explanation: SQL Server Resource Governor is a feature than you can use to manage SQL Server workload and system resource consumption.

2. Point out the correct statement.
a) You can set IO thresholds on the internal resource pool
b) There is workload monitoring or workload management between SQL Server instances
c) A resource group represents the physical resources of the server
d) Resource management is limited to the SQL Server Database Engine
View Answer

Answer: d
Explanation: Resource Governor can not be used for Analysis Services, Integration Services, and Reporting Services.

3. You cannot use the ____________ statement to enable Resource Governor when in a user transaction.
a) ALTER RESOURCE GOVERNOR
b) ALTER GOVERNOR
c) ALTER RESOURCE
d) All of the mentioned
View Answer

Answer: a
Explanation: You can enable the Resource Governor by using either SQL Server Management Studio or Transact-SQL.

4. Enabling the Resource Governor requires _________ permission.
a) CONTROL SERVER
b) CONTROL
c) SERVER
d) SELECT
View Answer

Answer: a
Explanation: The classifier function is run for new connections so that their workloads can be assigned to workload groups.

advertisement
advertisement

5. Point out the wrong statement.
a) Two workload groups (internal and default) are created and mapped to their corresponding resource pools when SQL Server is installed
b) A resource group serves as a container for session requests that have similar classification criteria
c) Resource Governor also supports user-defined workload groups
d) Resource Governor does not impose any controls on a dedicated administrator connection (DAC)
View Answer

Answer: b
Explanation: A workload allows for aggregate monitoring of the sessions, and defines policies for the sessions.

6. Which of the following query enables the Resource Governor?
a) ALTER RESOURCE GOVERNOR CONFIGURE;
b) ALTER RESOURCE RECONFIGURE;
c) ALTER RESOURCE GOVERNOR RECONFIGURE;
d) None of the mentioned
View Answer

Answer: c
Explanation: The Resource Governor is turned off by default.

7. Which of the following query disables the resource governor?
a) ALTER RESOURCE GOVERNOR ENABLE CONFIGURE;
b) ALTER GOVERNOR DISABLE;
c) ALTER RESOURCE GOVERNOR DISABLE;
d) None of the mentioned
View Answer

Answer: c
Explanation: You can disable the Resource Governor by using either SQL Server Management Studio or Transact-SQL.

8. ____________ is a hard cap limit on the CPU bandwidth for all requests in the resource pool.
a) MIN_CPU_PERCENT
b) CAP_CPU_PERCENT
c) MAX_CPU_PERCENT
d) MAX_MEMORY_PERCENT
View Answer

Answer: b
Explanation: Workloads associated with the pool can use CPU capacity above the value of MAX_CPU_PERCENT if it is available, but not above the value of CAP_CPU_PERCENT.

advertisement

9. ___________ lets you affinitize a resource pool to one or more schedulers or NUMA nodes for greater isolation of CPU resources.
a) MAX_IOPS_PER_VOLUME
b) AFFINITY
c) MAX_CPU_PERCENT
d) MAX_MEMORY_PERCENT
View Answer

Answer: b
Explanation: By using the AFFINITY option the Sales and Marketing workloads can be scheduled on different CPUs.

10. Which of the following formula is used for calculating the effective MAX %?
a) 100 – sum(MIN %)
b) min(X,Y)
c) max(X,Y)
d) Effective MAX % – MIN %
View Answer

Answer: b
Explanation: The minimum of the configured MAX value of a pool and the sum of the MIN values of other pools is subtracted from 100 percent.

advertisement

Sanfoundry Global Education & Learning Series – SQL Server.

To practice all areas of SQL Server, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.