Free Phone
MS-SQL exam 70-461 questions and answers dumps
QUESTION 21
You develop a database for a travel application. You need to design
tables and other database objects. You need to store media files in several tables. Each media file is less than 1 MB in
size.
The media files will require fast access and will be retrieved
frequently. What should you do?
A. Use the CAST function.
B. Use the DATE data type.
C. Use the FORMAT function.
D. Use an appropriate collation.
E. Use a user-defined table type.
F. Use the VARBINARY data type.
G. Use the DATETIME data type.
H. Use the DATETIME2 data type.
I. Use the DATETIMEOFFSET data type.
J. Use the TODATETIMEOFFSET function.
Correct Answer: Below
QUESTION 22
QUESTION 22
You develop a database for a travel application. You need to design
tables and other database objects. You create a view that displays the dates
and times of the airline schedules on a report.
You need to display dates and times in several international formats. What should you do?
A. Use the CAST function.
B. Use the DATE data type.
C. Use the FORMAT function.
D. Use an appropriate collation.
E. Use a user-defined table type.
F. Use the VARBINARY data type.
G. Use the DATETIME data type.
H. Use the DATETIME2 data type.
I. Use the DATETIMEOFFSET data type.
J. Use the TODATETIMEOFFSET function.
Correct Answer: Below
QUESTION 23
QUESTION 23
You develop a database for a travel application. You need to design
tables and other database objects. You create the Airline Schedules table. You
need to store the departure and arrival dates and times of flights along with time zone information. What should you
do?
A. Use the CAST function.
B. Use the DATE data type.
C. Use the FORMAT function.
D. Use an appropriate collation.
E. Use a user-defined table type.
F. Use the VARBINARY data type.
G. Use the DATETIME data type.
H. Use the DATETIME2 data type.
I. Use the DATETIMEOFFSET data type.
J. Use the TODATETIMEOFFSET function.
Correct Answer: I
QUESTION 24
QUESTION 24
You develop a database for a travel application. You need to design
tables and other database objects. You create a stored procedure. You need to
supply the stored procedure with
multiple event names and their dates as parameters. What should you do?
A. Use the CAST function.
B. Use the DATE data type.
C. Use the FORMAT function.
D. Use an appropriate collation.
E. Use a user-defined table type.
F. Use the VARBINARY data type.
G. Use the DATETIME data type.
H. Use the DATETIME2 data type.
I. Use the DATETIMEOFFSET data type.
J. Use the TODATETIMEOFFSET function.
Correct Answer: Below
QUESTION 25
You develop a Microsoft SQL Server 2012 database. The database is used
by two web applications that access a table named Products. You want to create
an object that will prevent the applications from accessing the table directly
while still providing access to the required data. You need to ensure that the
following requirements are met:
Future modifications to the table
definition will not affect the applications' ability to access data.
The new object can accommodate data
retrieval and data modification.
You need to achieve this goal by using
the minimum amount of changes to the applications.
What should you create for each application?
A. Synonyms
B. Common table expressions
C. Views
D. Temporary tables
Correct Answer: Below
QUESTION 26
You are developing a database application by using Microsoft SQL
Server 2012. An application that uses a database begins to run slowly. You
discover that during reads, the transaction experiences blocking from
concurrent updates. You need to ensure that throughout the transaction the data maintains the original version. What should
you do?
A. Add a HASH hint to the query.
B. Add a LOOP hint to the query.
C. Add a FORCESEEK hint to the query.
D. Add an INCLUDE clause to the index.
E. Add a FORCESCAN hint to the Attach
query.
F. Add a columnstore index to cover the
query.
G. Enable the optimize for ad hoc
workloads option.
H. Cover the unique clustered index with
a columnstore index.
I. Include a SET FORCEPLAN ON statement
before you run the query.
J. Include a SET STATISTICS PROFILE ON
statement before you run the query.
K. Include a SET STATISTICS SHOWPLAN_XML
ON statement before you run the query.
L. Include a SET TRANSACTION ISOLATION
LEVEL REPEATABLE READ statement before you run the query.
M. Include a SET TRANSACTION ISOLATION LEVEL SNAPSHOT statement before you run the
query.
N. Include a SET TRANSACTION ISOLATION
LEVEL SERIALIZABLE statement before you run the query.
Correct Answer: Below
QUESTION 27
You are developing a database application by using Microsoft SQL
Server 2012. You have a query that runs slower than expected. You need to capture execution plans that will
include detailed information on missing indexes recommended by the query
optimizer. What should you do?
A. Add a HASH hint to the query.
B. Add a LOOP hint to the query.
C. Add a FORCESEEK hint to the query.
D. Add an INCLUDE clause to the index.
E. Add a FORCESCAN hint to the Attach
query.
F. Add a columnstore index to cover the
query.
G. Enable the optimize for ad hoc
workloads option.
H. Cover the unique clustered index with
a columnstore index.
I. Include a SET FORCEPLAN ON statement
before you run the query.
J. Include a SET STATISTICS PROFILE ON
statement before you run the query.
K. Include a SET STATISTICS SHOWPLAN_XML
ON statement before you run the query.
L. Include a SET TRANSACTION ISOLATION
LEVEL REPEATABLE READ statement before you run the query.
M. Include a SET TRANSACTION ISOLATION
LEVEL SNAPSHOT statement before you run the query.
N. Include a SET TRANSACTION ISOLATION
LEVEL SERIALIZABLE statement before you run the query.
Correct Answer: Below
QUESTION 28
You are developing a database application by using Microsoft SQL
Server 2012. An application that uses a database begins to run slowly. You discover
that a large amount of memory is
consumed by single-use dynamic queries. You need to reduce procedure cache
usage from these statements without creating any additional indexes. What
should you do?
A. Add a HASH hint to the query.
B. Add a LOOP hint to the query.
C. Add a FORCESEEK hint to the query.
D. Add an INCLUDE clause to the index.
E. Add a FORCESCAN hint to the Attach
query.
F. Add a columnstore index to cover the
query.
G. Enable the optimize for ad hoc
workloads option.
H. Cover the unique clustered index with
a columnstore index.
I. Include a SET FORCEPLAN ON statement
before you run the query.
J. Include a SET STATISTICS PROFILE ON
statement before you run the query.
K. Include a SET STATISTICS SHOWPLAN_XML
ON statement before you run the query.
L. Include a SET TRANSACTION ISOLATION
LEVEL REPEATABLE READ statement before you run the query.
M. Include a SET TRANSACTION ISOLATION
LEVEL SNAPSHOT statement before you run the query.
N. Include a SET TRANSACTION ISOLATION
LEVEL SERIALIZABLE statement before you run the query.
Correct Answer: Below
QUESTION 29
You are developing a database application by using Microsoft SQL
Server 2012. An application that uses a database begins to run slowly. Your
investigation shows the root cause is a
query against a read-only table that has a clustered index. The query returns the following six columns: One
column in its WHERE clause contained in a non-clustered index. Four additional
columns One COUNT (*) column based on a grouping of the four additional
columns. You need to optimize the statement.
A. Add a HASH hint to the query.
B. Add a LOOP hint to the query.
C. Add a FORCESEEK hint to the query.
D. Add an INCLUDE clause to the index.
E. Add a FORCESCAN hint to the Attach
query.
F. Add a columnstore index to cover the
query.
G. Enable the optimize for ad hoc
workloads option.
H. Cover the unique clustered index with
a columnstore index.
I. Include a SET FORCEPLAN ON statement
before you run the query.
J. Include a SET STATISTICS PROFILE ON
statement before you run the query.
K. Include a SET STATISTICS SHOWPLAN_XML
ON statement before you run the query.
L. Include a SET TRANSACTION ISOLATION
LEVEL REPEATABLE READ statement before you run the query.
M. Include a SET TRANSACTION ISOLATION
LEVEL SNAPSHOT statement before you run the query.
N. Include a SET TRANSACTION ISOLATION
LEVEL SERIALIZABLE statement before you run the query.
Correct Answer: Below
QUESTION 30
You are developing a database application by using Microsoft SQL
Server 2012. An application that uses a database begins to run slowly. Your
investigation shows the root cause is a
query against a read-only table that has a non-clustered index. The query returns the following six columns: One
column in its WHERE clause contained in a non-clustered index. Four additional
columns One COUNT (*) column based on a grouping of the four additional
columns. You need to optimize the statement.
A. Add a HASH hint to the query.
B. Add a LOOP hint to the query.
C. Add a FORCESEEK hint to the query.
D. Add an INCLUDE clause to the index.
E. Add a FORCESCAN hint to the Attach
query.
F. Add a columnstore index to cover the
query.
G. Enable the optimize for ad hoc
workloads option.
H. Cover the unique clustered index with
a columnstore index.
I. Include a SET FORCEPLAN ON statement
before you run the query.
J. Include a SET STATISTICS PROFILE ON
statement before you run the query.
K. Include a SET STATISTICS SHOWPLAN_XML
ON statement before you run the query.
L. Include a SET TRANSACTION ISOLATION
LEVEL REPEATABLE READ statement before you run the query.
M. Include a SET TRANSACTION ISOLATION
LEVEL SNAPSHOT statement before you run the query.
N. Include a SET TRANSACTION ISOLATION
LEVEL SERIALIZABLE statement before you run the query.
Correct Answer: Below
Correct
Answer:
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
F
|
C
|
I
|
E
|
C
|
M
|
K
|
G
|
F
|
C
|
Awesome
ReplyDeleteIs there any explanation for Q29 and Q30?
ReplyDeleteSQL exam questions and answers that helps you to pass any IT Certifications. Get here
ReplyDeletesure braindumps
exam dumps answers
dumps free
dumps pdf
exam dumps
practice test free