Paul Doman
Quiz por , criado more than 1 year ago

Intermediary SQL Server 2014 Quiz sobre SQL Server 2014 - Part 2, criado por Paul Doman em 04-11-2015.

69
2
0
Paul Doman
Criado por Paul Doman aproximadamente 9 anos atrás
Fechar

SQL Server 2014 - Part 2

Questão 1 de 105

1

Preencha os espaços em branco para completar o texto.

When receiving messages through the Service Broker, it's common practice to fetch the next from a , then parse the to determine what action to take.

Explicação

Questão 2 de 105

1

Preencha os espaços em branco para completar o texto.

When receiving messages through the Service Broker, it's more efficient to select messages from the queue into a variable, containing the message in format - before stepping through the table variable rows converting the message body into it's native format at that stage, ready for actioning.

Explicação

Questão 3 de 105

1

SQL Server Service Broker can send messages to queues within the same database, different databases on the same instance, different instances or different servers. True or False?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 4 de 105

1

Preencha os espaços em branco para completar o texto.

When using the Service Broker, you receive messages by using the command. This command is written much like a traditional statement. You can specify the that should be returned, and the is specified using a statement.

Explicação

Questão 5 de 105

1

Preencha os espaços em branco para completar o texto.

When receiving messages from the Service Broker, it is more efficient to receive multiple at once, and to receive the message from the queue as the raw , and then convert it to (or whatever data type it was sent as) after it has been removed from the queue.

Explicação

Questão 6 de 105

1

Preencha os espaços em branco para completar o texto.

The steps involved to enable the Service Broker to send messages between instances are...

1. Configure the database key in the database.
2. Configure the database key in the application database.
3. Create a in each database.
4. Exchange the between the databases.
5. Create SQL Service Broker on each instance.
6. Configure to connect to the remote instance SQL Service Broker endpoint.

Explicação

Questão 7 de 105

1

Preencha os espaços em branco para completar o texto.

