SQL Server 2014 - Part 1

Description

Intermediary SQL Server 2014 Quiz on SQL Server 2014 - Part 1, created by Paul Doman on 01/11/2015.
Paul Doman
Quiz by Paul Doman, updated more than 1 year ago
Paul Doman
Created by Paul Doman about 9 years ago
55
1

Resource summary

Question 1

Question
A database may consist of multiple [blank_start]filegroups[blank_end], with each containing at least one data file. Data Files are divided into 8KB [blank_start]data pages[blank_end], which are part of 64KB [blank_start]Extents[blank_end].
Answer
  • filegroups
  • data pages
  • Extents

Question 2

Question
The [blank_start]fill factor[blank_end] option when creating or altering a database controls how full each data page is for a database.
Answer
  • fill factor

Question 3

Question
SQL Server 2014 can bring a database online if one of it's files is corrupted - true or false?
Answer
  • True
  • False

Question 4

Question
Within each instance of SQL Server 2014, the [blank_start]master[blank_end] database contains meta data about each hosted database - and the [blank_start]resource[blank_end] database contains information about the instance itself.
Answer
  • resource
  • master

Question 5

Question
If you want to include a stored procedure in all newly created databases, you should place this within the [blank_start]model[blank_end] database.
Answer
  • model

Question 6

Question
The msdb database supports the following functions within a SQL Server 2014 instance...
Answer
  • SQL Server Agent
  • Log Shipping
  • SQL Server Integration Services
  • Backup & Restore
  • Customer Data
  • Transaction Logs
  • Operators & Alerts

Question 7

Question
In order to group related objects together within a database, you could create and assign them to a [blank_start]schema[blank_end]
Answer
  • schema

Question 8

Question
How would you select all data from a table called "Employees" within a schema called "HumanResources"? .... SELECT * FROM [blank_start]HumanResources.Employees[blank_end]
Answer
  • HumanResources.Employees

Question 9

Question
You can create an alternative name for database objects, either on local or linked server instances, using a [blank_start]synonym[blank_end]
Answer
  • synonym

Question 10

Question
If you regularly need to reference a table within a database on a linked server within your SQL Code, you could use a [blank_start]synonym[blank_end] in order to avoid widespread direct references to the server (therefore creating a binding dependency) in your code.
Answer
  • synonym

Question 11

Question
Which of the following exist within SQL Server 2014?
Answer
  • Dynamic Management Objects (DMO)
  • Dynamic Management Views (DMV)
  • Dynamic Management Functions (DMF)
  • Dynamic Management Tables (DMT)
  • Dynamic Management Stored Procedures (DMP)

Question 12

Question
As a general rule of thumb, character data types requiring 5 or less bytes of data should be stored in a [blank_start]char[blank_end] data type, above that, a [blank_start]varchar[blank_end] data type should be used.
Answer
  • char
  • varchar

Question 13

Question
A char data type can store a maximum of [blank_start]8000[blank_end] characters, however an nchar data type can store a maximum of [blank_start]4000[blank_end] characters.
Answer
  • 8000
  • 4000

Question 14

Question
Which of the following data types can store unicode data?
Answer
  • char(n)
  • nchar(n)
  • nvarchar(max)
  • text
  • varchar(n)
  • varchar(max)

Question 15

Question
The [blank_start]bit[blank_end] data type can store the values 0, 1 or null.
Answer
  • bit

Question 16

Question
The [blank_start]tinyint[blank_end] data type can store whole numbers between 0 and 255.
Answer
  • tinyint

Question 17

Question
The [blank_start]smallint[blank_end] data type can store whole numbers between -32,768 and 32,767.
Answer
  • smallint

Question 18

Question
The [blank_start]int[blank_end] data type can store whole numbers between -2,147,483,648 and 2,147,483,647.
Answer
  • int

Question 19

Question
The [blank_start]bigint[blank_end] data type can store whole numbers between -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
Answer
  • bigint

Question 20

Question
The [blank_start]money[blank_end] data type can store financial values from -922,337,203,685,477.5808 to 922,337,203,685,477.5807.
Answer
  • money

Question 21

Question
The [blank_start]smallmoney[blank_end] data type can store financial values between -214,748.3648 and 214,748.3647.
Answer
  • smallmoney

Question 22

Question
If you wanted to define a field which could store the value 99999.999 using a decimal data type - you would specify the scale to be the value [blank_start]3[blank_end] and the precision to be the value [blank_start]8[blank_end].
Answer
  • 3
  • 8

Question 23

Question
SQL Server 2014 would use the same "mantissa" if you defined a fields of data type ... float(10), float(15), float(19), float (25), float(30). True or False?
Answer
  • True
  • False

Question 24

Question
An image data type can store up to [blank_start]2[blank_end]GB of binary data.
Answer
  • 2

Question 25

Question
If you wished to store binary database within a data type, which *could* exceed 2GB of data - you would use the data type [blank_start]varbinary(max)[blank_end].
Answer
  • varbinary(max)

Question 26

Question
The [blank_start]date[blank_end] data type can represent data from January 1st, 0001 to December 31st, 9999.
Answer
  • date

Question 27

Question
The [blank_start]datetime[blank_end] data type can stored dates between January 1st, 1753 to December 31st, 9999 accurate to the nearest 3.33 millisecond.
Answer
  • datetime

Question 28

Question
The [blank_start]datetime2[blank_end](n) data type can stored dates between January 1st, 0001 to December 31st, 9999 with fractions of a second represented to n decimal places.
Answer
  • datetime2

Question 29

Question
The [blank_start]smalldatetime[blank_end] data type can stored dates between January 1st, 1900 to June 6th, 2079 accurate to 1 minute.
Answer
  • smalldatetime

Question 30

Question
The [blank_start]time[blank_end](n) data type stores time in Hours, Minutes, Seconds with fractions of a second represented to n decimal places.
Answer
  • time

Question 31

Question
The [blank_start]SQL_Variant[blank_end] data type can store the value of any other system data type - except text, ntext, image, timestamp, xml, varchar(max), nvarchar(max) and varbinary(max).
Answer
  • SQL_Variant

Question 32

Question
The [blank_start]rowversion[blank_end] data type (synonym: [blank_start]timestamp[blank_end]) is automatically updated whenever a row is inserted or updated.
Answer
  • rowversion
  • timestamp

Question 33

Question
A table can have multiple rowversion columns - true or false?
Answer
  • True
  • False

Question 34

Question
A table can have multiple timestamp columns - true or false?
Answer
  • True
  • False

Question 35

Question
A [blank_start]uniqueidentifier[blank_end] data type can be used to store a GUID.
Answer
  • uniqueidentifier

