70-459 Exam Questions
101 real 70-459 exam questions with expert-verified answers and explanations. Page 2 of 3.
- Question #62Implement a database
You need to add a new column named Confirmed to the Employees table. The solution must meet the following requirements: - Have a default value of TRUE. - Minimize the amount of dis...
ALTER TABLEdefault valuebit data typecolumn - Question #63
You need to modify Production.ProductDetails_Insert to comply with the application requirements. Which code segment should you execute?
- Question #64
You need to create a function that will use a SELECT statement in ProductsByProductType.sql. Which code segment should you use to complete the function?
- Question #65
You are planning the ManufacturingSteps table. You need to define the ProductID column in the CREATE TABLE statement. Which code segment should you use?
- Question #66
You need to prepare the database to use the .NET Framework ProcessProducts component. Which code segments should you execute? (Each correct answer presents part of the solution. Ch...
- Question #67Implement security
An administrator provides a digital certificate named ServerCert. You need to implement Transparent Data Encryption (TDE) on ProductsDB. Which code segment should you use?
TDEtransparent data encryptioncertificateencryption - Question #68
You need to provide referential integrity between the Sessions table and Speakers table. Which code segment should you add at line 47 of Tables.sql?
- Question #69
You need to add a new column named Confirmed to the Attendees table. The solution must meet the following requirements: - Have a default value of false. - Minimize the amount of di...
- Question #70
You are evaluating the table design. You need to recommend a change to Tables.sql that reduces the amount of time it takes for usp_AttendeesReport to execute. What should you add a...
- Question #71Implement programming objects
You need to modify usp_SelectSpeakersByName to support server-side paging. The solution must minimize the amount of development effort required. What should you add to usp_SelectSp...
OFFSET-FETCHserver-side pagingstored procedureT-SQL - Question #72
You need to modify the function in CountryFromID.sql to ensure that the country name is returned instead of the country ID. Which line of code should you modify in CountryFromID.sq...
- Question #73Implement a database
Which data type should you use for CustomerlD?
data typecharfixed-lengthCustomerID - Question #74
You have a SQL Server 2012 database named database1. Database1 has a data file named databasel_data.mdf and a transaction log file named databaseljog.ldf. Databasel_data.mdf is 1.5...
- Question #75
You need to modify InsertInvoice to comply with the application requirements. Which code segment should you execute?
- Question #76
You need to convert the functionality of Legacy.sql to use a stored procedure. Which code segment should the stored procedure contain?
- Question #78Administer SQL Server
You need to prepare the database to use the .NET Framework tax component. Which code segments should you execute? (Each correct answer presents part of the solution. Chooseall that...
CLR integration.NET assemblysp_configureCLR enabled - Question #79Administer SQL Server
You need to monitor the health of your tables and indexes in order to implement the required index maintenance strategy. What should you do?
index maintenancehash indexesmemory-optimized tablesDMVs - Question #84
You need to implement security for the restore and audit process. What should you do?
- Question #85Design and implement database solutions
You need to modify the stored procedure usp.LookupConcurrentUsers. What should you do?
clustered indexstored procedure optimizationindex selectionquery performance - Question #86Administer SQL Server
You are designing your maintenance plan. Which command should you use only during the monthlymaintenance window?
index maintenanceonline index rebuildALTER INDEXmaintenance window - Question #87Design and implement database security
You need to modify the usp.DetectSuspiciousActivity stored procedure. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
security monitoringstored proceduresauditsuspicious activity - Question #88Design and implement database solutions for cloud
You need to implement a backup strategy to support the requirements. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Azure backupBACKUP TO URLcloud storagebackup strategy - Question #89Design and implement database solutions
You need to implement changes to the system to reduce contention and improve performance of the SalesOrderDetail table. Which three actions should you perform? (Each correct answer...
snapshot isolationREAD_COMMITTED_SNAPSHOTtransaction isolationconcurrency control - Question #90Design and implement database solutions
You need to write code that will allow the sales force to retrieve data for their reports with the least amount of effort. Which code should you use?
data accessreportingviewsquery design - Question #92Design and implement database security
You need to configure security on the Product table for customer support representatives. Which two actions should you perform? (Each correct answer presents part of the solution....
column-level securityviewsGRANT permissionsrole-based access - Question #93Design and implement database solutions
You need to change the ProdDB database. Which two database options should you change to meet the requirements? (Each correct answer presents part of the solution. Choose two.)
In-Memory OLTPmemory-optimized filegroupdatabase configurationCONTAINS MEMORY OPTIMIZED DATA - Question #94
You administer an instance of SQL Server 2014. You are tasked with tuning a common set of queries. You have the results of several test executions, along with query plans. The sche...
- Question #95
You have a SQL Server 2014 database named Database1. You execute the following code: You insert 3 million rows into Sales. You need to reduce the amount of time it takes to execute...
- Question #97
You use SQL Server 2012 to maintain the data used by the applications at your company. You plan to create a disk-based table named Tablel by using the following statement. (Line nu...
- Question #100
You are designing a database named DB1. You need to recommend a strategy to deploy the changes to DB1. The strategy must meet the following requirements: - The strategy must not di...
- Question #102Design and implement database solutions
You have a SQL Server 2012 database named Database1. You execute the following code: You insert 3 million rows into Sales. You need to reduce the amount of time it takes to execute...
query optimizationindex creationstored procedure performanceexecution plan - Question #103Design and implement database solutions for cloud
You have a database hosted on SQL Server 2012 R2. The database contains 5 million rows. You need to recommend a repeatable method to migrate the database to SQL Database. Which met...
database migrationAzure SQL DatabaseSSISdata-tier application - Question #104Administer SQL Server
You are the new database administrator for aSQL Server 2014 instance. You conduct an assessment on the instance and determine that the auto create statistics setting on the databas...
statistics monitoringextended eventsmissing statisticsquery performance - Question #105Administer SQL Server
You are troubleshooting an application that runs a query. The application frequently causes deadlocks. You need to identify the isolation level used by the query when a deadlock oc...
deadlock troubleshootingisolation levelssys.dm_exec_sessionsDMVs - Question #106Design and implement database security
You are creating a database that will store usernames and credit card numbers for an application. You need to recommend a solution to store and resuse the credit card numbers in th...
TDEdata encryptionsensitive data protectioncredit card security - Question #107
You have a table named ORDERS that contains 10,514,003 Orders. The ORDERS table has an IDENTITY (1,1) column named ORDERID. ORDERID is the UNIQUE CLUSTERED INDEX and PRIMARY KEY fo...
- Question #111Administer SQL Server
You have a query that is used by a reporting dashboard. Users report that the query sometimes takes a long time to run. You need to recommend a solution to identify what is causing...
blocking detectionblocked process thresholdperformance monitoringSQL Profiler - Question #112Administer SQL Server
You administer a SQL Server 2014 instance. Users report that the SQL Server has seemed slow today. A large database was being restored for much of the day, which could be causing i...
DMVssys.dm_exec_requestssys.dm_exec_sessionsrestore progress monitoring - Question #113
You execute the following code: You create a nonclustered index named IXCustomerName on the CustomerName column. You execute the following query: You need to reduce the amount of t...
- Question #114
You use a contained database named ContosoDb within a domain. You need to create a user who can log on to the ContosoDb database. You also need to ensure that you can port the data...
- Question #115
You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales schema. Some users must be prevented from deleting records in any of the tables in the Sal...
- Question #116Design and implement database solutions
You create a stored procedure that retrieves all of the rows from a table named Table1. You need to recommend a solution to ensure that all of the statements in the stored procedur...
snapshot isolationconcurrencytransaction isolationread consistency - Question #117Administer SQL Server
You have a SQL Server instance on a server named Server1. You need to recommend a solution to perform the following tasks every week: - Rebuild the indexes by using a new fill fact...
maintenance planindex rebuildscheduled backupsSQL Agent - Question #118
You are the lead database administrator (DBA) of a Microsoft SQL Server 2012 environment. All DBAs are members of the DOMAIN\JrDBAs Active Directory group. You grant DOMAIN\JrDBAs...
- Question #119
You create an availability group that has replicas named HA/Server01 and HA/Server02. Currently, HA/Server01 is the primary replica. You have multiple queries that read data and pr...
- Question #120
You administer two Microsoft SQL Server 2012 servers. Each server resides in a different, untrusted domain. You plan to configure database mirroring. You need to be able to create...
- Question #121
You administer a Microsoft SQL Server 2012 instance. You need to configure a new database to support FILETABLES. What should you do? Choose all that apply.
- Question #122Administer SQL Server
You deploy a SQL Server instance named SQLProd that uses SQL Server 2014. You need to recommend a solution to monitor the transactions that are running currently against SQLProd. T...
DMVstransaction monitoringsys.dm_exec_requestsperformance monitoring - Question #123Design and implement database security
You have two databases named DB1 and DB2 that are located on the same server. You plan to create a stored procedure named SProc1 in DB1. SProc1 will query a table named Table2 in D...
application rolescross-database accessstored proceduresaccess control - Question #124Design and implement database solutions
You 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...
contained databasesSQL Server Authenticationdatabase portabilitylogins