PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this seri

es. Information and details provided in a question apply only to that question.

You are the database administrator for a company that hosts Microsoft SQL Server. You manage both on-premises and Microsoft Azure SQL Database environments.

One instance

hosts a user database named HRDB. The database contains sensitive human resources data.

You need to grant an auditor permission to view the SQL Server audit logs while following the principle of least privilege.

Which permission should you grant?

A. DDL

Admin

B. db_datawriter

C. dbcreator

D. dbo

E. View Database State

F. View Server State

G. View Definition

H. sysadmin

Explanation:

Unless otherwise specified, viewing catalog views requires a principal to have one of the following:

Membership in

the sysadmin fixed server role.

The CONTROL SERVER permission.

The VIEW SERVER STATE permission.

The ALTER ANY AUDIT permission.

The VIEW AUDIT STATE permission (gives only the principal access to the sys.server_audits catalog view).

References: https://

technet.microsoft.com/en-us/library/cc280386(v=sql.110).aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the oth

er questions in this series. Information and details provided in a question apply only to that question.

You are the database administrator for a company that hosts Microsoft SQL Server. You manage both on-premises and Microsoft Azure SQL Database environ

ments.

You have a user database named HRDB that contains sensitive human resources data. The HRDB backup files must be encrypted.

You need to grant the correct permission to the service account that backs up the HRDB database.

Which permission should yo

u grant?

A. DDLAdmin

B. db_datawriter

C. dbcreator

D. dbo

E. View Database State

F. View Server State

G. View Definition

H. sysadmin

Explanation:

Restoring the encrypted backup: SQL Server restore does not require any encryption parameters to

be specified during restores. It does require that the certificate or the asymmetric key used to encrypt the backup file be available on the instance that you are restoring to. The user account performing the restore must have VIEW DEFINITION permissions o

n the certificate or key.

References: https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/backup-encryption


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this seri

es. Information and details provided in a question apply only to that question.

A company has an on-premises Microsoft SQL Server environment and Microsoft Azure SQL Database instances. The environment hosts a customer database named DB1.

Customers conne

ct to hosted database instances by using line-of-business applications. Developers connect by using SQL Server Management Studio (SSMS).

You need to grant the developers permission to alter views for DB1 while following the principle of least privilege.

Which permission should you grant?

A. DDLAdmin

B. db_datawriter

C. dbcreator

D. dbo

E. View Database State

F. View Server State

G. View Definition

H. sysadmin

Explanation:

To execute ALTER VIEW, at a minimum, ALTER permission on OBJECT is

required.

Members of the db_ddladmin fixed database role can run any Data Definition Language (DDL) command in a database.

References: https://technet.microsoft.com/en-us/library/ms190667(v=sql.90).aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is

independent of the other questions in this series. Information and details provided in a question apply only to that question.

You observe that several indexes are fragmented.

You need to rebuild the indexes.

What should you use?

A. Activity Monitor

B.

Sp_who3

C. Object Explorer in the SQL Server Management Studio (SSMS)

D. SQL Server Data Collector

E. SQL Server Data Tools (SSDT)

F. SQL Server Configuration Manager

Explanation:

How to: Rebuild an Index (SQL Server Management Studio)

To

rebuild an index

In Object Explorer, connect to an instance of the SQL Server Database Engine and then expand that instance.

Expand Databases, expand the database that contains the table with the specified index, and then expand Tables.

Expand the table in

which the index belongs and then expand Indexes.

Right-click the index to rebuild and then click Rebuild.

To start the rebuild operation, click OK.

References: https://technet.microsoft.com/en-us/library/ms187874(v=sql.105).aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note:

This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and detail

s provided in a question apply only to that question.

You need to examine information about logins, CPU times, and Disk I/O on a particular database in Microsoft Azure.

What should you use?

A. Activity Monitor

B. Sp_who3

C. SQL Server Management Studio

(SSMS) Object Explorer

D. SQL Server Data Collector

E. SQL Server Data Tools (SSDT)

F. SQL Server Configuration Manager

Explanation:

Activity Monitor displays information about SQL Server processes and how these processes affect the current

instance of SQL Server.

Activity Monitor is a tabbed document window with the following expandable and collapsible panes: Overview, Active User Tasks, Resource Waits, Data File I/O, and Recent Expensive Queries.