Question 36

Question
Which statements are true regarding the functions NewSequentialID() and NewID()?
Answer
  • the former is technically guessable, the latter isn't.
  • the former is not technically guessable, the latter is
  • the former is faster than the latter
  • the latter is faster than the former
  • they both require a network card to be globally unique
  • neither require a network card to be globally unique
  • neither need a network card to create a GUID

Question 37

Question
SQL Server 2014 is available in which of these editions?
Answer
  • Standard Edition
  • Enterprise Edition
  • Business Intelligence Edition
  • Express Edition
  • Developer Edition
  • Web Edition
  • Compact Edition
  • Workgroup Edition
  • Small Business Edition
  • Data Centre Edition

Question 38

Question
SQL Server 2014 Standard Edition can use [blank_start]16[blank_end] CPU Cores and [blank_start]128[blank_end]GB of memory.
Answer
  • 16
  • 128

Question 39

Question
SQL Server 2014 Business Intelligence Edition can use [blank_start]16[blank_end] CPU Cores and [blank_start]128[blank_end]GB of memory for databases (unlimited memory for business intelligence).
Answer
  • 16
  • 128

Question 40

Question
SQL Server 2014 Enterprise edition can use all available cores and memory within a server - true or false?
Answer
  • True
  • False

Question 41

Question
Which SQL Server Editions support Basic Online Transactional Processing?
Answer
  • Standard Edition
  • Business Intelligence Edition
  • Enterprise Edition

Question 42

Question
Which SQL Server Editions support In Memory Online Transactional Processing?
Answer
  • Standard Edition
  • Business Intelligence Edition
  • Enterprise Edition

Question 43

Question
Which SQL Server Editions support Advanced Auditing and Transparent Data Encryption?
Answer
  • Standard Edition
  • Business Intelligence Edition
  • Enterprise Edition

Question 44

Question
Which SQL Server 2014 Editions support Data Warehousing (ColumnStore Index, Compression, Partitioning)?
Answer
  • Standard Edition
  • Business Intelligence Edition
  • Enterprise Edition

Question 45

Question
Which SQL Server 2014 Editions support Always On functionality?
Answer
  • Standard Edition
  • Business Intelligence Edition
  • Enterprise Edition

Question 46

Question
SQL Server 2014 is licensed on a per-processor basis.
Answer
  • True
  • False

Question 47

Question
If your server has two CPU Sockets with 8 cores each, you would need to purchase [blank_start]8[blank_end] SQL Server 2014 license packs in order to fully license it.
Answer
  • 8

Question 48

Question
When licensing SQL Server 2014 - you need to license a minimum of [blank_start]4[blank_end] cores for each CPU present on the server.
Answer
  • 4

Question 49

Question
With a Software Assurance / Enterprise Agreement - a SQL Server 2014 Enterprise Edition may be licensed on a per-host basis - covering the maximum number of cores on the server. Once licensed in this manner, a maximum of 16 Virtual instances are permitted on the same machine.
Answer
  • True
  • False

Question 50

Question
SQL Server 2014 will perform faster running on two 1.6 GHz processors than on a single 3.2 GHz processor - true or false?
Answer
  • True
  • False

Question 51

Question
When specifying Key Storage performance for a device - it is recommended that the [blank_start]IOPS[blank_end] and [blank_start]Throughput[blank_end] are high and the [blank_start]I/O Latency[blank_end] is zero (or close to zero).
Answer
  • Throughput
  • IOPS
  • I/O Latency
  • IUPS
  • IPS
  • OPS
  • Input
  • Output
  • MBps
  • Access Speed
  • Spin Up Speed

Question 52

Question
SQL Server [blank_start]collation[blank_end] specifies the set of rules regarding how data is stored, sorted and compared.
Answer
  • collation

Question 53

Question
Which type of Account is recommended for running a SQL Server 2014 instance, if it requires network access?
Answer
  • Domain Account
  • Local System Account
  • Local Service Account
  • Network Service Account
  • Local Server Account

Question 54

Question
How should SQL Server 2014 service accounts be configured across an enterprise?
Answer
  • Each instance runs as a Network Service Account
  • Each instance runs as a Local Service Account
  • Each instance runs using a specially created Domain Service Account for all SQL Servers
  • Each instance runs using a specially created Domain Service Account per SQL Server instance
  • A mixture of the Network, Local and Domain Accounts depending on need

Question 55

Question
SQL Server 2014 Analysis Services can be installed in which of the following modes?
Answer
  • Standard Mode
  • Advanced Mode
  • OLTP Mode
  • Multidimensional and Data Mining Mode (UDM)
  • Tabular Mode
  • ColumnStore Mode

Question 56

Question
Which of the following are storage and processing modes in SQL Server 2014 Analysis Services UDM mode?
Answer
  • MOLAP
  • OLAP
  • ROLAP
  • HOLAP
  • SOLAP
  • ColumnStore
  • In Memory OLTP
  • Cubes

Question 57

Question
In SQL Server 2014 Analysis Services UDM mode ... [blank_start]MOLAP[blank_end] is a storage and processing mechanism where aggregates are stored in a separate specialised database to a typical SQL Database - and used to answer queries instead.
Answer
  • MOLAP

Question 58

Question
In SQL Server 2014 Analysis Services UDM mode ... [blank_start]ROLAP[blank_end] is a storage and processing mechanism where aggregates are calculated via query cache or directly from the relational SQL Database data source.
Answer
  • ROLAP

Question 59

Question
In SQL Server 2014 Analysis Services UDM mode ... [blank_start]HOLAP[blank_end] is a storage and processing mechanism where aggregates are stored and queried partially in a separate specialised database with more detailed queries retrieved directly from the SQL Server Relational Database data source.
Answer
  • HOLAP

Question 60

Question
Analysis Services [blank_start]Tabular Mode[blank_end] databases are column based databases that enable high levels of compression because of the reduced need to store discrete values along with advanced compression algorithms.
Answer
  • Tabular Mode

Question 61

Question
Analysis Services Tabular Mode supports a new approach model called the [blank_start]Business Intelligence Semantic Model[blank_end] (BISM)
Answer
  • Business Intelligence Semantic Model

Question 62

Question
Which of the following Query Mode options when using Tabular Mode in Analysis Services?
Answer
  • MOLAP
  • HOLAP
  • ROLAP
  • QueryDirect
  • DirectQueryWithInMemory
  • Partitioned Cubes
  • DirectAccess
  • InMemoryWithDirectQuery
  • InMemory
  • DirectQuery

Question 63

