70-469 Exam - Recertification for MCSE: Data Platform

certleader.com

Q1. You have a database for a mission-critical web application. The database is stored on a SQL Server 2012 instance and is the only database on the instance. 

The application generates all T-SQL statements dynamically and does not use stored procedures. 

You need to maximize the amount of memory available for data caching. 

Which advanced server option should you modify? 

A. Optimize for Ad hoc Workloads 

B. Enable Contained Databases 

C. Allow Triggers to Fire Others 

D. Scan for Startup Procs 

Answer:

Q2. You 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. 

A. One-way encryption 

B. Encrypting File System (EFS) 

C. Transparent Data Encryption (TDE) 

D. Reversible encryption 

Answer:

Q3. 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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q4. You are designing your maintenance plan. 

Which command should you use only during the monthly maintenance window? 

A. DBCC INDEXDEFRAG (ProdDB, SalesOrderDetail, SODIndex) 

B. ALTER INDEX SODIndex ON SalesOrderDetail REORGANIZE 

C. ALTER INDEX SODIndex ON SalesOrderDetail REBUILD 

D. ALTER INDEX SODIndex ON SalesOrderDetail REBUILD WITH (ONLINE * ON) 

Answer:

Q5. You have a SQL Server 2012 environment that contains two servers. The servers are configured as shown in the following table. 

After the failover is complete, a user receives the following error message when connecting to DB1 on Server2: 

"Msg 916, Level 14, State 1, Line 1 The server principal "Account1" is not able to access the database "DB1" under the current security context." 

You verify that there is a server login for Account1 on Server2. 

You need to ensure that Account1 can connect to DB1. 

What should you do? 

More than one answer choice may achieve the goal. Select the BEST answer. 

A. Update the SID for Account1 on DB1. 

B. Add Account1 to the db_datareader role. 

C. Create a new database user on DB1. 

D. Implement Windows authentication. 

Answer:

Q6. 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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q7. You have a Microsoft SQL Azure database that contains a table named Employees. 

You create a non-clustered index named EmployeeName on the name column. 

You write the following query to retrieve all of the employees that have a name that starts with the letters JOH: 

You discover that the query performs a table scan. 

You need to ensure that the query uses EmployeeName. 

What should you do? 

A. Recreate EmployeeName as a unique index 

B. Recreate EmployeeName as a clustered index 

C. Replace LEFT(name,3) = 'JOH' by using name like 'JOH%' 

D. Replace LEFT(name,3) = 'JOH' by using substring(name, 1, 3) = 'JOH' 

Answer:

Q8. You need to recommend a solution that meets the concurrency problems. 

What should you include in the recommendation? 

A. Modify the stored procedures to use the SERIALIZABLE isolation level. 

B. Modify the order in which usp_AcceptCandidate accesses the Applications table and the Candidates table. 

C. Modify the order in which usp_UpdateCandidate accesses the Applications table and the Candidates table. 

D. Modify the stored procedures to use the REPEATABLE READ isolation level. 

Answer:

Q9. You need to implement a solution that addresses the page split issues. Which statement should you execute? 

A. ALTER INDEX IX_Orders_ShipDate ON Orders 

REBUILD WITH (PAD_INDEX=OFF, DROP_EXISTING = ON); 

B. ALTER INDEX IX_Orders_ShipDate ON Orders 

REBUILD WITH (FILLFACTOR=50, DROP_EXISTING = ON); 

C. ALTER INDEX IX_Orders_ShipDate ON Orders 

REBUILD WITH (FILLFACTOR = 0, DROP_EXISTING = ON); 

D. ALTER INDEX IX_Orders_ShipDate ON Orders 

REBUILD WITH (PAD_INDEX=ON, DROP_EXISTING = ON); 

Answer:

Q10. You attempt to process an invoice by using usp_InsertInvoice.sql and you receive the following error message: "Msg 515, Level 16, State 2, Procedure usp_InsertInvoice, Line 

Cannot insert the value NULL into column 'InvoiceDate', table 'DB1.Accounting.Invoices' column does not allow nulls. INSERT fails." 

You need to modify usp_InsertInvoice.sql to resolve the error. 

How should you modify the INSERT statement? 

A. InvoiceDate varchar(l00) 'InvoiceDate', 

B. InvoiceDate varchar(100) 'Customer/InvoiceDate', ' 

C. InvoiceDate date '@InvoiceDate', 

D. InvoiceDate date 'Customer/@InvoiceDate', 

Answer: