{"id":13199,"date":"2026-09-16T07:03:04","date_gmt":"2026-09-16T07:03:04","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=13199"},"modified":"2026-09-16T07:03:04","modified_gmt":"2026-09-16T07:03:04","slug":"microsoft-dp-300-practice-test-questions-and-exam-dumps-part-8-q141-160","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/microsoft-dp-300-practice-test-questions-and-exam-dumps-part-8-q141-160\/","title":{"rendered":"Microsoft DP-300 Practice Test Questions and Exam Dumps Part 8 Q141-160"},"content":{"rendered":"<h1><\/h1>\n<p><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/dp-300-exam-dumps\"><b>Microsoft DP-300 Exam Dumps<\/b><\/a><b> and Practice Test Dumps<\/b><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Question 141. Which Azure SQL Database feature helps automatically detect and resolve common performance issues?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Azure Advisor<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Automatic tuning<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Azure Storage Explorer<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Microsoft Sentinel<\/span><\/p>\n<p><b>Answer: 2) Automatic tuning<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Automatic tuning in Azure SQL Database continuously monitors database performance and can identify common issues such as missing indexes or inefficient indexes. Based on observed workload patterns, it can recommend or automatically apply certain corrective actions. This feature helps database administrators reduce the amount of manual performance monitoring required. Automatic tuning works by analyzing query performance and comparing current behavior with previous workload characteristics. Administrators can configure whether recommendations are only reported or automatically implemented. It is especially useful in environments where workloads change frequently and ongoing performance optimization is required.<\/span><\/p>\n<h3><b>Question 142. Which command is used to create a new database in SQL Server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> CREATE DATABASE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> NEW DATABASE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> ADD DATABASE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> BUILD DATABASE<\/span><\/p>\n<p><b>Answer: 1) CREATE DATABASE<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> The CREATE DATABASE statement is used to create a new database in SQL Server. It can be used with a simple syntax or extended to specify data files, log files, file sizes, growth settings, and other database properties. Database administrators commonly use this statement when creating databases manually or through deployment scripts. After creation, additional configuration can be performed according to application requirements. The other options are not valid Transact-SQL commands for creating a SQL Server database. Using CREATE DATABASE provides administrators with direct control over important database creation parameters.<\/span><\/p>\n<h3><b>Question 143. Which SQL Server component is primarily responsible for executing Transact-SQL queries?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> SQL Server Database Engine<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> SQL Server Reporting Services<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> SQL Server Integration Services<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> SQL Server Analysis Services<\/span><\/p>\n<p><b>Answer: 1) SQL Server Database Engine<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> The SQL Server Database Engine is the primary component responsible for storing, processing, and securing data in SQL Server databases. It receives Transact-SQL statements from applications or users, generates execution plans, and processes the requested operations. The Database Engine also manages transactions, indexes, security, and other core database functions. Reporting Services is designed for reporting, Integration Services focuses on data integration and transformation, and Analysis Services provides analytical capabilities. Therefore, when the requirement involves executing SQL queries against relational databases, the Database Engine is the appropriate SQL Server component.<\/span><\/p>\n<h3><b>Question 144. Which isolation level prevents dirty reads but still allows non-repeatable reads?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Read Uncommitted<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Read Committed<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Repeatable Read<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Serializable<\/span><\/p>\n<p><b>Answer: 2) Read Committed<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Read Committed prevents a transaction from reading data that another transaction has modified but not yet committed. This means dirty reads are prevented. However, the same query executed more than once within a transaction can return different results if another transaction commits changes between the reads. This behavior is known as a non-repeatable read. Repeatable Read provides stronger protection by preventing changes to rows already read, while Serializable provides even stronger isolation. Read Uncommitted provides the weakest isolation and permits dirty reads, making Read Committed a suitable answer for this requirement.<\/span><\/p>\n<h3><b>Question 145. What is the primary purpose of a database transaction?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> To permanently delete database objects<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> To group related operations into a single logical unit of work<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> To increase database storage capacity<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> To automatically create indexes<\/span><\/p>\n<p><b>Answer: 2) To group related operations into a single logical unit of work<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> A database transaction groups one or more related operations into a logical unit of work. Transactions help maintain data consistency by ensuring that operations can either be committed together or rolled back when an error occurs. SQL Server transactions follow the principles associated with atomicity, consistency, isolation, and durability. For example, transferring money between two accounts may require both a debit and a credit operation to succeed together. If one operation fails, the transaction can be rolled back. Transactions therefore play an important role in maintaining reliable and consistent database operations.<\/span><\/p>\n<h3><b>Question 146. Which statement is used to permanently save the changes made during a transaction?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> SAVE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> APPLY<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> COMMIT<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> ACCEPT<\/span><\/p>\n<p><b>Answer: 3) COMMIT<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> The COMMIT statement permanently saves the changes made by a transaction. When SQL Server reaches a COMMIT statement, the modifications performed within the transaction become durable according to the database&#8217;s transaction and recovery mechanisms. If an error occurs before the transaction is committed, the transaction can instead be rolled back using the ROLLBACK statement. This approach allows database administrators and developers to control groups of related changes as a single logical operation. SAVE is not the standard Transact-SQL command for permanently committing a transaction, making COMMIT the correct choice.<\/span><\/p>\n<h3><b>Question 147. Which command reverses the changes made during an active transaction?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> CANCEL<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> ROLLBACK<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> REVERSE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> UNDO<\/span><\/p>\n<p><b>Answer: 2) ROLLBACK<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> ROLLBACK is used to undo changes made during a transaction that has not yet been committed. It is commonly used when an operation encounters an error or when a validation condition fails. By rolling back the transaction, SQL Server returns affected data to the state it had before the transaction began, subject to the transaction scope and savepoints involved. ROLLBACK is especially useful for protecting data integrity when several related operations must succeed together. Unlike COMMIT, which makes transaction changes permanent, ROLLBACK cancels the uncommitted changes.<\/span><\/p>\n<h3><b>Question 148. Which SQL Server object provides a virtual representation of data from one or more tables?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> View<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Stored procedure<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Index<\/span><\/p>\n<p><b>Answer: 1) View<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> A view is a database object that presents data through a virtual table-like structure based on a query. A view can retrieve data from one or multiple tables and can simplify complex queries for users and applications. Views can also help control access by exposing only selected columns or rows instead of giving users direct access to underlying tables. Unlike a traditional table, a standard view generally does not store a separate copy of the result data. Stored procedures execute programmable operations, triggers respond to specific database events, and indexes improve data access performance.<\/span><\/p>\n<h3><b>Question 149. Which database object is commonly used to improve the speed of data retrieval?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Index<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> View<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Constraint<\/span><\/p>\n<p><b>Answer: 1) Index<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> An index is a database structure designed to help SQL Server locate rows more efficiently when processing queries. Instead of scanning an entire table for every search, SQL Server can use an appropriate index to quickly identify relevant data. Indexes are particularly useful for columns frequently used in filtering, joining, sorting, or grouping operations. However, indexes also require storage and maintenance, and excessive indexing can increase the cost of data modification operations such as INSERT, UPDATE, and DELETE. Therefore, database administrators should create indexes based on workload requirements and query performance analysis.<\/span><\/p>\n<h3><b>Question 150. Which tool provides a graphical interface for managing SQL Server databases and executing queries?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> SQL Server Management Studio<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Windows Media Player<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Paint<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Task Scheduler<\/span><\/p>\n<p><b>Answer: 1) SQL Server Management Studio<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> SQL Server Management Studio, commonly called SSMS, is a graphical management environment used to connect to SQL Server instances, Azure SQL resources, and other supported services. Database administrators can use SSMS to create and manage databases, execute Transact-SQL queries, configure security, inspect database objects, monitor activity, and troubleshoot performance issues. It provides Object Explorer and query editing capabilities that make database administration more accessible. The other options are Windows utilities that do not provide the specialized database management functionality required for administering SQL Server environments.<\/span><\/p>\n<h3><b>Question 151. Which Azure service provides centralized management of secrets, keys, and certificates?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Azure Key Vault<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Azure Blob Storage<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Azure Monitor<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Azure Virtual Network<\/span><\/p>\n<p><b>Answer: 1) Azure Key Vault<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Azure Key Vault is designed to securely store and manage sensitive information such as secrets, cryptographic keys, and certificates. Applications and database services can retrieve required secrets from Key Vault instead of storing credentials directly in application code or configuration files. Key Vault also supports access control and integration with Microsoft Entra ID. This helps organizations improve security and manage sensitive values centrally. Azure Blob Storage is primarily used for object storage, Azure Monitor provides monitoring capabilities, and Azure Virtual Network provides network connectivity and isolation rather than dedicated secret management.<\/span><\/p>\n<h3><b>Question 152. What is the purpose of a foreign key constraint?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> To ensure values are unique in a table<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> To enforce a relationship between tables<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> To encrypt table data<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> To automatically create a backup<\/span><\/p>\n<p><b>Answer: 2) To enforce a relationship between tables<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> A foreign key constraint establishes and enforces a relationship between columns in related tables. It typically references a primary key or another unique key in the parent table. The constraint helps maintain referential integrity by preventing invalid references, such as inserting a child row that points to a nonexistent parent row. Foreign keys are commonly used when modeling relationships such as customers and orders or departments and employees. A unique constraint is used to enforce uniqueness, encryption protects data, and backups provide recovery capabilities, so none of those functions describes a foreign key.<\/span><\/p>\n<h3><b>Question 153. Which constraint ensures that a column cannot contain NULL values?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> UNIQUE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> FOREIGN KEY<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> NOT NULL<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> CHECK<\/span><\/p>\n<p><b>Answer: 3) NOT NULL<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> The NOT NULL constraint requires a column to contain a value for every inserted or updated row. It is commonly used for fields that are mandatory, such as customer names, account identifiers, or transaction dates. When a column is defined as NOT NULL, SQL Server rejects attempts to insert NULL into that column unless the operation otherwise supplies a valid value. A UNIQUE constraint controls duplicate values, a FOREIGN KEY enforces relationships between tables, and a CHECK constraint validates whether values satisfy a specified condition. Therefore, NOT NULL directly addresses the requirement to prevent NULL values.<\/span><\/p>\n<h3><b>Question 154. Which feature can be used to automatically execute a predefined action when a data modification occurs?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> View<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Index<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Synonym<\/span><\/p>\n<p><b>Answer: 1) Trigger<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> A trigger is a database object that automatically executes in response to specified events. In SQL Server, DML triggers can respond to INSERT, UPDATE, or DELETE operations. Triggers can be used for tasks such as auditing changes, enforcing certain business rules, or maintaining related information. They should be designed carefully because they execute as part of the transaction that caused the triggering event and can affect application performance. A view provides a virtual representation of data, an index supports query performance, and a synonym provides an alternative name for another database object.<\/span><\/p>\n<h3><b>Question 155. Which SQL Server feature allows administrators to schedule recurring database maintenance tasks?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> SQL Server Agent<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> SQL Server Profiler<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Database Engine Tuning Advisor<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Query Store<\/span><\/p>\n<p><b>Answer: 1) SQL Server Agent<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> SQL Server Agent is a SQL Server service designed to automate administrative and maintenance tasks. Administrators can create jobs that execute according to defined schedules or respond to specific conditions. Jobs can perform activities such as database backups, index maintenance, integrity checks, or execution of stored procedures. This automation reduces the need for administrators to perform repetitive tasks manually. SQL Server Profiler is used for tracing activity, Database Engine Tuning Advisor provides workload-based recommendations, and Query Store captures query performance information. SQL Server Agent is therefore the appropriate tool for scheduled maintenance jobs.<\/span><\/p>\n<h3><b>Question 156. Which command displays the execution plan for a query before it is executed?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> SET SHOWPLAN_ALL ON<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> SET DISPLAYPLAN ON<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> SHOW QUERY PLAN<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> EXECUTE PLAN<\/span><\/p>\n<p><b>Answer: 1) SET SHOWPLAN_ALL ON<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> SET SHOWPLAN_ALL ON instructs SQL Server to return detailed information about the execution plan generated for subsequent Transact-SQL statements rather than executing those statements normally. The output can help database administrators understand how SQL Server intends to process a query, including operators and estimated costs. This information can be useful when troubleshooting query performance and identifying inefficient access methods. SHOWPLAN settings require appropriate permissions. The other listed commands are not valid Transact-SQL statements for obtaining an execution plan in SQL Server.<\/span><\/p>\n<h3><b>Question 157. What does the term RPO represent in database disaster recovery?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Recovery Point Objective<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Recovery Process Operation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Restore Performance Output<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Recovery Protection Option<\/span><\/p>\n<p><b>Answer: 1) Recovery Point Objective<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Recovery Point Objective, or RPO, defines the maximum acceptable amount of data loss measured in time following a disruptive event. For example, an organization with an RPO of 15 minutes aims to limit potential data loss to approximately the previous 15 minutes of activity. RPO is an important consideration when designing backup and disaster recovery strategies because it influences how frequently data must be backed up or replicated. RTO, by contrast, refers to the target amount of time required to restore a service. RPO therefore focuses primarily on acceptable data-loss exposure.<\/span><\/p>\n<h3><b>Question 158. What does RTO represent in disaster recovery planning?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Recovery Transaction Order<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> Recovery Time Objective<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Restore Table Operation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> Recovery Transfer Output<\/span><\/p>\n<p><b>Answer: 2) Recovery Time Objective<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Recovery Time Objective, or RTO, represents the targeted maximum amount of time required to restore a system or service after a disruption. Organizations establish RTO values according to business requirements and the importance of the affected workload. A shorter RTO generally requires recovery processes and infrastructure capable of restoring services quickly. RTO is different from RPO, which focuses on the acceptable amount of data loss measured in time. Database administrators consider both values when designing backup, replication, failover, and disaster recovery strategies for SQL Server and Azure database environments.<\/span><\/p>\n<h3><b>Question 159. Which SQL Server feature records query execution information to help analyze historical query performance?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Query Store<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> SQL Server Browser<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> Database Mail<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> SQL Server Agent<\/span><\/p>\n<p><b>Answer: 1) Query Store<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> Query Store captures query text, execution plans, runtime statistics, and related performance information over time. This historical information allows database administrators to investigate performance changes and identify queries whose behavior has changed. Query Store can be particularly useful when a query becomes slower after an execution plan change because administrators can compare different plans and performance statistics. SQL Server Agent is designed for automation, Database Mail supports email notifications, and SQL Server Browser assists with instance discovery. Query Store is therefore the SQL Server feature specifically designed for historical query performance analysis.<\/span><\/p>\n<h3><b>Question 160. Which command is used to modify the structure of an existing SQL Server table?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> CHANGE TABLE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>2)<\/b><span style=\"font-weight: 400;\"> MODIFY TABLE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>3)<\/b><span style=\"font-weight: 400;\"> ALTER TABLE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span> <b>4)<\/b><span style=\"font-weight: 400;\"> UPDATE TABLE<\/span><\/p>\n<p><b>Answer: 3) ALTER TABLE<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\"> The ALTER TABLE statement is used to modify the structure of an existing table in SQL Server. Depending on the requirement, it can be used to add, modify, or remove columns and constraints. For example, an administrator can use ALTER TABLE to add a new column or create a constraint associated with the table. UPDATE is different because it changes data stored in existing rows rather than changing the table structure. CHANGE TABLE and MODIFY TABLE are not standard SQL Server commands. ALTER TABLE is therefore the appropriate statement for structural table modifications.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full Microsoft DP-300 Exam Dumps and Practice Test Dumps &nbsp; Question 141. Which Azure SQL Database feature helps automatically detect and resolve common performance issues? 1) Azure Advisor 2) Automatic tuning 3) Azure Storage Explorer 4) Microsoft Sentinel Answer: 2) Automatic tuning Explanation: Automatic tuning in Azure SQL Database continuously monitors database performance and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/13199"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=13199"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/13199\/revisions"}],"predecessor-version":[{"id":13228,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/13199\/revisions\/13228"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=13199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=13199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=13199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}