Quiz
Section A - Multiple Choice Qs
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (20)
1You are designing a monitoring application for a new SQL Server 2014 instance.
You need to recommend a solution to generate a report that displays the 10 most frequent wait types that occur for the instance. What should you include in the recommendation? More than one answer choice may achieve the goal. Select the BEST answer.- AThe SQL Server error log
- BThe sys.dm_os_wait_stats dynamic management view
- CThe DBCC SQLPERF(WAITSTATS) command
- DSQL Server Profiler
2You deploy a database by using SQL Server 2012.
The database contains a table named Table1.
You need to recommend a solution that meets the following requirements:
– Stores the most recent data from Table1 by using the fastest storage solution possible.
– Stores the historical data from Table1 by using a slower storage solution.
What should you recommend?- Apartitioned views
- Ba database snapshot
- Cchange data capture
- Dtable partitioning
3You are creating a database that will store usernames and passwords for an application.
You need to recommend a solution to store the passwords in the database.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.- AOne-way encryption
- BTransparent Data Encryption (TDE)
- CEncrypting File System (EFS)
- DReversible encryption
4You have a SQL Server 2014 environment That contains 20 servers.
The corporate security policy states that all SQL Server 2014 instances must meet specific security standards.
You need to recommend a management strategy for the SQL Server 2014 servers.
What should you include in the recommendation? More than one answer choice may achieve the goal. Select the BEST answer.- AMulti server jobs
- BPolicy-Based Management
- CCommon criteria compliance
- DMaintenance plans
5You deploy a database by using SQL Server 2014.
The database contains a table named Table1.
You need to recommend a solution to track all of the deletions executed on Table1.
The solution must minimize the amount of custom code required.
What should you recommend?- AChange data capture
- BStatistics
- CA trigger
- DMaster Data Services
6You have four databases that are accessed by using an Online Transaction Processing (OLTP) application.
The databases are stored on a server named SQL1 that has SQL Server 2014 installed.
You plan to deploy an additional server that has SQL Server 2014 installed.
You need to design a high-availability solution for the databases that meets the following requirements:
– If SQL1 fails, the databases must be available.
– Users must be able to run reports against a secondary copy of the databases.
What should you include in the design? More than one answer choice may achieve the goal. Select the BEST answer.- AAlwaysOn availability groups
- BDatabase mirroring
- CLog shipping
- DFailover Clustering
7You are troubleshooting an application that runs a query.
The application frequently causes deadlocks.
You need to identify which transaction causes the deadlock.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.- AQuery the sys.dm_exec_requests dynamic management view.
- BCreate a trace in SQL Server Profiler that contains the Deadlock graph event.
- CQuery the sys.dm_exec_sessions dynamic management view.
- DCreate an extended events session to capture deadlock information.
8You plan to create a database.
The database will be used by a Microsoft .NET application for a special event that will last for two days.
During the event, data must be highly available.
After the event, the database will be deleted.
You need to recommend a solution to implement the database while minimizing costs.
The solution must not affect any existing applications.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.- ASQL Server 2014 Enterprise
- BSQL Server 2014 Standard
- CSQL Azure
- DSQL Server 2014 Express with Advanced Services
9You are designing a database named DB1.
Changes will be deployed to DB1 every Wednesday night.
You need to recommend a strategy to deploy the changes to DB1.
The strategy must meet the following requirements:
– The strategy must not disrupt backup operations.
– DB1 must be unavailable to users while the changes are deployed.
– You must be able to undo quickly the entire operation.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.- APerform a copy-only database backup before the changes are deployed.
If the deployment fails, restore the database to another server and recover the original
Objects from the restored database. - BCreate a database snapshot.
If the deployment fails, recover the objects from the database snapshot. - CCreate a database snapshot.
If the deployment fails, revert the database to the database snapshot. - DPerform a full database backup before the changes are deployed.
If the deployment fails, restore the database to another server and recover the original
objects from the restored database.
- APerform a copy-only database backup before the changes are deployed.
10You are designing a SQL Server database for an order fulfillment system.
You create a table named Sales.Orders by using the following script:
CREATE TABLE Sales.Orders
(
OrderID int IDENTITY (1,1) NOT NULL PRIMARY KEY,
OrderDate date NOT NULL,
CustomerID int NOT NULL
);
Each order is tracked by using one of the following statuses:
– Fulfilled
– Shipped
– Ordered
– Received
You need to design the database to ensure that you can retrieve the status of an order on a given date.
The solution must ensure that new statuses can be added in the future.
You need to design the database to ensure that that you can retrieve the following information:
✑ The current status of an order
✑ The previous status of an order.
✑ The date when the status changed.
The solution must minimize storage.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.- ATo the Sales.Orders table, add a column named Status that will store the order status.
Update the Status column as the order status changes. - BCreate a new table named Sales.OrderStatus that contains three columns named OrderID,
StatusDate, and Status. Insert new rows into the table as the order status changes. - CImplement change data capture on the Sales.Orders table.
- DTo the Sales.Orders table, add three columns named FulfilledDate, ShippedDate, and
ReceivedDate. Update the value of each column from null to the appropriate date as the order status changes.
- ATo the Sales.Orders table, add a column named Status that will store the order status.
11You have two SQL Server 2014 instances named SQLDev and SQLProd. You plan to create a new
database on SQLProd that will use SQL Server Authentication. You need to ensure that when the
new database is copied from SQLProd to SQLDev, users can connect to the database on SQLDev if
they do not have a login on the SQLDev instance. What should you use? More than one answer
choice may achieve the goal. Select the BEST answer.- ASQL Server Integration Services (SSIS) scripts
- BExtended Events
- CTriggers
- DSQL Server Analysis Services (SSAS) scripts
- EContained database
12Your company has offices in Seattle and Montreal. The network contains two servers named
Server1 and Server2 that have SQL Server 2012 installed. The servers are located in separate
building within your campus. The latency of the WAN link between the buildings is less than 10 ms.
You plan to implement an AlwaysOn availability group on both servers. You need to recommend a
failover type for the availability group. What should you recommend?- AAsynchronous automatic failover
- BSynchronous manual failover
- CAsynchronous manual failover
- DSynchronous automatic failover
13You have a database named DB1. You plan to create a stored procedure that will insert rows into
three different tables. Each insert must use the same identifying value for each table, but the value
must increase from one invocation of the stored procedure to the next. Occasionally, the identifying
value must be reset to its initial value. You need to design a mechanism to hold the identifying
values for the stored procedure to use. What should you do? More than one answer choice may
achieve the goal. Select the BEST answer.- ACreate a sequence object that holds the next value in the sequence. Retrieve the next value by
using the stored procedure. - BIncrement the sequence object to the next value by using an ALTER SEQUENCE statement.
Reset the value as needed by using a different ALTER SEQUENCE statement. - CCreate an identity column in each of the three tables. Use the same seed and the same
increment for each table. Insert new rows into the tables by using the stored procedure. Use
the DBCC CHECKIDENT command to reset the columns as needed. - DCreate a fourth table that holds the next value in the sequence. At the end each transaction,
update the value by using the stored procedure. Reset the value as needed by using an UPDATE
statement. - ECreate a sequence object that holds the next value in the sequence. Retrieve the next value by
using the stored procedure. Reset the value by using an ALTER SEQUENCE statement as needed.
- ACreate a sequence object that holds the next value in the sequence. Retrieve the next value by
14You are the new database administrator for a SQL Server 2014 instance. You conduct an assessment on the instance and determine that the auto create statistics setting on the database named DB1 has been turned off. You see no evidence that any maintenance has been occurring.
You want to set up monitoring to see if query performance is being affected.
You need to set up a monitoring process that will capture any cases where statistics could have been useful if they existed.
What should you do?- ACreate a SQL Server Agent job to execute DBCC SHOWSTATISTICS on each of the primary key columns in the database
- BUse the missing_column_statistics extended event.
- CQuery the sys.statistics system view to see all cases where the statistics were last needed.
- DWrite a query using the sys.dm_db_missing_index_group_stats DMV Joining to sys.indexes, filtering on is_hypothetical.
15You are building a stored procedure for a SQL Azure database. The procedure will add multiple rows
to a table. You need to design the stored procedure to meet the following requirements:
- If any of the new rows violates a table constraint, then no further additions must be attempted
and all changes made by the stored procedure must be discarded.
- If any errors occur, a row must be added to an audit table, and the original error must be
returned to the caller of the stored procedure.
What should you include in the design?- AAn implicit transaction that has XACT_ABORT enabled.
- BAn explicit transaction that has XACT_ABORT disabled.
- CAn implicit transaction that has error handling enabled.
- DAn explicit transaction that has error handling enabled.
16You have a SQL Server 2012 database named DB1. You plan to import a large number of records
from a SQL Azure database to DB1. You need to recommend a solution to minimize the amount of
space used in the transaction log during the import operation. What should you include in the
recommendation?- AA New Log file
- BA New FILEGROUP
- Cthe full recovery model
- Da new partitioned table
- Ethe bulk-logged recovery model
17You have two SQL Server instances named SQLDev and SQLProd that have access to various storage
media. You plan to synchronize SQLDev and SQLProd. You need to recommend a solution that
meets the following requirements:
- The database schemas must be synchronized from SQLDev to SQLProd.
- The database on SQLDev must be deployed to SQLProd by using a package.
- The package must support being deployed to SQL Azure.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST
answer.- AA database snapshot
- BA data-tier application
- CChange data capture
- DSQL Server Integration Services (SSIS)
18Your company has offices in Seattle and Montreal. The network contains two servers named
Server1 and Server2 that have SQL Server 2012 installed. Server1 is located in the Seattle office.
Server2 is located in the Montreal office. The latency of the WAN link between the Montreal office
and the Seattle office is more than 200 ms. You plan to implement an AlwaysOn availability group
on both servers. You need to recommend a failover type for the availability group. What should
you recommend?- ASynchronous manual failover
- BSynchronous automatic failover
- CAsynchronous automatic failover
- DAsynchronous manual failover
19 You have a server that has SQL Server 2012 installed. The server contains 100 user databases. You
need to recommend a backup solution for the user databases. The solution must meet the
following requirements:
- Perform a transaction log backup every hour.
- Perform a full backup of each database every week.
- Perform a differential backup of each database every day.
- Ensure that new user databases are added automatically to the backup solution.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.- AA maintenance plan
- BSQL Server Agent jobs
- CPolicy-Based Management
- DA Data Definition Language (DDL) trigger
20You have a SQL Server 2012 instance named SQL1. SQL1 creates error events in the Windows
Application event log. You need to recommend a solution that will run an application when SQL1
logs a specific error in the Application log. Which SQL elements should you include in the
recommendation? (Each correct answer presents part of the solution. Choose all that apply.)- AA Policy
- BA trigger
- CA Maintenance Plan
- DA Job
- EAn alert
Informationen
- Beschreibung
- There are 20 MCQs in this Section
- Autor
- Arya Bera
- Sprache
- English
- Aufrufe
- 84
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz