SQL part2(21-40)

Райхан Абдыжалилова
Quiz by Райхан Абдыжалилова, updated more than 1 year ago
Райхан Абдыжалилова
Created by Райхан Абдыжалилова over 2 years ago
185
2

Description

Quiz on SQL part2(21-40), created by Райхан Абдыжалилова on 20/12/2018.

Resource summary

Question 1

Question
Policy categories apply
Answer
  • to servers
  • to databases and servers
  • to database
  • to routers

Question 2

Question
SQL Server can not notify operators of alerts which of the following
Answer
  • Instance messages
  • E-mail
  • Pager
  • net send

Question 3

Question
SQL Server Integration Services Tools
Answer
  • Extraction, transformation, loading
  • None above them
  • Only SSIS designer
  • Wizards, SSIS Designer, Command-prompt Utilities

Question 4

Question
SQLAgentOperatorRole is
Answer
  • The most privileged of the SQL Server Agent fixed database roles
  • Proxy defines the security context for a non-Transact-SQL job
  • Impersonates the credentials defined in the proxy, and then runs the job
  • Automate common administrative tasks

Question 5

Question
SQLAgentUserRole is
Answer
  • Permissions to view the list of available multi-server jobs, their properties
  • Properties for operators and proxies, and enumerate available proxies and alerts on the server
  • The least privileged of the SQL Server Agent fixed database roles
  • only granted access to those subsystems

Question 6

Question
Steps to open Activity Monitor
Answer
  • In SQL Server Management Studio Right click the Management then select the Activity Monitor
  • In SQL Server Management Studio Right click the Server Objects then select the Activity Monitor
  • ]In SQL Server Management Studio Right click the server then select the Activity Monitor
  • In SQL Server Management Studio expand Management click Activity Monitor

Question 7

Question
sys.dm_db_partition_stats returns the following
Answer
  • Returns information about pending input/output (I/O) requests
  • Returns information about each Service Broker queue monitor in the system
  • Returns page and row count information for each partition in the database
  • Returns information about all the current sessions connected to the server

Question 8

Question
The ... database must use the full or bulk-logged recovery model; switching the database to simple recovery will cause log shipping to stop functioning
Answer
  • Primary
  • Secondary
  • Reserve
  • copied

Question 9

Question
The advantage of setting up an alerts management server
Answer
  • Centralazation
  • Increased traffic
  • Single point of failure
  • Server load

Question 10

Question
The basic syntax for bulk importing data is
Answer
  • INSERT ... SELECT * FROM OPENROWSET(BULK...)
  • INSERT ... SELECT * FROM OPENROWSET
  • SELECT * FROM OPENROWSET
  • SELECT * FROM (BULK...)

Question 11

Question
The CFO calls you in because he is running a large spreadsheet on his system and it is running unusually slowly. He wants you to try to get his system moving faster again. Which Windows XP utility will give you a quick look at the performance of this system?
Answer
  • Director
  • Speed Analyzer
  • Computer Manager
  • Task Manager

Question 12

Question
The disadvantage of setting up an alerts management server
Answer
  • Increased traffic
  • Centralization
  • Scalability
  • Efficiency

Question 13

Question
The list of available providers includes the following data sources
Answer
  • SQL Server
  • Flat files
  • Microsoft Office Access(r), Microsoft Office Excel(r)
  • All of the above

Question 14

Question
The name of component of Microsoft SQL Server Management Studio used to get information about user connections to the Database Engine and the locks that they hold?
Answer
  • Activity Monitor
  • System Monitor
  • Task Manager
  • Event Log Reader

Question 15

Question
The number and characteristics of the properties are built into the facet and can be added or removed
Answer
  • by administrator
  • None above them
  • by all users
  • by only the maker of facet

Question 16

Question
There are factors affecting availability. Find wrong answer
Answer
  • System failure
  • Software failure
  • Network failure
  • Hardware component failure

Question 17

Question
This is common dynamic management view (DMVs). What information is it return?
Answer
  • Returns information about pending input/output (I/O) requests
  • Returns page and row count information for each partition in the database
  • Returns information about all the current sessions connected to the server
  • Returns information about each Service Broker queue monitor in the system

Question 18

Question
This is common dynamic management view (DMVs). What information is it return?
Answer
  • Returns information about the threads in the system
  • Returns page and row count information for each partition in the database
  • Returns information about all the current sessions connected to the server
  • Returns information about each Service Broker queue monitor in the system

Question 19

