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

    A database named AdventureWorks contains two tables named Production.Product and Sales.SalesOrderDetail. The tables contain data on the available products and a detailed order history.

    The Production.Product table contains the following two columns: ProductID Name

    The Sales.SalesOrderDetail table contains the following three columns: SalesOrderID ProductID OrderQty

    You need to create a query listing all of the products that were never ordered. Which statements should you execute?

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

  • Question 332:

    How can you create synonyms for the words searched?

    A. You can edit the thesaurus file.
    B. You can create a thesaurus table.
    C. You can use the stopwords for synonyms as well.
    D. Full-text search does not support synonyms.

  • Question 333:

    You are employed as a SQL Server 2012 database developer at ABC.com. ABC.com has a database named HRDB with tables named Staff and SalaryHistory. The Staff and SalaryHistory tables were created using the following Transact-

    SQL code:

    CREATE TABLE HRDB.Staff

    (

    StaffID int NOT NULL PRIMARY KEY,

    FirstName nvarchar(50) NOT NULL,

    LastName nvarchar(50) NOT NULL,

    JobTitle nvarchar(50) NOT NULL,

    StaffAddress nvarchar (200) NULL, StaffCity nvarchar(50) NOT NULL, StaffState nvarchar(50) NOT NULL,

    StaffPhone varchar (10) NOT NULL,

    Salary smallmoney NOT NULL

    )

    GO

    CREATE TABLE HRDB.SalaryHistory

    (

    StaffID int NOT NULL,

    IncreaseDate date DEFAULT GETDATE(),

    PrevSalary smallmoney NOT NULL,

    NewSalary smallmoney NOT NULL

    )

    GO

    You must write a Transact-SQL query to affect a salary increase of 6.5% for all staff members with a JobTitle of Support Technician. Your query must also update the data in the SalaryHistory table.

    What Transact SQL statement would accomplish this task?

    To answer, type the correct code in the answer area.

    A. Check the answer below

  • Question 334:

    DRAG DROP

    Your Microsoft SQL Server database contains tables as shown below.

    You have tables that were created by running the following Transact-SQL statements:

    The Product table contains 10,000 records. The maximum ProductID is 11,000.

    There are 12 rows in the Category table. The maximum CategoryID is 12.

    The Product table contains at least one product in every category.

    Data in the tables was accidently modified. To correct this, you need to make some updates directly to the tables. You issue several statements.

    Which result or results will you obtain for each Transact-SQL statement? To answer, drag the appropriate results to the correct Transact-SQL statements. Each result may be used once. More than once, or not at all. You may need to drag the

    split bar between panes or scroll to view content.

    Select and Place:

  • Question 335:

    What is the result of the WITH CHECK OPTION in a view that has a WHERE clause in its SELECT statement?

    A. Data can no longer be updated through the view.
    B. Data can be updated through the view, but primary key values cannot be changed.
    C. Data can be updated through the view, but values cannot be changed that would cause rows to fall outside the filter of the WHERE clause.
    D. Data can be updated through the view, but only columns with check constraints can be changed.

  • Question 336:

    SIMULATION

    You need to create a table named OrderDetails on a new server. OrderDetails must meet the following requirements:

    1. Contain a new column named LineltemTotal that stores the product of ListPrice and Quantity for each row.

    2. The calculation for a line item total must not be run every time the table is queried.

    3. The code must NOT use any object delimiters.

    The solution must ensure that LineItemTotal is stored as the last column in the table.

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

  • Question 337:

    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.

  • Question 338:

    You have a view that was created by using the following code:

    You need to create an inline table-valued function named Sales.fn_OrdersByTerritory,

    which must meet the following requirements:

    Accept the @T integer parameter.

    Use one-part names to reference columns.

    Filter the query results by SalesTerritoryID.

    Return the columns in the same order as the order used in OrdersByTerritoryView.

    Which code segment should you use?

    To answer, type the correct code in the answer area.

  • Question 339:

    You administer a Microsoft SQL Server database named Orders. Orders is highly active OLTP system used for e-commerce.

    Performance on the database has degraded over the past few months as the volume of data has increased, and now users report the application is unusable.

    You need to identify the cause of the performance problem. Which Transact-SQL statement should you run?

    A. SET STATISTICS TIME ON
    B. SET FORCEPLAN ON
    C. SET STATISTICS IO ON
    D. DBCC CHECKCONTRAINTS

  • Question 340:

    What is the relationship between SQL and T-SQL?

    A. T-SQL is the standard language and SQL is the dialect in Microsoft SQL Server.
    B. SQL is the standard language and T-SQL is the dialect in Microsoft SQL Server.
    C. Both SQL and T-SQL are standard languages.
    D. Both SQL and T-SQL are dialects in Microsoft SQL Server.

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.