70-461 Exam Details

  • Exam Code
    :70-461
  • Exam Name
    :Querying Microsoft SQL Server 2012/2014
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :446 Q&As
  • Last Updated
    :Jan 17, 2022

Microsoft 70-461 Online Questions & Answers

  • Question 81:

    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.

  • Question 82:

    Which of the following is not a violation of the relational model?

    A. Using ordinal positions for columns
    B. Returning duplicate rows
    C. Not defining a key in a table
    D. Ensuring that all attributes in the result of a query have names

  • Question 83:

    SIMULATION

    You have a business reporting database.

    Several power users generate reports from the database.

    You need to create an object in the database to meet the following requirements:

    1. Provide the power users with the ability to use simple queries.

    2. Prevent schema changes on objects related to the query.

    Part of the correct Transact-SQL has been provided in the answer area below. Enter the code in the answer area that resolves the problem and meets the stated goals or requirements. You can add code within code that has been provided as well as below it.

    Use the ‘Check Syntax’ button to verify your work. Any syntax or spelling errors will be reported by line and character position.

  • Question 84:

    You use Microsoft SQL Server to develop a database application.

    You create a stored procedure named usp_calculategrowth. The stored procedure modifies rows and can result in several different exceptions.

    You need to ensure that when the stored procedure is executed, the following requirements are met:

    Which six Transact-SQL statements should you use? (To answer, move the appropriate SQL statements from the list of statements to the answer area and arrange them in the correct order.)

    Select and Place:

  • Question 85:

    Which commands turn on an XML plan? (Choose all that apply.)

    A. SET EXECUTION_XML ON
    B. SET SHOWPLAN_XML ON
    C. SET XML PLAN ON
    D. SET STATISTICS XML ON

  • Question 86:

    You are maintaining a SQL Server database that uses the default settings. The database contains a table that is defined by the following Transact-SQL statement.

    You must write a query that returns the AddressLine1, AddressLine2, and Region fields separated by carriage returns. You must return an empty string for any null values.

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 87:

    Which of the following is invalid? (Choose all that apply.)

    A. Referring to an attribute that you group by in the WHERE clause
    B. Referring to an expression in the GROUP BY clause; for example, GROUP BY YEAR(orderdate)
    C. In a grouped query, referring in the SELECT list to an attribute that is not part of
    D. the GROUP BY list and not within an aggregate function Referring to an alias defined in the SELECT clause in the HAVING clause

  • Question 88:

    You need to create a query that calculates the total sales of each OrderID from a table named Sales.Details. The table contains two columns named OrderID and ExtendedAmount. The solution must meet the following requirements:

    1. Use one-part names to reference columns.

    2. Start the order of the results from OrderID.

    3. NOT depend on the default schema of a user.

    4. Use an alias of TotalSales for the calculated ExtendedAmount.

    5. Display only the OrderID column and the calculated TotalSales column. Provide the correct code in the answer area.

  • Question 89:

    Can you have indexes on table variables?

    A. No
    B. Yes, by running the CREATE INDEX command
    C. Yes, indirectly by defining primary key and unique constraints
    D. Yes, by defining foreign keys

  • Question 90:

    Which of the following cases is suitable for using table variables? (Choose all that apply.)

    A. When the tables are very small and the plan is trivial
    B. When the tables are very small and the plan is nontrivial
    C. When the tables are large and the plan is trivial
    D. When the tables are large and the plan is nontrivial

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-461 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.