Question
This is common dynamic management view (DMVs). What information is it return? "sys.dm_db_partition_stats"
Answer
  • Returns page and row count information for each partition in the database
  • Returns information about all the current sessions connected to the server
  • Returns information about pending input/output (I/O) requests
  • Returns information about each Service Broker queue monitor in the system

Question 20

Question
This is common dynamic management view (DMVs). What information is it return? "sys.dm_broker_queue_monitors"
Answer
  • Returns information about each Service Broker queue monitor in the system
  • Returns information about the threads in the system
  • Returns page and row count information for each partition in the database
  • Returns information about all the current sessions connected to the server

Question 21

Question
To bulk import data from a data file into a SQL Server table or non-partitioned view, you can use the following
Answer
  • bcp utility
  • bcp tools
  • bcp all
  • bcp bulk

Question 22

Question
To design an event notification, you must determine the following\: I.The scope of the notification. II.The Transact-SQL statement, or group of statements, that raises the event notification. III.Server-scoped DDL triggers
Answer
  • I, II, II
  • I and III
  • I and II
  • II and III

Question 23

Question
To determine whether SQL Server or another process is cause of excessive paging, monitor the following Process
Answer
  • Page Faults/sec
  • %Privileged Time
  • %User Time
  • %Disk Time

Question 24

Question
To enable and configure Database Mail accounts and profiles, what can you use
Answer
  • Tools->Configure->Database Mail
  • Right click accounts and profiles then click configure
  • In the Database Mail Wizard clear check box accounts and profiles
  • Database Mail Configuration Wizard

Question 25

Question
To install SQL Server to Windows Server 2008 what we installing?
Answer
  • .NET FRAMEWORK
  • transact sql
  • install key
  • registre

Question 26

Question
To lock or disable access to database or some authorizing elements what is using?
Answer
  • Key
  • Insert
  • Duplicate
  • protocol

Question 27

Question
To modifying elements in database what transact queries we are using?
Answer
  • insert, update, drop, create
  • lock, grand, select, show
  • use, work, execute, run
  • play, set, ord, record

Question 28

Question
To reserve some db firstly we use
Answer
  • Backup
  • Recovery
  • Restore
  • update

Question 29

Question
To send Database Mail, you must be a member of the
Answer
  • DatabaseMailUserRole
  • Sysadmin role
  • TargetServerRole
  • SQL Server Agent role

Question 30

Question
To work with Server Agent and execute some parametres, what we turn on?
Answer
  • Configuration Manager
  • Bussines Development Studio
  • Management Studio
  • Server services

Question 31

Question
Unlike standard triggers they do not execute in response to which of the following statements
Answer
  • UPDATE, DELETE, CREATE
  • DROP, INSERT, GRANT
  • REVOKE, ALTER, CREATE
  • UPDATE, INSERT, DELETE

Question 32

Question
Was a backup device specified in the restore statement?
Answer
  • When using this statement, you must specify a snapshot name rather than a backup device.
  • Perform a full database and transaction log backup strategy for frequently modified databases
  • Phases of a restore include the data copy phase, the redo phase and the undo phase
  • The data copy phase involves copying all data, log and index pages from the backup

Question 33

Question
What are Key Areas to Monitor in SQL Server?
Answer
  • Disk system, Memory, CPU
  • CPU performance, Memory performance
  • Hardware stability, software availability
  • Operability, stability, organization

Question 34

Question
What are the primarily uses of the SQL Server Configuration Manager?
Answer
  • Managing SQL Server Services, Changing the Accounts Used by the Services, Manage Server and Client Network Protocols, Configure Server Startup Options, and Manage Instances of SQL Server.
  • The Database Engine Services.
  • The System Configuration Checker checks for conditions that prevent a successful SQL Server installation and will verify the computer where the installation is running.
  • Bussiness Intelegent Studio

Question 35

Question
What Backup Job does?
Answer
  • It performs the backup operation, logs history to the local server and the monitor server, and deletes old backup files and history information.
  • This job restores only the copied backup files to the secondary databases.
  • This job is shared by the primary and secondary databases of all log shipping configurations using this monitor server instance.
  • There is no information about this in lectures

Question 36

Question
What benefits would that offer?
Answer
  • It could avoid the unnecessary expense and administrative overhead of deploying multiple physical servers
  • Enterprise edition would satisfy the needs of large corporate SQL deployments. Other editions would be appropriate in difference scenarios.
  • A fast, multi-core CPU, with lots of RAM (at least 2 Gigs, 8 Gigs or more for an enterprise server), and a redundant disk array.
  • Amount of RAM, number of CPUs, and highly optimized disk storage arrays (in that order) are the most critical items for performance.