The Activity User Tasks Pane shows informat

ion for active user connections to the instance, including the following column:

* Login: The SQL Server login name under which the session is currently executing.

The Recent Expensive Queries Pane shows information about the most expensive queries that h

ave been run on the instance over the last 30 seconds, including the following column:

* CPU (ms/sec): The rate of CPU use by the query

References: https://technet.microsoft.com/en-us/library/cc879320(v=sql.105).aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question

is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in

a question apply only to that question.

You collect performance metrics on multiple Microsoft SQL Server instances and store the data in a single repository.

You need to examine disk usage, query statistics, and server activity without building custom c

ounters.

What should you use?

A. Activity Monitor

B. Sp_who3 stored procedure

C. Object Explorer in the Microsoft SQL Server Management Studio (SSMS)

D. SQL Server Data Collector

E. SQL Server Data Tools (SSDT)

F. SQL Server Configuration Manager

Explanation:

The data collector is a core component of the data collection platform for SQL Server 2017 and the tools that are provided by SQL Server. The data collector provides one central point for data collection across your database servers

and applications. This collection point can obtain data from a variety of sources and is not limited to performance data


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this s

eries. Information and details provided in a question apply only to that question.

You have an on-premises server that runs Microsoft SQL Server 2016 Standard Edition.

You need to identify missing indexes.

What should you use?

A. Activity Monitor

B. Sp

_who3

C. SQL Server Management Studio (SSMS) Object Explorer

D. SQL Server Data Collector

E. SQL Server Data Tools (SSDT)

F. SQL Server Configuration Manager

Explanation:

Data Collector can gather performance information from multiple SQL Server

instances and store it in a single repository. It has three built-in data collecting specifications (data collectors) designed to collect the most important performance metrics. The information collected by default is about disk usage, query statistics, a

nd server activity.

The Query Statistics data collection set collects information about query statistics, activity, execution plans and text on the SQL Server instance.

Missing indexes can be found with the execution plans.

References:

SQL Server performance monitoring with Data Collector


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This questio

n is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided i

n a question apply only to that question.

You need to deploy a new Microsoft SQL Server environment that meets the following requirements:

The SQL Server instance must be highly available.

There must be minimal downtime incurred during hardware failure or

operating system maintenance.

All instance-level security settings and SQL Server Agent jobs must be available without additional synchronization tasks.

What should you implement?

A. a Microsoft Azure Stretch Database

B. log shipping

C. an Always On

Availability Group with all replicas in synchronous-commit mode

D. a file share witness

E. a Microsoft SQL Server failover cluster instance (FCI)

F. a Windows cluster with a shared-nothing architecture

G. an Always On Availability Group with secondary repl

icas in asynchronous-commit mode

As part of the SQL Server Always On offering, Always On Failover Cluster Instances leverages Windows Server Failover Clustering (WSFC) functionality to provide local high availability through redundancy at the se

rver-instance level-”a failover cluster instance (FCI). An FCI is a single instance of SQL Server that is installed across Windows Server Failover Clustering (WSFC) nodes and, possibly, across multiple subnets.

When there is hardware or software failure of

a server, the applications or clients connecting to the server will experience downtime. When a SQL Server instance is configured to be an FCI (instead of a standalone instance), the high availability of that SQL Server instance is protected by the presen

ce of redundant nodes in the FCI.

References: https://docs.microsoft.com/en-us/sql/sql-server/failover-clusters/windows/always-on-failover-cluster-instances-sql-server


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that use the same or similar answer choices. An answer ch

Note: This question is part

of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a questi

on apply only to that question.

You are migrating a set of databases from an existing Microsoft SQL Server instance to a new instance.

You need to complete the migration while minimizing administrative effort and downtime.

Which should you implement?

A. log shipping

B. an Always On Availability Group with all replicas in synchronous-commit mode

C. a file share witness

D. a SQL Server failover cluster instance (FCI)

E. a Windows Cluster with a shared-nothing architecture

F. an Always On Availability G

roup with secondary replicas in asynchronous-commit mode

SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate seconda

ry server instances. The transaction log backups are applied to each of the secondary databases individually.

References: https://docs.microsoft.com/en-us/sql/database-engine/log-shipping/about-log-shipping-sql-server?view=sql-server-2017


Leave a Reply