Question
Which of the following Tabular Mode Query Options is similar to the MOLAP processing mode in UDM mode?
Answer
  • InMemory
  • DirectQuery
  • InMemoryWithDirectQuery
  • DirectQueryWithInMemory

Question 64

Question
Which of the following Tabular Mode Query Options is similar to the ROLAP processing mode in UDM mode?
Answer
  • InMemory
  • DirectQuery
  • InMemoryWithDirectQuery
  • DirectQueryWithInMemory

Question 65

Question
What does UDM mean in SQL Server Analysis Services?
Answer
  • Unified Development Mode
  • United Distribution Method
  • Universal Data model
  • Unified Development Model
  • Unified Dimensional Model
  • Universal Dimensional Model

Question 66

Question
Which of the following tools can help with 'Burning In' a new SQL Server 2014 installation?
Answer
  • SQLLocalDB
  • iisreg
  • SQLIOSim
  • IOPSStress
  • IOMeter
  • SQLLoader
  • Prime95

Question 67

Question
When setting the Maximum Memory available to SQL Server, this should at least [blank_start]4[blank_end] GB less than the total available server memory.
Answer
  • 4

Question 68

Question
The Minimum Memory setting within a SQL Server Instance is reserved when the SQL Service starts up, and never released back to the operating system whilst running.
Answer
  • True
  • False

Question 69

Question
The default [blank_start]network packet[blank_end] size for SQL Server 2014 is 4096 bytes. If [blank_start]Jumbo Frames[blank_end] are supported by the server hardware, this should be increased to 8192 bytes in order to increase performance when the server is subject to a large number of bulk operations.
Answer
  • network packet
  • Jumbo Frames

Question 70

Question
When database files are created or grow, they are zero-filled and block write operations until that task is finished. What should you do to enable Instant File Initialisation in your SQL Instance?
Answer
  • Set the Instant File Initialisation checkbox in Database Properties
  • Set the Instant File Initialisation checkbox in Server Properties
  • issue the command: EXEC sp_configure 'instant file initialisation', '1';
  • Add the SQL Server Service Account to the Administrators group on the local machine
  • Add the SQL Server Service Account to the Perform Volume Maintenance Tasks Local Policy
  • Instant File Initialisation is not a SQL Server feature

Question 71

Question
Adding multiple tempdb data files can increase performance when SQL Server utilises multiple CPUs - true or false?
Answer
  • True
  • False

Question 72

Question
As a guide, when sizing tempdb you should analyse a typical workload in a query plan to determine the rows affected in each stage of the plan - and workout the rows affected count * row size (bytes) to get a good starting size for tempdb. Which stages of the query plan are most useful for this process?
Answer
  • sort
  • hash match
  • spool
  • export
  • index lookup
  • table scan
  • hash

Question 73

Question
It's a good idea to turn on (or auto schedule) auto shrinking on your database in order to reclaim unused space and keep the database small and fast - true or false?
Answer
  • True
  • False

Question 74

Question
What is the preferred method of securing the SA account within a SQL Server Instance?
Answer
  • Nothing - by default it's secured on installation
  • Set a strong password
  • Delete the SA Account altogether and use a Domain Admin account
  • Set a strong password and disable the SA account
  • Set a strong password, disable the account - and then rename it
  • Rename the SA Account to something else

Question 75

Question
SQL Server 2014 when installed in the default instance, communicates on port [blank_start]1433[blank_end].
Answer
  • 1433

Question 76

Question
Which of the following tools can be used to analyse a current server to ensure an upgrade to 2014 will run successfully to completion by performing in place analysis of databases for potential compatibility issues.
Answer
  • SQL Server Mangement Server
  • Visual Studio .NET IDE with Data Tools installed
  • SQL Server Upgrade Advisor
  • SQL Profiler
  • SQLDMO Object Library
  • SQL Server Upgrade Assistant

Question 77

Question
Which of the following should be performed as part of a pre-upgrade plan when upgrading to SQL Server 2014
Answer
  • Set data and log files to autogrow
  • Set the master and msdb databases to single user mode
  • Execute the command: EXEC sp_configure 'no new connections',1
  • Disable all startup stored procedures
  • Shrink tempdb so it has enough room to grow during the upgrade
  • Disabled Trace Flags as they may not exist in SQL Server 2014
  • Migrate any SQL Mail instances into Database Mail

Question 78

Question
Use the SQL Server [blank_start]Upgrade Advisor[blank_end] tool to check for conditions, situations or known errors that might affect the upgrading process.
Answer
  • Upgrade Advisor

Question 79

Question
RESTORE | BACKUP { DATABASE | LOG } WITH [blank_start]PASSWORD[blank_end] is no longer supported.
Answer
  • PASSWORD

Question 80

Question
SQL Server 2014 supports returning result sets from triggers. True of False?
Answer
  • True
  • False

Question 81

Question
SET [blank_start]ROWCOUNT[blank_end] for INSERT, UPDATE and DELETE statements has been depcrecated.
Answer
  • ROWCOUNT

Question 82

Question
During an upgrade to SQL Server 2014 - all databases with Full-Text Catalog are marked as Full-Text [blank_start]Disabled[blank_end] - because of the potential time involved in rebuilding the catalog.
Answer
  • Disabled

Question 83

Question
Which of the following can be upgraded, using an in place update, to SQL Server 2014 64bit Edition?
Answer
  • SQL Server 2005 32bit Edition
  • SQL Server 2005 64bit Edition
  • SQL Server 2008 32bit Edition
  • SQL Server 2008 64bit Edition
  • All of them
  • None of them

Question 84

Question
Which of the following can be upgraded, using a side-by-side upgrade, to SQL Server 2014 64bit Edition?
Answer
  • SQL Server 2005 32bit Edition
  • SQL Server 2005 64bit Edition
  • SQL Server 2008 32bit Edition
  • SQL Server 2008 64bit Edition
  • All of them
  • None of them

Question 85

Question
After upgrading to SQL Server 2014 - query performance may be poor due to outdated or unsupported statistics. In order to rectify this situation, you should call the sp_[blank_start]updatestats[blank_end] stored procedure with the [blank_start]resample[blank_end] argument to rebuild the statistics based on an inherited sampling ratio.
Answer
  • updatestats
  • resample

Question 86

Question
In order to administer the SQL Server services - for example: changing the listening port for an instance - you would use the SQL Server [blank_start]Configuration Manager[blank_end] Tool.
Answer
  • Configuration Manager

Question 87

Question
Which of the following communications protocols can SQL Server 2014 use?
Answer
  • Shared Memory
  • Named Pipes
  • TCP/IP
  • VIA
  • Bonjour
  • IPX/SPX
  • Novell

