EnsurePass
2018 Mar Microsoft Official New Released 70-464
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/70-464.html

Developing Microsoft SQL Server 2012 Databases

Question No: 31 – (Topic 4)

You are planning the ManufacturingSteps table.

You need to define the ProductID column in the CREATE TABLE statement. Which code segment should you use?

Ensurepass 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: B Explanation:

http://msdn.microsoft.com/en-us/library/ms189049.aspx http://msdn.microsoft.com/en-us/library/ms179610.aspx http://msdn.microsoft.com/en-us/library/ff878370.aspx

Question No: 32 – (Topic 4)

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?

Ensurepass 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: B Explanation:

http://msdn.microsoft.com/en-us/library/ms191320.aspx http://msdn.microsoft.com/en-us/library/ms186755.aspx

Question No: 33 – (Topic 4)

Which code segment should you use to define the ProductDetails column?

  1. ProductDetails xml (DOCUMENT Production.ProductDetailsSchema) NULL

  2. ProductDetails xml NULL

  3. ProductDetails xml (CONTENT Production.ProductDetailsSchema) NULL

  4. ProductDetails varchar(MAX) NULL

Answer: D

Question No: 34 – (Topic 4)

An administrator provides a digital certificate named ServerCert.

You need to implement Transparent Data Encryption (TDE) on ProductsDB. Which code segment should you use?

  1. USE PRODUCTSDB; GO

    CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = TRIPLE_DES_3KEY ENCRYPTION BY SERVER CERTIFICATE DBCERT;

    GO

    ALTER DATABASE PRODUCTSDB SET ENCRYPTION ON; GO

  2. USE PRODUCTSDB; GO

    CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = TRIPLE_DES_3KEY ENCRYPTION BY SERVER CERTIFICATE PRODUCTSCERT;

    GO

    ALTER DATABASE PRODUCTSDB SET ENCRYPTION ON; GO

  3. USE PRODUCTSDB; GO

    CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = AES_256 ENCRYPTION BY SERVER CERTIFICATE PRODUCTSCERT;

    GO

    ALTER DATABASE PRODUCTSDB SET ENCRYPTION ON; GO

  4. USE PRODUCTSDB; GO

CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = AES_256 ENCRYPTION BY SERVER CERTIFICATE DBCERT;

GO

ALTER DATABASE PRODUCTSDB SET ENCRYPTION ON; GO

Answer: C Explanation:

http://msdn.microsoft.com/en-us/library/bb934049.aspx

Question No: 35 – (Topic 4)

Which data type should you use for ProductType?

  1. varchar(11)

  2. nvarchar(11)

  3. char(11)

  4. bigint

Answer: C

Question No: 36 – (Topic 4)

While testing the CategoryFromType function, you discover that the function is returning #39;Other#39;.

You need to update CategoryFromType to return the category name. Which line of code should you modify in CategoryFromType.sql?

  1. 04

  2. 05

  3. 12

  4. 14

Answer: B

Question No: 37 – (Topic 4)

You execute IndexManagement.sql and you receive the following error message: quot;Msg 512, Level 16, State 1, Line 12

Subquery returned more than 1 value. This is not permitted when the subquery follows =,

!= ,lt;, lt;= , gt;, gt; = or when the subquery is used as an expression.quot; You need to ensure that IndexManagement.sql executes properly. Which WHILE statement should you use at line 18?

  1. WHILE SUM(@RowNumber) lt; (SELECT @counter FROM @indextable)

  2. WHILE @counter lt; (SELECT SUM(RowNumber) FROM @indextable)

  3. WHILE COUNT(@RowNumber) lt; (SELECT @counter FROM @indextable)

  4. WHILE @counter lt; (SELECT COUNT(RowNumber) FROM @indextable)

Answer: D

Question No: 38 – (Topic 4)

You need to modify Production.ProductDetails_Insert to comply with the application requirements.

Which code segment should you execute?

Ensurepass 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: C Explanation:

http://msdn.microsoft.com/en-us/library/bb669102.aspx

Question No: 39 – (Topic 4)

You are testing disaster recovery procedures.

When you attempt to restore ProductsDB to another server, you receive the following error message: quot;Msg

33111, Level 16, State 3, Line 5

Cannot find server certificate with thumbprint #39; 0x9D876A3468B911ElBA4CFCBF4724019B\

Msg 3013, Level 16, State 1, Line 5

RESTORE DATABASE is terminating abnormally.quot;

You need to ensure that you can restore ProductsDB to another server. Which code segment should you execute on the other server?

Ensurepass 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: D

Topic 5, Litware, Inc Overview