Question 37

Question
What can indicate that there is an overall shortage of memory on the computer or that an application is not releasing memory?
Answer
  • Low values for the Available Bytes
  • High values for the Available Bytes
  • Low values for the Busy Bytes
  • High values for the Busy Bytes

Question 38

Question
What condition is wrong ?
Answer
  • The policy is enabled.
  • The target belongs to the target set of the policy.
  • The target or one of the targets ancestors subscribes to the policy group that contains this policy.
  • Only policies from its subscribed categories can govern a database.

Question 39

Question
What is an efficient way to determine CPU usage?
Answer
  • To use the Processor\: %Processor Time counter in System Monitor
  • To use the Processor\:%Processor Avg. Time counter in Event Log Reader
  • To use System\:%Total Processor Time
  • To use the Processor\: %User Time counter in System Monitor

Question 40

Question
What counter monitors the percentage of time that the disk is busy with read/write activity?
Answer
  • % Disk Time
  • Avg. Disk Queue Length
  • Current Queue Length
  • %Busy Time

Question 41

Question
What counter shows the number of requests that were outstanding on the disk at the time that the performance data was collected.
Answer
  • Current Queue Length
  • Avg. Disk Queue Length
  • % Disk Time
  • Universal Disk Performance Measure

Question 42

Question
What counter used to determine how many system requests, on average, are waiting for disk access
Answer
  • %Busy Time
  • % Disk Time
  • Current Queue Length
  • Avg. Disk Queue Length

Question 43

Question
What Distributors do?
Answer
  • store replication-specific data associated with one or more publishers
  • create and modify the data
  • Receive the data. With merge replication, this situation is altered slightly because modifications occur at both the publisher and the subscribers
  • Modify data for something

Question 44

Question
What does bcp utility do?
Answer
  • bulk copies data between an instance of Microsoft SQL Server 2008 and a data file in a user-specified format
  • loads data from a data file into a table
  • used to access remote data from OLE DB data sources only when the DisallowAdhocAccess registry option is explicitly set to 0 for the specified provider
  • manage existing packages

Question 45

Question
What does Dtutil do?
Answer
  • run an existing package at the command prompt
  • Adding event handlers to the package and package objects.
  • Constructing the data flows in a package
  • manage existing packages

Question 46

Question
What does the Available Bytes counter indicates?
Answer
  • How many bytes of memory are currently available for use by processes
  • The number of bytes that either retrieved from disk due to hard page faults or written to disk due to free space in the working set due to page faults
  • How many bytes of hard disk are currently available for use by processes
  • Available system resources

Question 47

Question
What information do Dynamic management views and functions return?
Answer
  • Server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance
  • Information about user connections to the Database Engine and the locks that they hold
  • Server processing information and use connections report
  • All the information available about the server

Question 48

Question
What is "article"?
Answer
  • It can be a whole table or a database object, or a part of one.
  • It can only have articles from the same database
  • It is generally created against a publication
  • There is no information about this in lectures

Question 49

Question
What is a Maintenance Plan:
Answer
  • helps database administrators schedule core tasks
  • Plan which will tell you how a query will be executed, or how a query was executed.
  • An ordered set of steps used to access or modify information in a SQL relational database management system
  • Typically diagram or list of steps with timing and resources

Question 50

Question
What is a transaction log?
Answer
  • The transaction log is a special DBMS table that contains a description of all the database transactions executed by the DBMS.
  • The transaction log is the DBMS component that establishes the order in which concurrent database operations are executed.
  • The transaction log is important because it is the DBMS component that will ensure transaction serializability
  • full
Show full summary Hide full summary

Similar

OCR Biology AS level (f211) flashcards/revision notes
Dariush Zarrabi
A-Level Chemistry: Atomic Structure
cian.buckley+1
STEM AND LEAF DIAGRAMS
Elliot O'Leary
PSBD TEST # 3_1_1
yog thapa
10 good study habits every student should have
Micheal Heffernan
Photosynthesis and Respiration
Jessica Phillips
Factores Humanos en la Aviación
Adriana Forero
Química Orgánica
cristopher 24
Estrategias para representar datos etnográficos
KELLY JOHANA HENAO ZULUAGA
EXPRESION ORAL Y ESCRITA APLICADAS AL ÁMBITO PROFESIONAL
Flor Vanesa Villegas Cuentas
Valores Eticos UTN
EVELYN PERUGACHI