Question 88

Question
If you wish to change the startup parameters of an instance of SQL Server 2014 - you should use the SQL Server [blank_start]Configuration Manager[blank_end] tool, access properties of the SQL Server instance and access the [blank_start]startup parameters[blank_end] tab.
Answer
  • Configuration Manager
  • startup parameters

Question 89

Question
You can start SQL Server 2014 requesting it to use a different master database - useful if a SQL Instance won't start. How would you do this?
Answer
  • Use the SQL Server Repair tool to repair the master database
  • Rename the existing master.mdf and master.ldf files - SQL will ask where it can find a replacement master database where you can choose the appropriate files.
  • Start the SQL Server via the command line, in 'safe' mode, and follow on screen instructions to point to a new master database.
  • Start the SQL Server via the command line, using the -d and -l switches to specify the path to the replacement master mdf and ldf files.

Question 90

Question
You can use the [blank_start]-T[blank_end] (uppercase) switch from the command line to start SQL Server and turn on Trace flags for all connections.
Answer
  • T

Question 91

Question
Starting SQL Server 2014 from the command line, using the -[blank_start]m[blank_end] switch, starts SQL Server in single-user or 'master recovery mode' enabling you to perform critical server maintenance (e.g. restore master database).
Answer
  • m

Question 92

Question
In order to instruct SQL Server 2014 to run startup stored procedures when an instance starts, you must do the following...
Answer
  • issue the command: EXEC sp_configure 'scan for startup procs', 1
  • Issue the command: EXEC sp_configure 'startup procs',1
  • In the SQL Server properties, set the 'Run Startup Procedures' in the 'Start Up' tab
  • start SQL Server from the command line with the -s switch
  • Startup Stored Procedures are not supported by SQL Server 2014

Question 93

Question
In order to make the following stored procedure a 'startup stored procedure' you would use the syntax... sp_[blank_start]procoption[blank_end] @procname='master.dbo.MyStoredProcedure', @option='[blank_start]startup[blank_end]', @optionvalue='1'
Answer
  • procoption
  • startup

Question 94

Question
When a SQL Server is not allowing new connections, or is overloaded, an administrator can connect using the [blank_start]Dedicated Administrator Connection[blank_end] (DAC) - to force a connection.
Answer
  • Dedicated Administrator Connection

Question 95

Question
In order for an administrator to connect using the Dedicated Administrator Connection - you can connect to the server via SMSS by prefixing the server name with [blank_start]admin[blank_end]: - or, you can start SQL Server via the command line, using the -[blank_start]A[blank_end] switch.
Answer
  • admin
  • A

Question 96

Question
The Dedicated Administrator Connection, as a default, listens on port [blank_start]1434[blank_end].
Answer
  • 1434

Question 97

Question
In order to enable the Dedicated Administrator Connection on a remote SQL Instance, you would need to set the appropriate configuration options on the remote instance as follows... EXEC sp_configure '[blank_start]remote admin connection[blank_end]', 1
Answer
  • remote admin connection

Question 98

Question
In order to view the Edition and version of SQL Server, any non-default configuration options, I/O and CPU statistics by type of activity - you could use the [blank_start]Server Dashboard[blank_end] report.
Answer
  • Server Dashboard

Question 99

Question
Using SQL Management Studio, you can set configuration options by using the sp_[blank_start]configure[blank_end] stored procedure, or use the [blank_start]Server Properties[blank_end] dialog.
Answer
  • configure
  • Server Properties

Question 100

Question
Typically it is recommended that you set the [blank_start]minimum[blank_end] and [blank_start]maximum[blank_end] amount of memory that your SQL instances use in your environment.
Answer
  • minimum
  • maximum

Question 101

Question
Setting the Maximum Worker Threads property to [blank_start]0[blank_end] ensures that SQL Server chooses the optimum number of threads to enable on each processor.
Answer
  • 0

Question 102

Question
Which of the following authentication mechanisms are available within SQL Server?
Answer
  • Kerberos Authentication
  • Domain Trust Authentication
  • Secure Token Two Factor Authentication
  • SQL Server Integrated Authentication
  • Windows Authentication

Question 103

Question
By default, sp_configure only shows / sets basic and commonly used configuration options... in order to view and adjust all configuration options, you would use the command... sp_configure '[blank_start]show advanced options[blank_end]',1 ... and then issue the command [blank_start]RECONFIGURE[blank_end]
Answer
  • show advanced options
  • RECONFIGURE

Question 104

Question
If, when setting a configuration value using sp_configure, SQL Server reports that the value is out of a recommended range - it warns the user. If you wished to proceed and force the change, regardless of the warning, you would use the command... RECONFIGURE WITH [blank_start]OVERRIDE[blank_end]
Answer
  • OVERRIDE

Question 105

Question
To view Error Logs within SQL Server Management Studio, you should right click on the [blank_start]SQL Server logs[blank_end] node, within the [blank_start]Management[blank_end] folder in the Object Tree, and select View -> SQL Server and Windows Lg.
Answer
  • SQL Server logs
  • Management

Question 106

Question
In the Log File Viewer screen in SQL Server Management Studio, you can load log files from Windows Logs - or other SQL instance logs, into one consolidated view - in order to view a unified timeline of events. True or False?
Answer
  • True
  • False

Question 107

Question
Within SQL Server Management Studio, you would use the [blank_start]Activity Monitor[blank_end] screen to view current transactions and determine if there are blocking transactions.
Answer
  • Activity Monitor

Question 108

Question
Using SQL Management Studio, there is a report which details all currently blocking transactions. You can access this by right clicking upon the [blank_start]Server Name[blank_end], select [blank_start]Reports[blank_end] - then, [blank_start]Standard Reports[blank_end], and then choose [blank_start]Activity - All Blocking Transactions[blank_end].
Answer
  • Server Name
  • Database Name
  • Management Node
  • Security Tab
  • Reports
  • Transactions
  • Activity
  • Connections
  • Standard Reports
  • Current Connections
  • Blocking Transactions
  • Current Activity
  • Activity - All Blocking Transactions
  • Activity - All Current Connections
  • Activity - All Suspended Transactions
  • Activity - All Wait State
  • Activity - Blocked Users

Question 109

Question
Using Transact-SQL, you can see who is connected to your SQL instance with either the sp_[blank_start]who[blank_end] (or, more recently, sp_[blank_start]who2[blank_end]) stored procedures.
Answer
  • who
  • who2

Question 110

Question
In order to see all active connections to your SQL Instance, you could use the following command.... sp_who2 '[blank_start]active[blank_end]'
Answer
  • active

Question 111