General Overview

You are a database developer for a company named Litware, Inc. Litware has a main office in Miami.

Litware has a job posting web application named WebApp1. WebApp1 uses a database named DB1. DB1 is hosted on a server named Server1. The database design of DB1 is shown in the exhibit. (Click the Exhibit button.)

Ensurepass 2018 PDF and VCE

WebApp1 allows a user to log on as a job poster or a job seeker. Candidates can search for job openings based on keywords, apply to an opening, view their application, and load their resume in Microsoft Word format. Companies can add a job opening, view the list of candidates who applied to an opening, and mark an application as denied.

Users and Roles

DB1 has five database users named Company, CompanyWeb, Candidate, CandidateWeb, and Administrator.

DB1 has three user-defined database roles. The roles are configured as shown in the following table.

Ensurepass 2018 PDF and VCE

Keyword Search

The keyword searches for the job openings are performed by using the following stored procedure named usp_GetOpenings:

Ensurepass 2018 PDF and VCE

Opening Update

Updates to the Openings table are performed by using the following stored procedure named usp_UpdateOpening:

Ensurepass 2018 PDF and VCE

Problems and Reported Issues Concurrency Problems

You discover that deadlocks frequently occur.

You identify that a stored procedure named usp_AcceptCandidate and a stored procedure

named usp_UpdateCandidate generate deadlocks. The following is the code for usp_AcceptCandidate:

Ensurepass 2018 PDF and VCE

Salary Query Issues

Users report that when they perform a search for job openings without specifying a minimum salary, only job openings that specify a minimum salary are displayed.

Log File Growth Issues

The current log file for DB1 grows constantly. The log file fails to shrink even when the daily SQL Server Agent Shrink Database task runs.

Performance Issues

You discover that a stored procedure named usp_ExportOpenings takes a long time to run and executes a table scan when it runs.

You also discover that the usp_GetOpenings stored procedure takes a long time to run and that the non-clustered index on the Description column is not being used.

Page Split Issues

On DB1, many page splits per second spike every few minutes.

Requirements

Security and Application Requirements

Litware identifies the following security and application requirements:

->Only the Administrator, Company, and CompanyWeb database users must be able to execute the usp_UpdateOpening stored procedure.

->Changes made to the database must not affect WebApp1.

Locking Requirements

Litware identifies the following locking requirements:

->The usp_GetOpenings stored procedure must not be blocked by the usp_UpdateOpening stored procedure.

->If a row is locked in the Openings table, usp_GetOpenings must retrieve the latest version of the row, even if the row was not committed yet.

Integration Requirements

Litware exports its job openings to an external company as XML data. The XML data uses the following format:

Ensurepass 2018 PDF and VCE

A stored procedure named usp_ExportOpenings will be used to generate the XML data. The following is the code for usp_ExportOpenings:

Ensurepass 2018 PDF and VCE

The stored procedure will be executed by a SQL Server Integration Services (SSIS) package named Package1.

The XML data will be written to a secured folder named Folder1. Only a dedicated Active Directory account named Account1 is assigned the permissions to read from or write to Folder1.

Refactoring Requirements

Litware identifies the following refactoring requirements:

->New code must be written by reusing the following query:

->The results from the query must be able to be joined to other queries.

Upload Requirements

Litware requires users to upload their job experience in a Word file by using WebApp1. WebApp1 will send the Word file to DB1 as a stream of bytes. DB1 will then convert the Word file to text before the contents of the Word file is saved to the Candidates table.

A database developer creates an assembly named Conversions that contains the following:

->A class named Convert in the SqlConversions namespace

->A method named ConvertToText in the Convert class that converts Word files to text

The ConvertToText method accepts a stream of bytes and returns text. The method is used in the following stored procedure:

Ensurepass 2018 PDF and VCE

Job Application Requirements

A candidate can only apply to each job opening once.

Data Recovery Requirements

All changes to the database are performed by using stored procedures. WebApp1 generates a unique transaction ID for every stored procedure call that the application makes to the database.

If a server fails, you must be able to restore data to a specified transaction.

Question No: 40 – (Topic 5)

You need to identify the cause of the page split issues. Which SQL Server feature should you use?

  1. DBCC REINDEX

  2. SQL Server Profiler

  3. Extended Events

  4. DBCC TRACEOFF

Answer: C

100% Free Download!
Download Free Demo:70-464 Demo PDF
100% Pass Guaranteed!
Download 2018 EnsurePass 70-464 Full Exam PDF and VCE

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2018 EnsurePass IT Certification PDF and VCE

Leave a Reply

Your email address will not be published. Required fields are marked *