When encrypting communications between servers using Service Broker, you create the database master key (if it's not already been run) using the following command....

CREATE ENCRYPTION BY = 'YourSecurePassword1!'

Explicação

Questão 8 de 105

1

Preencha os espaços em branco para completar o texto.

If a database master key has been created, it is imperative that it's backed up to a file and stored offsite. In order to do this you would use the following command...

BACKUP TO = '<filename>' BY = '<secure-password>'

Explicação

Questão 9 de 105

1

Preencha os espaços em branco para completar o texto.

When using certificate authentication between endpoints, you must create in the databases of the instances that exchange messages. You can create using the statement within the database. When creating the certificates on each instance, they must have a . The recommended way to do this is to include the server and instance name.

Explicação

Questão 10 de 105

1

When creating certificates for securing transmissions between server instances in the Service Broker, you must exchange certificates... you do this using the following combinations of commands...

Selecione uma das seguintes:

  • BACKUP CERTIFICATE / RESTORE CERTIFICATE

  • BACKUP CERTIFICATE / CREATE CERTIFICATE

  • EXPORT CERTIFICATE / IMPORT CERTIFICATE

  • EXPORT CERTIFICATE / CREATE CERTIFICATE

  • BACKUP CERTIFICATE TO REMOTE SERVER

  • CREATE CERTIFICATE FROM REMOTE SERVER

Explicação

Questão 11 de 105

1

Preencha o espaço em branco para completar o texto.

Within the Service Broker, for SQL Server instances to send messages to another instance, you must create on each SQL Server instance.

Explicação

Questão 12 de 105

1

When configuring a target SQL server within the Service Broker, as a central server for receiving messages from multiple satellite SQL instances - which of the following is true?

Selecione uma das seguintes:

  • You must create an Endpoint on the Target Server for every connecting satellite instance

  • You must create an Endpoint on the Target Server to support any connecting Service Brokers

  • You add the target server as a linked server on each satellite server

  • You add each satellite server as a linked server on the target - and GRANT them service access

  • This topology is not supported within the Service Broker

Explicação

Questão 13 de 105

1

When creating Endpoints on a SQL Server, that can support cross-instance communication - which of the following are valid Authentication Mechanisms?

Selecione uma ou mais das seguintes:

  • WINDOWS NTLM

  • WINDOWS KERBEROS

  • WINDOWS NEGOTIATE

  • CERTIFICATE

  • ANY

  • ANONYMOUS

  • WINDOWS TRUST

Explicação

Questão 14 de 105

1

If creating an Endpoint to support cross instance communications, how does the following clause affect the method of authentication?

WINDOWS NEGOTIATE CERTIFICATE <MyCertificate>

Selecione uma das seguintes:

  • Attempt to authenticate by either NTLM or KERBEROS authentication (using the Windows Negotiation Protocol) - failing that, use the certificate MyCertificate to authenticate.

  • Attempt to authenticate using NTLM authentication - failing that, use the certificate MyCertificate to authenticate.

  • Attempt to authenticate using KERBEROS authentication - failing that, use the certificate MyCertificate to authenticate.

  • Attempt to authenticate by either NTLM or KERBEROS authentication (using the Windows Negotiation Protocol) using the certificate MyCertificate to secure the negotiation

  • Attempt to authenticate using NTLM authentication using the certificate MyCertificate to secure the negotiation

  • Attempt to authenticate using KERBEROS authentication using the certificate MyCertificate to secure the negotiation

  • It's not a valid Authentication clause

Explicação

Questão 15 de 105

1

When creating a SQL Server Endpoint, which of the following are valid ENCRYPTION options?

Selecione uma ou mais das seguintes:

  • DISABLED

  • SUPPORTED

  • REQUIRED

  • OFF

  • MANDATORY

  • NONE

  • ANY

Explicação

Questão 16 de 105

1

When creating an End Point for SQL Server Service Broker, what does the following clause mean?

ENCRYPTION = REQUIRED ALGORITHM AES RC4

Selecione uma das seguintes:

  • Encryption is required to use the End Point, using either the AES or RC4 encryption algorithm

  • Encryption is required to use the End Point, using either the AES or RC4 encryption algorithm - preferring AES through negotiation.

  • Encryption is required to use the End Point, using the AES encryption algorithm for data transport, and the RC4 algorithm for hashing the encryption key.

  • Encryption is supported by the End Point, using either the AES or RC4 encryption algorithm

  • Encryption is supported by the End Point, using either the AES or RC4 encryption algorithm - preferring AES through negotiation.

  • Encryption is supported by the End Point, using the AES encryption algorithm for data transport, and the RC4 algorithm for hashing the encryption key.

  • It's not a valid command

Explicação

Questão 17 de 105

1

When configuring an endpoint, the only encryption algorithms considered secure are AES and RC4 - true or false?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 18 de 105

1

Preencha os espaços em branco para completar o texto.

In order to create an endpoint called 'ServiceBrokerEndpoint' - that listens on port 1234 on all IPv4 and IPv6 addresses hosted by the Server, using certificate 'MyServiceBrokerCertificate', requiring strong encryption - you would use the following command...

CREATE ENDPOINT
STATE = STARTED
AS TCP ( = 1234, LISTENER_=)
FOR SERVICE_BROKER
(AUTHENTICATION = CERTIFICATE ,
= ALGORITHM );

Explicação

Questão 19 de 105

1

Preencha o espaço em branco para completar o texto.

T-SQL is a data access and management language, whereas managed code is better suited for complex application logic.

Explicação

Questão 20 de 105

1

Preencha o espaço em branco para completar o texto.

One of the great benefits of SQLCLR is that any .NET code that SQL Server runs is completely isolated from SQL Server itself. .NET code runs within the SQL Server process space, but SQL Server uses a construct in .NET called the application to completely isolate and separate all resources that the .NET code uses from the resources that SQL Server uses.

Explicação

Questão 21 de 105

1

Preencha os espaços em branco para completar o texto.

The primary design goal of placing assemblies in application is to achieve scalability and security. Also, application domains have existed for quite a while to provide a form of between applications. This is necessary to ensure that code running in one application cannot (and does not) affect other unrelated applications.

Explicação

Questão 22 de 105

1

Preencha os espaços em branco para completar o texto.

SQL Server isolates code between databases by using application . As such, application exist for each that allows you to create, load, and register an assembly. This ensures that code can be executed independently of other assemblies registered in other , in isolation.

Explicação

Questão 23 de 105

1

You can have multiple .NET assemblies registered within a single database - True or False?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 24 de 105

1

Transact-SQL is the preferred to using .NET Managed code to quickly access files in the file system, because of the additional overhead of dynamically loading an assembly at runtime. True or False?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 25 de 105

1

Preencha os espaços em branco para completar o texto.

By default, CLR is disabled for users. This means that you cannot execute any .NET code until you purposefully enable CLR. Not everyone can enable CLR; only members of the and server roles can do so. In order to do this, they must issue the following commands...

EXEC sp_ '', 1
GO

GO

Explicação

Questão 26 de 105

1

If you wish to register a .NET CLR library within SQL Server, you should...

Selecione uma das seguintes:

  • run the CREATE ASSEMBLY command in the database that wishes to use the library

  • run the IMPORT ASSEMBLY command in the database that wishes to use the library

  • run the CREATE ASSEMBLY command in the msdb database

  • run the IMPORT ASSEMBLY command in the msdb database

  • run the INSTALL ASSEMBLY command in the database that wishes to use the library

  • run the INSTALL ASSEMBLY command in the msdb database

Explicação

Questão 27 de 105

1

Preencha os espaços em branco para completar o texto.

In order to reference a CLR written method, 'RunMe', that returns a string message, within the class 'SQLHelper' - built into the pre-registered assembly 'MySQLFunctions', you would use the following statement...

CREATE clrRunMe
@retVal nchar(50)
AS
NAME

Explicação

Questão 28 de 105

1

Preencha os espaços em branco para completar o texto.

In order to provide strict security - CLR supports a security model called (CAS) for managed code. In this model, permissions are given to assemblies based on the identity of the code. The set of permissions that can be granted to the assemblies by the SQL Server host policy level are determined by the permission that is set and specified during the creation of the assembly in SQL Server. SQLCLR supports three permission sets:

—Only local data access and internal computations are allowed. If no permission is specified during the assembly creation, this permission is applied by default. No access to external system resources such as files or the registry exists.

—This is the same permission as the above, but with the added capability to access external resources such as the filesystem, registry, networks, and environment variables.

—This means unrestricted access to all resources within SQL Server and outside SQL Server. This is the least secure and should rarely be used.

Explicação

Questão 29 de 105

1

Preencha os espaços em branco para completar o texto.

The following counters are extremely helpful in understanding the health and activity of .NET CLR programs running in a SQL-hosted environment:

.NET CLR —This provides detailed information about the types of CLR heap memory and garbage collection. These counters can be used to monitor CLR memory usage, and to flag alerts if the memory used gets too large. If the code is copying a lot of data into memory, you may have to check the code and take a different approach to reduce memory consumption, or add more memory.

.NET CLR —SQL Server isolates code between databases by using AppDomain. This set of counters enables monitoring of the number of AppDomains and the number of assemblies loaded in the system. You can use this counter to determine loaded CLR assemblies.

.NET CLR —This counter provides you with a good idea of how many errors the code generates. The values vary from application to application because sometimes developers use exceptions to test application functionality, so you should monitor over time to set the baseline and go from there. As this number increases, performance decreases.

Explicação

Questão 30 de 105

1

Preencha os espaços em branco para completar o texto.

There are two key Extended Events for monitoring CLR objects in SQL Server. The event occurs when a request to access an assembly occurs, and is used to monitor queries running CLR code. The clr__failure event occurs when managed code experiences a memory failure.

Explicação

Questão 31 de 105

1

Preencha os espaços em branco para completar o texto.

Dynamic Management Views (DMVs) return server state information that you can use to monitor the health of a server pertaining to SQLCLR:

sys.dm_clr_—Returns a row for each application domain in the server.

sys.dm_clr__—Returns a row for each managed user assembly loaded into the server address space.

sys.dm_clr_—Returns a row for each property related to SQL Server CLR integration, including the version and the state of the hosted CLR.

sys.dm_clr_—Returns a row for all CLR tasks currently running.

Explicação

Questão 32 de 105

1

Preencha os espaços em branco para completar o texto.

To provide more insight into the operation and execution of CLR assemblies, you can use the following DMVs to give you that information for CLR assemblies:

sys.dm_exec__—You can use this to view a cached query plan for a CLR query.

sys.dm_exec__—This contains a row per query statement within the cached plan.

Explicação

Questão 33 de 105

1

Preencha os espaços em branco para completar o texto.

Best practice states that a CLR assembly should not be used to data. This is what is meant to do. They should not spend their time accessing data. Send the data you want worked on to the assembly, instead of having the assembly pull it from SQL Server.

Explicação

Questão 34 de 105

1

Preencha os espaços em branco para completar o texto.

Securing data consists of two essential parts: (which is proving you are who you say you are) and (which defines the data you have access to, and what you can do to the data).

Explicação

Questão 35 de 105

1

Preencha os espaços em branco para completar o texto.

You have two ways to authenticate to the Microsoft SQL Server instance: via authentication and via authentication. When you install SQL Server, you have an option to select whether the SQL Server instance should support authentication only, or whether it should support both and authentication.

Explicação

Questão 36 de 105

1

Preencha o espaço em branco para completar o texto.

With SQL Server authentication, the actual username and password are stored in the database within the database instance.

Explicação

Questão 37 de 105

1

Preencha os espaços em branco para completar o texto.

When you use SQL Server authentication, the account and password are passed to the database instance, which then the password and compares the username and password against the list of SQL accounts stored within the master database.

Explicação

Questão 38 de 105

1

Preencha os espaços em branco para completar o texto.

You can configure SQL Server logins to follow the Windows password to enforce password and password .

Explicação

Questão 39 de 105

1

Preencha os espaços em branco para completar o texto.

A best practice is to authenticate to SQL Server with a Windows . That way, the SQL Server administrator only has to configure a small number of one time, and then the Windows security administrators can control access by assigning users to the Windows configured as in SQL Server.

Explicação

Questão 40 de 105

1

Preencha o espaço em branco para completar o texto.

Because of the differences in SQL Server and Windows authentication, authentication is considered to be much less secure, and should be disabled whenever possible.

Explicação

Questão 41 de 105

1

Preencha os espaços em branco para completar o texto.

A SQL Server is an identity that is configured in the SQL Server instance. The is used to authenticate a client to SQL Server. When an administrator creates a , it is associated with credentials—a SQL Server or Windows

Explicação

Questão 42 de 105

1

Preencha os espaços em branco para completar o texto.

Because the database is associated with a stored in the database of the instances, if a database is moved to a different SQL Server instance, the associated with the database must be created in the new instance to allow users to access the database.

Explicação

Questão 43 de 105

1

Preencha os espaços em branco para completar o texto.

SQL Server 2012 introduced a new concept called the user. These users exist only within a single database and are not associated with an instance-level .

Explicação

Questão 44 de 105

1

Preencha os espaços em branco para completar o texto.

A is simply a Windows account that doesn't have a corresponding login at the server level.

Explicação

Questão 45 de 105

1

Preencha os espaços em branco para completar o texto.

Proper - security within the database is key to keeping data within the SQL Server instance safe from intruders

Explicação

Questão 46 de 105

1

Preencha os espaços em branco para completar o texto.

The following three statements are used when changing permissions in SQL Server:

is used to assign rights.
is used to prevent access.
is used to remove either of the above

Explicação

Questão 47 de 105

1

Preencha os espaços em branco para completar o texto.

When granting permissions in SQL Server, you must remember that always overwrites a .

Explicação

Questão 48 de 105

1

Preencha os espaços em branco para completar o texto.

If we needed to assign rights for selecting and inserting data into the Users table to a user called MyUser - and gave them the ability to the same access to others... you would use the syntax...

, ON dbo.Users TO WITH

Explicação

Questão 49 de 105

1

Preencha os espaços em branco para completar o texto.

The biggest difference between instance-wide privileges and database-wide privileges is that instance-wide privileges are granted directly to the , whereas database-wide privileges are granted to , and these are mapped to

Explicação

Questão 50 de 105

1

Preencha os espaços em branco para completar o texto.

In-memory is an enterprise-level feature that brings to businesses and users of all sizes performance that was previously only attainable to organizations that could afford to spend several hundreds of thousands of dollars on hardware. It is available in SQL Server 2014 Developer, Evaluation, and Enterprise editions only. To perform the exercises that follow, you must be running one of those editions. In-memory is also referred to as tables.

Explicação

Questão 51 de 105

1

Preencha os espaços em branco para completar o texto.

When using In Memory , No changes are permitted once the memory optimized table has been created. No ALTER statements are allowed, all must be created inline as there is no support for , , or INDEX statements.

Explicação

Questão 52 de 105

1

Preencha os espaços em branco para completar o texto.

A memory-optimized table can have between and indexes, and, except for the index, they cannot be .

Explicação

Questão 53 de 105

1

When using In Memory OLTP, consider the scenario. You will be doing a lot of seek operations. You want to have specific queries where you are getting only one row, or a set of very specific rows return. What type of index should you use?

Selecione uma das seguintes:

  • Unique Index

  • Range Index

  • Hash Index

  • Primary Key Index

  • Compound Index

Explicação

Questão 54 de 105

1

Preencha o espaço em branco para completar o texto.

When using In Memory OLTP, if you wanted to search on a range of values within a memory optimised table - e.g. such as orders that occurred after a different date, then a hash index is not the type of index you should use. You should use a index.

Explicação

Questão 55 de 105

1

Preencha os espaços em branco para completar o texto.

The process of monitoring a SQL Server installation, identifying bottlenecks, implementing corrective action and monitoring the affects is called the .

Explicação

Questão 56 de 105

1

Preencha os espaços em branco para completar o texto.

When making changes to a SQL Server configuration or schema, it's important to understand the following concerns..

Will there be a significant increase to the base?
Will there be a significant increase the on the server?
Will there be a significant increase in data ?

Explicação

Questão 57 de 105

1

Preencha os espaços em branco para completar o texto.

describes the way the operating system behaves regarding power consumption. Each Windows operating system comes with three default options...

—This setting matches capacity to demand.

—This setting increases the performance of the CPU / hardware at the expense of energy consumption.

—This setting limits performance to save energy and reduce operating costs.

Explicação

Questão 58 de 105

1

If your SQL Server is running on a Windows Server with the Power Saver power configuration option - what impact will that have on your server?

Selecione uma das seguintes:

  • The Frequency of your CPU's is capped so it will run slower

  • The Frequency of your CPU's is capped, when detecting low workload

  • The Fans will will run slower, increasing CPU temperature resulting in a small increase in speed

  • The CPU's in the server will become overclocked

  • There will be no effect

Explicação

Questão 59 de 105

1

Preencha os espaços em branco para completar o texto.

Leaving the Windows Server power configuration option to can cause an issue called . This is when, instead of being used, certain from your CPU are not being used.

Explicação

Questão 60 de 105

1

Preencha os espaços em branco para completar o texto.

In SQL Server, you can skip the of data files, database backups, and log backups to drastically increase the performance of these operations.

Explicação

Questão 61 de 105

1

Preencha os espaços em branco para completar o texto.

By adding the SQL Server to the 'Perform volume maintenance tasks' group in the Windows Local , you prevent initialising files occurring when they are created or extended (database files, backup files, log files etc) - and drastically increase the performance of those tasks.

Explicação

Questão 62 de 105

1

Preencha os espaços em branco para completar o texto.

Planning, sizing, testing, and monitoring can provide you with the information you need to determine and monitor SQL Performance. You can break down this process into three steps:

1. Start by identifying your critical targets for usage, allocation, and throughput.
2. Create a to measure against
3. Once deployed, monitor your critical measurements against your .

Explicação

Questão 63 de 105

1

Preencha os espaços em branco para completar o texto.

When planning the design and platform for your SQL Database you must consider the user load. Users usually fall into different groups based on either job function or feature usage and you need to know who is going to use the system. Particularly...

1. The of users and their
2. Peak rate
3. What they are going to do resulting in procedure calls / data access.

Explicação

Questão 64 de 105

1

Preencha os espaços em branco para completar o texto.

In order to monitor Server Performance, a Production DBA can use the following tools...

Windows —This gives a quick, high-level view of server performance and use of resources.
System —A detailed view of Server performance and per-instance SQL Server–specific counters.
(MDW) — A DB that collects Perfmon and Data Collector outputs for troubleshooting
(DMVs) — Sys objects that contain server state information for problem diagnosis

Explicação

Questão 65 de 105

1

Preencha os espaços em branco para completar o texto.

The (VMM) is the part of the operating system that manages all the physical memory and shares it between all the processes that need memory on the system. Its job is to provide each process with memory when it needs it, although the physical memory is actually shared between all the processes running on the system at the same time. It uses a (one per hard drive partition) to store memory to disk when it's not directly needed. When a request is made for a piece of data in memory that cannot be read from actual memory, this is called a .

Explicação

Questão 66 de 105

1

Preencha os espaços em branco para completar o texto.

Reducing VMM always results in better performance. If it occurs, for best performance, the should be on fast disks that have minimal disk usage activity, and the disks should be periodically to ensure that the is contiguous on the disks, reducing the disk head movement and increasing performance.

Explicação

Questão 67 de 105

1

Preencha o espaço em branco para completar o texto.

The metric in the Windows System Monitor to measure paging and page file usage is... Paging file: % Usage - which, as a guide, should be less than percent.

Explicação

Questão 68 de 105

1

Preencha os espaços em branco para completar o texto.

There are two kinds of that can occur when SQL Server requests new memory - they are classified as (when a new piece of memory is required that's yet to be created) and (when a piece of memory has already been created, and has been offloaded to a , and needs reloading). The type should be minimised as these cause poor performance.

Explicação

Questão 69 de 105

1

When building a SQL Server platform, it's generally considered that more disks are invariably faster than fewer disks. True or False?

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 70 de 105

1

Preencha o espaço em branco para completar o texto.

is a commonly used tool for I/O subsystem measurement and characterization to baseline an I/O subsystem. It is both a workload generator and a measurement tool that can emulate a disk or network I/O load.

Explicação

Questão 71 de 105

1

Preencha os espaços em branco para completar o texto.

When monitoring SQL Server performance, a commonly used disk performance metric is disk latency, which is measured by Windows System Performance Monitor using the Avg Sec/, Avg Sec/, and Avg Sec/ counters. Target disk latencies are as follows:

Database transaction log—Less than ms : ideally ms
OLTP data—Less than ms
Decision Support Systems (OLAP and Reporting) data—Less than ms

Explicação

Questão 72 de 105

1

Preencha o espaço em branco para completar o texto.

A RAID set contains two or more disks, and the data is striped across all the disks. This RAID level provides no redundancy or fault tolerance because a disk failure destroys the array. During a write operation, the data is broken up into blocks, and the blocks are written onto the disks simultaneously. This increases bandwidth during read operations because multiple sections of the entire chunk of data are able to be read in parallel. However this does not implement any error checking. This is not recommended for any SQL Server volume.

Explicação

Questão 73 de 105

1

Preencha o espaço em branco para completar o texto.

With RAID , one disk is mirrored onto another—meaning two disks are needed to be configured in the RAID set. This is fast because reads can (but not always) occur from both disks, and writes incur minimal performance reduction. It provides redundancy from a disk failure, but increases storage costs because usage capacity is 50 percent of the available disk drives.

Explicação

Questão 74 de 105

1

Preencha os espaços em branco para completar o texto.

RAID is a mirrored set in a striped set with a minimum of disks. There will always be an even number of disks in the set. This is normally the fastest arrangement available.

Explicação

Questão 75 de 105

1

Preencha o espaço em branco para completar o texto.

Raid is striping with parity with a minimum of three disks. During writes it must calculate the data parity—for example, for each write operation in a three-disk array, it writes data across two disks and parity across the third disk. The RAID firmware distributes the parity blocks across all the disks in the RAID set to avoid a write hot spot.

Explicação

Questão 76 de 105

1

Preencha os espaços em branco para completar o texto.

A RAID set contains a minimum of four disks, and distributes two copies of the parity across the disks. This provides enhanced fault tolerance because two drive failures could occur without destroying the data on the array. This RAID implementation makes large RAID groups more practical because larger capacity drives extend the time needed to recover from a drive failure. However, this RAID level should not be used. It is actually Dual Parity and takes the parity region from RAID and duplicates it so each disk has two parity regions. While this allows it to recover from the possible loss of two drives, it has a performance penalty as well.

Explicação

Questão 77 de 105

1

Preencha os espaços em branco para completar o texto.

You should use fast, robust storage for SQL data files and SQL log files. In general, for most SQL Server implementations, the recommendation for both is to use with (RAID ). When unable to use this, the second preference would be RAID especially If the nature of the database implementation is to service an application that has a high number of operations compared to , or the database is configured to be -.

Explicação

Questão 78 de 105

1

Preencha os espaços em branco para completar o texto.

For critical systems, the operating system and SQL binary files should be on a disk array, but it needs to be only a single pair.

Explicação

Questão 79 de 105

1

Preencha os espaços em branco para completar o texto.

The goal of performance tuning SQL Server 2014 is to minimize the response time for each SQL statement and increase system throughput. This can maximize the scalability of the entire database server by reducing - latency, as well as optimizing throughput and processing time.

Explicação

Questão 80 de 105

1

Preencha os espaços em branco para completar o texto.

Different demands are made by an (OLTP) environment than are made by a (DSS) environment. A DSS environment often needs a heavily optimized subsystem to keep up with the massive amounts of data retrieval (or reads) it performs. An OLTP transactional environment needs an subsystem optimized for more of a balance between -and- operations.

Explicação

Questão 81 de 105

1

Preencha os espaços em branco para completar o texto.

Each SQL Server database is made up of potentially three file types...

a data file (.)
one or more data files (.)
files (.).

Explicação

Questão 82 de 105

1

Preencha os espaços em branco para completar o texto.

To maximize SQL Server performance gain, make sure you place the individual files and the files all on separate physical (LUNs). You can place reference-archived data or data that is rarely updated in a - filegroup. This filegroup can then be placed on slower disk drives (LUNs) because it is not used very often. This frees up disk space and resources so that the rest of the database may perform better.

Explicação

Questão 83 de 105

1

Preencha o espaço em branco para completar o texto.

Because database file location is so important to I/O performance, you should consider functional changes to the database when you create your primary data-file placement strategy. The reason for this is that this database's performance has a rather large impact on system performance because it is the most dynamic database on the system, and needs to be the quickest.

Explicação

Questão 84 de 105

1

Preencha os espaços em branco para completar o texto.

To avoid timeouts, you should set the autogrow operation (especially for the database) to a growth rate that is appropriate for your environment. In general, you should set the growth rate to a number that will be large enough to allow normal query activity to continue without other growth iterations. This should be in a minimum of GB increments. If you have instant initialization turned on, the typical blocking that occurs for data file growths should not occur.

Explicação

Questão 85 de 105

1

Preencha os espaços em branco para completar o texto.

If you notice your files growing in between restarts, make the default equivalent to the highest level of growth. Be sure to make every file the same size.

Explicação

Questão 86 de 105

1

Preencha os espaços em branco para completar o texto.

When configuring the database, pre-allocate space for the database files based on the results of monitoring growth of normal operation, however to prevent SQL Server from stopping, leave enabled in case runs out of space

Explicação

Questão 87 de 105

1

Preencha os espaços em branco para completar o texto.

Per SQL Server instance, as a rule of thumb, create one data file per or , all equal in size up to data files

Explicação

Questão 88 de 105

1

Preencha os espaços em branco para completar o texto.

Best practices dictate that you must ensure that is in mode, which enables space recovery

Explicação

Questão 89 de 105

1

Preencha os espaços em branco para completar o texto.

In SQL Server terms, is the breaking up of a large object (such as a table) into smaller, manageable pieces. A is the unit on which is based.

Explicação

Questão 90 de 105

1

Preencha os espaços em branco para completar o texto.

As systems have become increasingly faster and more powerful, the preferred method of has become to use the SQL Server capability to database tables and their indexes over filegroups within a single database. This generally supercedes the use of (DPVs). One important note is that requires an Edition of SQL Server, whereas DPVs does not.

Explicação

Questão 91 de 105

1

Preencha o espaço em branco para completar o texto.

If you choose to use partitioning, data size matters. You should not partition a table that is less than GB. You may not see performance benefits if the table is too small, and may even create additional overhead.

Explicação

Questão 92 de 105

1

Preencha os espaços em branco para completar o texto.

When implementing partitioning within SQL Server, you must create a partition in order to provide the contiguous boundary ranges of each partition. It should be declared as either or - which determines whether each value declared is the lower or upper value range for the partition.

Explicação

Questão 93 de 105

1

Preencha os espaços em branco para completar o texto.

If you wished to create a partition function called SplitYears that, based upon a Date & Time, would store data in the following partitions... 2005 - 2006 , 2007 - 2008, 2009 - 2010, 2011, 2012+ - you would use the following syntax...

CREATE
()
AS
FOR VALUES (
'20050101 00:00:00.000', '20070101 00:00:00.000','20090101 00:00:00.000', '20110101 00:00:00.000',
'20120101 00:00:00.000')

Explicação

Questão 94 de 105

1

Preencha os espaços em branco para completar o texto.

As a best practice, objects should be created and mapped to a filegroup outside of the filegroup, leaving the that filegroup for objects only. This ensures database availability if an outage occurs that affects the availability of any filegroup outside of the filegroup.

Explicação

Questão 95 de 105

1

Preencha os espaços em branco para completar o texto.

A partition is what maps database objects such as a table to a physical entity such as a filegroup, and subsequently to a file. Creating one involves declaring a mapping for the partition used, to individual filegroups.

Explicação

Questão 96 de 105

1

Preencha os espaços em branco para completar o texto.

When used in production, leads to better utilization because fewer reads and read-ahead reads are required. Data is on and in - and this allows for a more efficient use of buffer pool resources.

Explicação

Questão 97 de 105

1

In SQL Server Enterprise Edition - Compression can be used on the following objects...

Selecione uma ou mais das seguintes:

  • User Tables

  • System Tables

  • Clustered Indexes

  • Non Clustered Indexes

  • Index Views

  • Partitioned tables and indexes where each partition can have a different compression setting

Explicação

Questão 98 de 105

1

Preencha os espaços em branco para completar o texto.

In SQL Server 2014 Enterprise Edition, if you wanted to modify a table to use Row Compression, you would execute the following statement...

ALTER MyTable WITH ( = )

Explicação

Questão 99 de 105

1

Preencha os espaços em branco para completar o texto.

In SQL Server 2014 Enterprise Edition, if you wanted to modify a table to use Page Compression, you would execute the following statement...

ALTER MyTable WITH ( = )

Explicação

Questão 100 de 105

1

Preencha os espaços em branco para completar o texto.

SQL Server 2014 has a special algorithm for scheduling user processes using the SQL Operating System. It manages one per one logical for user processes. There are two types of these within SQL Server:

are used by internal SQL Server processes. There is currently a 1:1 ratio to logical core plus four additional schedulers used to monitor internal processes for AlwaysOn, the Dedicated Administrator Connection, and In-Memory OLTP.

are available for user queries and user processes. The SQLOS is the internal operating system built in SQL Server. It provisions CPU utilization, thread scheduling, task execution, and memory distribution.

Explicação

Questão 101 de 105

1

Preencha os espaços em branco para completar o texto.

For reasons of data integrity, only one processor can update any piece of data at a time. Other processors that have copies in their caches can have their local copy “invalidated” and thus must be reloaded. This mechanism is referred to as , which requires that all the caches are in agreement regarding the location of all copies of the data, and which processor currently has permission to perform the update.

Explicação

Questão 102 de 105

1

Preencha os espaços em branco para completar o texto.

By default, the of () value is set to , which enables SQL Server to consider all processors when creating an execution plan. In most systems, setting this to a value equivalent to the number of in one NUMA node is recommended. This limits the overhead introduced by implementing this..

Explicação

Questão 103 de 105

1

Preencha os espaços em branco para completar o texto.

When using System Performance Monitor, the SQL Server counter signifies the balance between servicing user requests from data in the data cache (memory) and having to request data from the I/O subsystem (disk). Ideally, this value should be well over percent.

Explicação

Questão 104 de 105

1

Preencha os espaços em branco para completar o texto.

When monitoring SQL Server using the System Performance Monitor - another reliable indicator of instance memory pressure is the SQL Server : Buffer Manager : (PLE) counter. This counter indicates the amount of time that a buffer page remains in memory (in seconds) - this should not fall below a calculated threshold. The rule of thumb to calculating the threshold is to calculate it using the following formula... MaxSQLServerMemory(GB) x .

Explicação

Questão 105 de 105

1

Preencha os espaços em branco para completar o texto.

Be careful not to under-allocate total system memory, because it forces the operating system to start moving page faults to a physical disk called . When excessive takes places, it uses disk and resources, which can introduce in the overall server, resulting in slower database performance. You can identify a lack of adequate system memory by monitoring the Memory: / sec performance counter. It should be as close to as possible, because a higher value indicates that more hard-paging is taking place

Explicação