Question
If you wanted to view the worst performing queries through history in your SQL Instance, you could query the following Dynamic Management View, sys.dm_exec_[blank_start]query[blank_end]_[blank_start]stats[blank_end].
Answer
  • query
  • stats

Question 112

Question
Within SQL Server Management Studio, you can administer many servers at once, issuing commands on each server simultaneously, and consolidating the results into a single result set. This is achieved by creating a [blank_start]Central Management[blank_end] Server - and creating [blank_start]Server Groups[blank_end] within it.
Answer
  • Central Management
  • Server Groups

Question 113

Question
When using a Central Management Server to manage multiple servers, all queries issued to managed servers are sent through [blank_start]trusted[blank_end] connections. If the servers cross domains, you must have [blank_start]trust[blank_end] relationships between them.
Answer
  • trusted
  • trust

Question 114

Question
When installed, SQL Server 2014 will not allow SQL Agent to run - having an 'Agent XPs disabled' tag against it in SQL Server Management Studio. In order to allow SQL Agent to start, you must issue the following command... sp_[blank_start]configure[blank_end] '[blank_start]Agent XPs[blank_end]', 1
Answer
  • configure
  • Agent XPs

Question 115

Question
[blank_start]Maintenance Plans[blank_end] are a quick and easy way to automate routine maintenance tasks in SQL Server 2014.
Answer
  • Maintenance Plans

Question 116

Question
You can perform routine maintenance within SQL Server 2014 by using either the Maintenance Plan [blank_start]Wizard[blank_end] (the quick way) or the Maintenance Plan [blank_start]Designer[blank_end] (the more advanced editor).
Answer
  • Wizard
  • Designer

Question 117

Question
SQL Server [blank_start]Agent[blank_end] can be used to automate tasks within SQL Server, and consists of four basic components... [blank_start]Jobs[blank_end] : Defines the work to be done [blank_start]Schedules[blank_end] : Defines when the job will be executed [blank_start]Operators[blank_end] : Lists the people who can be notified for job statuses and alerts [blank_start]Alerts[blank_end] : Enables you to set up an automatic response or notification
Answer
  • Jobs
  • Schedules
  • Operators
  • Alerts
  • Agent

Question 118

Question
SQL Server Agent Jobs can be started by ...
Answer
  • attaching the job to one or more schedules
  • being triggered in response to one or more alerts
  • by executing sp_start_job
  • Manually via SQL Server Management Studio
  • All of the above

Question 119

Question
A SQL Agent Job consists of Job Steps. Which of the following types of steps can be added to a job?
Answer
  • ActiveX Script
  • Operating System Command
  • Powershell Script
  • SQL Server Analysis Services commands & queries
  • SQL Server SSIS Package
  • Transact-SQL Statements
  • Set Registry Entries
  • Server Control (Restart service)
  • Send an Email

Question 120

Question
SQL Server Agent can also host jobs relating to SQL Server Replication. Which of the following are valid Replication Job Steps?
Answer
  • Replication Distributor
  • Replication Merge
  • Replication Queue Reader
  • Replication Snapshot
  • Replication Transaction Log Reader
  • Replication Backup Log
  • Replication Flush Transaction
  • Replication Sync

Question 121

Question
SQL Server Agent job steps have a number of outcomes which can determine the flow of the job. Which of the following are valid outcomes for a job steps...
Answer
  • Quit the job, indicating success
  • Quit the job, with failure
  • Go to another job step
  • Retry a job step on failure, n number of times
  • Restart SQL Server
  • Restart SQL Server Agent
  • Place the SQL Server Agent Job into a 'suspended' state

Question 122

Question
You can organise your SQL Agent Jobs by creating and assigning a [blank_start]category[blank_end] to each job. This helps when there are a large number of jobs within an instance of SQL Server.
Answer
  • category

Question 123

Question
In order to log the outcome of a SQL Agent Job Step, the step needs to be executed under a security context belonging to the [blank_start]sysadmin[blank_end] role.
Answer
  • sysadmin

Question 124

Question
SQL Agent jobs support notifications when a step completes, succeeds or fails. These can trigger actions. Which of the following are permissible actions...
Answer
  • Send an Email
  • Send a Pager Message
  • Send a Net Send Message
  • Write to the Windows Application event log
  • Write to the System event log
  • Automatically delete the job
  • Send a Tweet
  • Restart the SQL Server Agent after retrying n times

Question 125

Question
SQL Agent Jobs can be scheduled to run under which of the following schedules...
Answer
  • When SQL Server Agent Starts
  • Once, at a specified date and time
  • On a recurring basis
  • When the CPU utilisation of the server is idle
  • On receipt of an Email
  • On receipt of a WCF API Call
  • On receipt of a Windows Workflow schedule
  • When a transaction log becomes full

Question 126

Question
SQL Server Agent provides the ability to chain Jobs together - i.e. when one completes, it triggers the execution of another. Which of the following statements are true?
Answer
  • SQL Server Agent has no native support for this feature
  • You set the outcome of the job to be 'Execute another Job' and choose from a drop down list
  • You can start a job using the stored procedure sp_start_job and add it as a Transact-SQL job step
  • You create a job with a start trigger that is the completion of a previous task

Question 127

Question
If you wish to send an alert to an individual if a SQL Server Agent job fails, you must create an [blank_start]operator[blank_end] in order to represent the individual and their contact details.
Answer
  • operator

Question 128

Question
In order to send an email to an individual when a SQL Agent Job fails, [blank_start]Database Mail[blank_end] must be set up and enabled, and the SQL Server [blank_start]Agent[blank_end] must be configured to use it.
Answer
  • Database Mail
  • Agent

Question 129

Question
When defining an operator to be notified when a SQL Agent Job fails, it is best practice to define an email [blank_start]group[blank_end] and send the alerts to it, enabling you to change the recipient list externally to the SQL Job.
Answer
  • group

Question 130

Question
SQL Server Agent, natively, cannot send alerts to pagers. True or False?
Answer
  • True
  • False

Question 131

Question
In order to send a Net Send message to an individual when a SQL Agent job completes, the Windows [blank_start]Messaging[blank_end] Service needs to be installed upon the server - and the individual must provide their [blank_start]workstation[blank_end] name as the recipient destination.
Answer
  • Messaging
  • workstation

Question 132

Question
A "fail safe operator" can be configured to be notified if a notification alert cannot be sent via Pager, Email or Net Send - True or False?
Answer
  • True
  • False

Question 133

Question
If a notification message has to be sent to the "fail safe operator" because of a failed attempt to Page an on duty operator, which method will be used to send the message?
Answer
  • Pager
  • Email
  • Net Send
  • Any - it depends on how it's configured

