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 401:

    You need to extract data from a table in a SQL Server 2012 database. What connection manager types can you use? (Choose all that apply.)

    A. An ODBC connection manager
    B. An OLE DB connection manager
    C. A File connection manager
    D. An ADO.NET connection manager

  • Question 402:

    You work as a database developer at ABC.com. ABC has an in-house application named ABCApp3 that runs a Transact-SQL query against a SQL Server 2012 database named SalesDB.

    ABC.com users report that ABCApp3 is functioning sluggishly. You discover that concurrent updates are causing blockages on the SalesDB database.

    How would you ensure that the query to use the original data when updates occur?

    A. You should have the query run in the REPEATABLE READ ISOLATION LEVEL.
    B. You should have the query run in the SERIALIZABLE ISOLATION LEVEL.
    C. You should have the query run in the READCOMMITTED ISOLATION LEVEL.
    D. You should have the query run in the SNAPSHOT ISOLATION LEVEL.
    E. You should have the query run in the READPAST ISOLATION LEVEL.

  • Question 403:

    Your application contains a stored procedure for each country. Each stored procedure accepts an employee identification number through the @EmplD parameter. You need to build a single process for each employee that will execute the appropriate stored procedure based on the country of residence. Which approach should you use?

    A. A SELECT statement that includes CASE
    B. Cursor
    C. BULK INSERT
    D. View
    E. A user-defined function

  • Question 404:

    You have a database named Sales that contains the tables as shown in the exhibit. (Click the Exhibit button.)

    You need to create a query that returns a list of products from Sales.ProductCatalog. The solution must meet the following requirements:

    Return rows ordered by descending values in the UnitPrice column.

    Use the Rank function to calculate the results based on the UnitPrice column.

    Return the ranking of rows in a column that uses the alias PriceRank.

    Use two-part names to reference tables.

    Display the columns in the order that they are defined in the table. The PriceRank column must appear last.

    Part of the correct T-SQL statement has been provided in the answer area. Provide the complete code.

  • Question 405:

    DRAG DROP

    You are developing a Microsoft Azure SQL Database instance to support a company's payroll system. The database contains a table named Employee defined by the following Transact-SQL statement:

    The company defines five employee levels. Each employee's level is stored in the Level column. Levels 1,2, and 3 are used for non-executive employees. Levels 4 and 5 are used for executives. Each of the non-executive levels has a defined

    range that constrains the salary of employees at that level.

    You need to create a view that allows non-executive Employees entries to be updated based on the following rules:

    Only non-executive employees can be viewed or updated.

    Employees can be promoted to a non-executive level.

    Employees cannot be promoted to an executive level.

    If an employees' salary changes, the new salary must adhere to the company-defined range for that level.

    Which four Transact-SQL segments should you use to develop the solution? To answer, move the appropriate Transact-SQL segments from the list of Transact-SQL segments to the answer area and arrange them in the correct order.

    Select and Place:

  • Question 406:

    DRAG DROP

    You develop a database application for Microsoft SQL Server and Microsoft Azure SQL Database.

    You create a table named Purchasing.vVendorWithAddresses as shown in the following table.

    You write the following Transact-SQL (Line numbers are included for reference only.) 01 CREATE PROCEDURE

    You need to add Transact-SQL statements at line 08 to ensure that GetVendorInStateNeighbors returns the names of vendors that are located in all states where the vendor specified in the @vendorname parameter has a location. Which three Transact-SQL segments should you use to develop the solution? To answer, move the appropriate Transact-SQL segments from the list of Transact-SQL segments to the answer area and arrange them in the correct order.

    Select and Place:

  • Question 407:

    SQL Server 2012 uses the standard four-part naming convention when referencing database objects. Which of the following is the correct example of the four-part naming?

    A. server_name.schema_name.database_name.object_name
    B. schema_name.object_name.server_name.database_name
    C. object_name.server_name.schema_name.database_name
    D. server_name.database_name.schema_name.object_name

  • Question 408:

    You develop a Microsoft SQL Server 2012 database that contains a heap named OrdersHistoncal.

    You write the following Transact-SQL query:

    INSERT INTO OrdersHistorical SELECT * FROM CompletedOrders

    You need to optimize transaction logging and locking for the statement. Which table hint should you use?

    A. HOLDLOCK
    B. ROWLOCK
    C. XLOCK
    D. UPDLOCK
    E. TABLOCK

  • Question 409:

    Which of the following are true about table-valued UDFs?

    A. Table-valued UDFs can return scalar values or tables.
    B. Table-valued UDFs always involve multiple T-SQL statements.
    C. Table-valued UDFs can be invoked in a SELECT list or a WHERE clause.
    D. Table-valued UDFs can be invoked in the FROM clause of a SELECT statement.

  • Question 410:

    You use a Microsoft SQL Server database that contains a table. The table has records of customer orders.

    Your company has three divisions that have the following names:

    East

    Central West

    You need to create a query that displays the following information: The number of sales for each product (ProductName) grouped by the division (Division) that sold the product A column for each division

    Which Transact-SQL query should you use?

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

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.