Question 134

Question
Within SQL Server Agent, an [blank_start]alert[blank_end] is an automated response to an [blank_start]event[blank_end].
Answer
  • alert
  • event

Question 135

Question
An SQL Server Agent alert can be triggered in response to an Event. Valid Event types include...
Answer
  • SQL Server Event
  • SQL Server Performance Condition
  • Windows Management Instrumentation (WMI) event
  • Receipt of an HTTP request
  • Receipt of an Email
  • Starting of the SQL Server Agent Service

Question 136

Question
Which of the following responses can be triggered as the result of an event alert?
Answer
  • Start a SQL Server Agent Job
  • Notify one or more operators
  • Restart the SQL Server Agent Service
  • Restart the SQL Server Service
  • Write to a log file
  • Write to the Windows Event Log

Question 137

Question
When defining an Alert - you can instruct alert to apply to All databases as well as a specific database. True or False?
Answer
  • True
  • False

Question 138

Question
SQL Server Event Alerts are defined based upon an error [blank_start]number[blank_end] or error [blank_start]severity[blank_end] level.
Answer
  • number
  • severity

Question 139

Question
When defining a SQL Server Event Alerts, which of the following takes precedence if multiple alerts match the same condition?
Answer
  • Error Number takes precedence over Error Severity
  • Error Severity takes precedence over Error Number
  • They are of equal importance, they will both fire
  • They are of equal importance, but the first defined alert will fire
  • Depends on the Severity level ( 19 or over takes precedence over all other alerts )

Question 140

Question
An alert can be defined when a SQL Server Event contains a specified piece of text. True or False?
Answer
  • True
  • False

Question 141

Question
Leveraging the Windows Performance Monitor feature of Windows Servers - an alert can be defined based upon a SQL Server [blank_start]counter[blank_end] - one of the many performance values that are monitored and tracked natively.
Answer
  • counter

Question 142

Question
The SQL Server Agent [blank_start]Service[blank_end] Account should be a [blank_start]domain[blank_end] account if you plan to use the features of [blank_start]Database Mail[blank_end] or require any network connectivity. The account must be mapped to a SQL Server [blank_start]Login[blank_end] that is also a member of the [blank_start]sysadmin[blank_end] role.
Answer
  • Service
  • Startup
  • Administrator
  • Anonymous
  • domain
  • local system
  • local service
  • network service
  • administrator
  • Database Mail
  • SQL Full Text Searching
  • Backup & Restore
  • SSIS
  • SSRS
  • Login
  • User
  • Schema
  • Linked Server
  • sysadmin
  • serveradmin
  • adminusers
  • users
  • guests
  • networkservices
  • sa

Question 143

Question
Which of the following server roles could a login belong in order to see the SQL Server Agent within SQL Server Management Studio?
Answer
  • sysadmin
  • sqlagentuserrole
  • sqlagentreaderrole
  • sqlagentoperatorrole
  • sqlagentadministrator
  • serveradmin

Question 144

Question
In order of capability (lowest to highest) - which roles allow access to the SQL Server Agent via SQL Management Studio?
Answer
  • SQLAgentUserRole, SQLAgentReaderRole, SQLAgentOperatorRole
  • SQLAgentUserRole, SQLAgentOperatorRole, SQLAgentReaderRole
  • SQLAgentReaderRole, SQLAgentUserRole, SQLAgentOperatorRole
  • SQLAgentReaderRole, SQLAgentOperatorRole, SQLAgentUserRole
  • SQLAgentOperatorRole, SQLAgentUserRole, SQLAgentReaderRole
  • SQLAgentOperatorRole, SQLAgentReaderRole, SQLAgentUserRole

Question 145

Question
Within SQL Server Agent, members of the SQLAgentUserRole can ...
Answer
  • access only jobs and schedules that they own
  • access jobs and schedules for others in the SQLAgentUserRole
  • access all jobs and schedules on the server
  • access multi server jobs
  • delete job history for their own jobs
  • delete job history for all jobs
  • select the operators to be notified on outcomes of their own jobs
  • select the operators to be notified on outcomes of others jobs

Question 146

Question
A SQL Server Job Step can run, via impersonation, under a [blank_start]security[blank_end] context other than the context of the user that created the job. This can be useful if the job requires access to resources that are denied to the job creator. If this is required, the creator must create a SQL Server Agent [blank_start]Proxy[blank_end] that is associated with a domain account that has the appropriate rights.
Answer
  • security
  • Proxy

Question 147

Question
The SQL Server Agent can pass on events to another server for processing, using a feature called
Answer
  • Event Shipping
  • Event Log Replication
  • Distributed Event Co-ordinator
  • Event Forwarding
  • Event Log Distribution

Question 148

Question
SQL Agent can send only unhandled events to another server for processing. True or False?
Answer
  • True
  • False

Question 149

Question
An unhandled event, in SQL Server, is an event which does not have an [blank_start]alert[blank_end] defined for it.
Answer
  • alert

Question 150

Question
In SQL Server Agent advanced properties, you can define what consitutes an [blank_start]idle CPU[blank_end] condition. When setting this option, you are setting that the [blank_start]CPU[blank_end] is deemed [blank_start]idle[blank_end] if the [blank_start]Average[blank_end] CPU usage falls below x[blank_start]%[blank_end] and remains below this level for y[blank_start]seconds[blank_end].
Answer
  • idle CPU
  • %
  • seconds
  • CPU
  • idle
  • Average

Question 151

Question
When you wish for placeholders to be replaced in job responses to alerts, you must enabled the [blank_start]Token Replacement[blank_end] option within the SQL Server Agent Alert System Properties dialog.
Answer
  • Token Replacement

Question 152

Question
You can define how long the SQL Agent Service will wait before killing off executing jobs when it's asked to stop, by setting the [blank_start]shutdown[blank_end] time-out interval in the Job System Properties dialog.
Answer
  • shutdown

Question 153

Question
You can limit the SQL Agent History logging feature by setting the Maximum job history [blank_start]log[blank_end] size (measured in [blank_start]rows[blank_end]) - and the maximum number of rows per [blank_start]job[blank_end].
Answer
  • log
  • rows
  • job

Question 154

Question
When using Token Replacements within SQL Server Agent jobs, it is imperative that you protect the server from SQL Injection Attacks - using Escape Macros around tokens. Which of the following are valid Escape Macros?
Answer
  • ESCAPE_SQUOTE
  • ESCAPE_DQUOTE
  • ESCAPE_RBRACKET
  • ESCAPE_LBRACKET
  • ESCAPE_BRACKETS
  • ESCAPE_NONE

Question 155

Question
When using Event Forwarding within SQL Agent, if you choose to forward 'All Events', you can specify a filter based upon the [blank_start]severity[blank_end] level.
Answer
  • severity

Question 156

Question
Multiserver Administration enables a system to be configured with a [blank_start]master[blank_end] server (MSX) and one or more [blank_start]target[blank_end] servers (TSX) - where jobs can be sent on it's behalf.
Answer
  • master
  • target

Question 157

Question
In order to set up MultiServer Administration on a SQL Server, you need to right click on the SQL Server [blank_start]Agent[blank_end] node in SQL Management Studio, then select Multi Server Administration...
Answer
  • Agent

Question 158

Question
When setting up a master server, when configuring Multi Server Administration, the first thing that is requested is you set up a [blank_start]master server[blank_end] operator - the only operator that can be notified from multiserver jobs.
Answer
  • master server

Question 159

Question
When using Multi Server Administration, and you connect to a Target server with administrative rights. You are unable to edit any multi server jobs that you may find in the SQL Agent. True of False?
Answer
  • True
  • False

Question 160

Question
The SQL Server [blank_start]Service Broker[blank_end] can be used where a large amount of commands can be expected to be received, and need to be completed reliably, just not at the exact time the command was issued.
Answer
  • Service Broker

Question 161

Question
The [blank_start]Service Broker[blank_end] feature of SQL Server enables you to build reliable, asynchronous services in a SQL Server Database.
Answer
  • Service Broker

Question 162

Question
Service Broker Services can pass messages reliably and transactionally - and can contain up to [blank_start]2[blank_end]GB of binary data within each message, and, if so desired, can associate an [blank_start]XML[blank_end] schema with a message, for automatic schema validation.
Answer
  • 2
  • XML

Question 163

Question
The Service Broker addresses wildly varying resource loads by a process that watches for messages on Service Broker queues. This background process is called the [blank_start]activation[blank_end] monitor - and maintains the optimum number of queue [blank_start]reader[blank_end] processes required to process the current load.
Answer
  • activation
  • reader

Question 164

Question
Within a Service Broker system, Services depend on bidirectional exchange of messages. Requests are made of a service and the service returns responses. These exchanges are persisted within the Service Broker in persisted objects called [blank_start]conversations[blank_end].
Answer
  • conversations

Question 165

Question
A Service Broker [blank_start]conversation[blank_end] is an object at each end of the message exchange that tracks what messages have been sent and received, what messages have been acknowledged and what acknowledgements have been received.
Answer
  • conversation

Question 166

Question
Service Broker Conversations are stored as persistent database objects that can survive database restarts. They have a default lifetime of 24 hours from the time of receipt. True or False?
Answer
  • True
  • False

Question 167

Question
The Service Broker feature uses three commands to manage conversations. These are... [blank_start]CREATE CONVERSATION[blank_end] : which generates a conversation on which messages are sent [blank_start]SEND[blank_end] : which dispatches messages on a previously created conversation [blank_start]RECEIVE[blank_end] : which receives messages from a conversation.
Answer
  • SEND
  • RECEIVE
  • BEGIN DIALOG CONVERSATION

Question 168

Question
Within a SQL Service Broker Conversation, messages are GUARANTEED to be delivered once, in the order in which they were created.
Answer
  • True
  • False

Question 169

Question
As the Service Broker is configured within a SQL Server instance, care must be taken when restoring system state from msdb - if you restore this to a different point in time to a database that uses the service broker, message inconsistencies can be introduced. True or False?
Answer
  • True
  • False

Question 170

Question
When restoring a database, that uses the Service Broker, the Service Broker is disabled as a default - to stop the database immediately processing queued conversations. In order to restart the Service Broker at you convenience, you can issue the following command... ALTER DATABASE <database name> SET [blank_start]ENABLE_BROKER[blank_end]
Answer
  • ENABLE_BROKER

Question 171

Question
If you have a database that uses Service Broker, and you wish to delete all existing conversations and messages, and create a new SERVICE_BROKER_GUID so the database will look like a new Service Broker database, as it was before, but with a new Identity, you would use the following command... ALTER DATABASE <database name> SET [blank_start]NEW_BROKER[blank_end]
Answer
  • NEW_BROKER

Question 172

Question
If a database is using a Service Broker, and you wish to flush all conversations into an error state in order to clean up both ends of a conversation cleanly, you could use the following command... ALTER DATABASE <database name> SET [blank_start]ERROR_BROKER_CONVERSATIONS[blank_end]
Answer
  • ERROR_BROKER_CONVERSATIONS

Question 173

Question
When configuring the Service Broker for a database, [blank_start]message[blank_end] types can be used in your service to determine what kind of data a message contains so that it knows how to process it.
Answer
  • message

Question 174

Question
A Service Broker Message Type can be defined to be self validating. In order to do this, it requires a validation option within the definition. Valid options are...
Answer
  • NONE
  • EMPTY
  • WELL_FORMED_XML
  • VALID_XML WITH SCHEMA COLLECTION
  • BINARY
  • STRING
  • SQL_VARIANT

Question 175

Question
When defining a Service Broker Message type, called RegRequest, that can contain any valid XML snippet as the message body - you should use the following command... CREATE MESSAGE TYPE [blank_start]RegRequest[blank_end] AUTHORIZATION dbo VALIDATION = [blank_start]WELL_FORMED_XML[blank_end]
Answer
  • RegRequest
  • WELL_FORMED_XML

Question 176

Question
When using the Service Broker within a database, you can define which [blank_start]message[blank_end] types can be used in a [blank_start]conversation[blank_end] by defining a [blank_start]contract[blank_end].
Answer
  • message
  • conversation
  • contract

Question 177

Question
When defining a Contract whilst configuring the Service Broker, you can define the message types that each type of participant can send. Which of these are valid participant types?
Answer
  • INITIATOR
  • TARGET
  • ANY
  • ORIGINATOR
  • RECIPIENT
  • ALL

Question 178

Question
When setting up the Service Broker within a database, a [blank_start]queue[blank_end] represents a physical table within the database which stores a message during the time period between it's receipt - and when it is processed.
Answer
  • queue

Question 179

Question
Which of the following commands are permissible on a queue table within the Service Broker...
Answer
  • SEND
  • RECEIVE
  • INSERT
  • UPDATE
  • DELETE
  • SELECT

Question 180

Question
When creating a queue within the Service Broker, you can instruct it to keep an audit log by leaving actioned messages in the queue table, by using the following command... CREATE QUEUE <Queue Name> WITH [blank_start]RETENTION[blank_end] = ON
Answer
  • RETENTION

Question 181

Question
In production systems, it is not recommended to create Service Broker Queues using the retention option - true of false?
Answer
  • True
  • False

Question 182

Question
When using the Service Broker within a database, a message that continually fails processing, causing a transactional roll back and being placed back in the queue for reprocessing is called a [blank_start]poison[blank_end] message. By default, a queue will become disabled if it detects one of these messages rolling back [blank_start]5[blank_end] consecutive times.
Answer
  • poison
  • 5

Question 183

Question
The preferred method of handling repeatedly failing transactions in the Service Broker is to turn off [blank_start]POISON_MESSAGE[blank_end]_HANDLING in the queue, trap the condition and action it in your own application code then [blank_start]COMMIT[blank_end] the transaction to remove it from the queue. This prevents the queue from being automatically disabled when discovering repeatedly failing transactions.
Answer
  • POISON_MESSAGE
  • COMMIT

Question 184

Question
When using the Service Broker, if you wanted to create a Queue called RegQueue, that triggers the activator stored procedure, dbo.ActivateRegistration, with 20 simultaneous queue readers - running under the queue owner context - you would use the following procedure... CREATE QUEUE RegQueue WITH [blank_start]ACTIVATION[blank_end] ( STATUS = [blank_start]ON[blank_end], PROCEDURE_NAME = [blank_start]dbo.ActivateRegistration[blank_end], MAX_QUEUE_READERS = [blank_start]20[blank_end], EXECUTE AS [blank_start]OWNER[blank_end] )
Answer
  • ACTIVATION
  • ON
  • dbo.ActivateRegistration
  • 20
  • OWNER

Question 185

Question
Within the Service Broker, when you define a [blank_start]Service[blank_end], you give it a name, then, you tell it which [blank_start]queue[blank_end] it will use - and then you choose which [blank_start]contracts[blank_end] it will use (which defines the message types and participants).
Answer
  • Service
  • queue
  • contracts

Question 186

Question
When using the Service Broker, messages exchanged within a conversation are sent between the abstraction layer - the [blank_start]service[blank_end].
Answer
  • service

Question 187

Question
Within the Service Broker - a [blank_start]Route[blank_end] is defined to represent the network path that messages to a service will follow.
Answer
  • Route

Question 188

Question
Within the Service Broker, a route can define a network path through multiple SQL Servers until the destination service is located. True or False?
Answer
  • True
  • False

Question 189

Question
When defining a Route within the Service Broker, omitting the name of the service within the Route Definition will ensure the route applies to ALL Services on the server. True or False?
Answer
  • True
  • False

Question 190

Question
When defining a route within the Service Broker, you must set the [blank_start]ADDRESS[blank_end] parameter to be [blank_start]local[blank_end] so it knows that the service it points to resides on the instance of SQL Server you are adding the route to.
Answer
  • ADDRESS
  • local

Question 191

Question
Within the Service Broker, messages within a conversation can be prioritised so more important messages will be processed first. True or False?
Answer
  • True
  • False

Question 192

Question
Within the Service Broker, a [blank_start]priority[blank_end] can be assigned to a [blank_start]Conversation[blank_end] in order to fast track communications to a service.
Answer
  • priority
  • Conversation

Question 193

Question
When defining a priority in the Service Broker, you can specify a matching criteria that defines which conversations are prioritised. Which of the following criteria can be used to match to a conversation?
Answer
  • Contract Name
  • Local Service Name
  • Remote Service Name
  • Route
  • Message Type
  • Queue

Question 194

Question
Within the Service Broker, a Conversation Group allows multiple conversations to be received in a single threaded operation, simplifying the programming involved in dealing with related messages in different conversations. True of False?
Answer
  • True
  • False

Question 195

Question
When using the Service Broker service queues, what are the equivalent commands to the typical table commands used for database tables? INSERT: [blank_start]SEND[blank_end] SELECT: [blank_start]RECEIVE[blank_end]
Answer
  • SEND
  • RECEIVE

Question 196

Question
When sending a message through the Service Broker, the [blank_start]SEND[blank_end] command can be used with multiple [blank_start]conversation[blank_end] ID's as parameters, in order to send the message to multiple services. This process is known as [blank_start]multicasting[blank_end].
Answer
  • SEND
  • conversation
  • multicasting

Question 197

Question
Which of the following commands can be used to start a service broker conversation?
Answer
  • BEGIN DIALOG CONVERSATION
  • BEGIN DIALOG
  • START CONVERSATION
  • BEGIN CONVERSATION
  • OPEN CONVERSATION
  • OPEN DIALOG

Question 198

Question
When beginning a conversation within the Service Broker, which of the following parameters are mandatory?
Answer
  • FROM SERVICE
  • TO SERVICE
  • SOURCE SERVICE
  • DESTINATION SERVICE
  • ON CONTRACT
  • RELATED_CONVERSATION
  • LIFETIME
  • QUEUE

Question 199

Question
When using the SEND command to send a message through the Service Broker, it requires a 'dialog handle' parameter. How do you obtain the dialog handle?
Answer
  • You create a new UNIQUEIDENTIFIER variable, initialise it, and pass it to the BEGIN DIALOG CONVERSATION command, before using it again in the SEND command.
  • You create a new UNIQUEIDENTIFIER variable, pass it to the BEGIN DIALOG CONVERSATION as an output parameter, before using it again in the SEND command.
  • You obtain it using the GETCURRENTCONVERSATION() function after a successful BEGIN DIALOG CONVERSATION command
  • You use the @@CURRENTCONVERSATION global variable after a successful BEGIN DIALOG CONVERSATION command
  • You create a new UNIQUEIDENTIFIER variable, initialise it, and pass it to the OPEN DIALOG CONVERSATION command, before using it again in the SEND command.
  • You create a new UNIQUEIDENTIFIER variable, pass it to the OPEN DIALOG CONVERSATION as an output parameter, before using it again in the SEND command.

Question 200

Question
When using SEND and RECEIVE within the Service Broker, it is highly advisable to use Transactions in all Queue operations.
Answer
  • True
  • False
Show full summary Hide full summary

Similar

System Analysis
R A
SQL Server 2014 - Part 2
Paul Doman
CCNA Security 210-260 IINS - Exam 3
Mike M
Application of technology in learning
Jeff Wall
Innovative Uses of Technology
John Marttila
Ch1 - The nature of IT Projects
mauricio5509
The Internet
Gee_0599
CCNA Answers – CCNA Exam
Abdul Demir
SQL Quiz
R M
Professional, Legal, and Ethical Issues in Information Security
mfundo.falteni
Flash Cards Networks
JJ Pro Wrestler