70-457 Exam Details

  • Exam Code
    :70-457
  • Exam Name
    :Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :183 Q&As
  • Last Updated
    :Feb 05, 2022

Microsoft 70-457 Online Questions & Answers

  • Question 21:

    You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database.

    The recovery model and backup schedule are configured as shown in the following table: The differential backup of the reporting database fails. Then, the reporting database fails at 14:00 hours.

    You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal.

    What should you do?

    A. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup.
    B. Perform a point-in-time restore.
    C. Restore the latest full backup.
    D. Restore the latest full backup, and restore the latest differential backup. Then, restore each log backup taken before the time of failure from the most recent differential backup.
    E. Restore the latest full backup. Then, restore the latest differential backup.
    F. Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup.
    G. Perform a page restore.
    H. Perform a partial restore.

  • Question 22:

    You are developing a database that will contain price information.

    You need to store the prices that include a fixed precision and a scale of six digits. Which data type should you use?

    A. Float
    B. Money
    C. Smallmoney
    D. Numeric

  • Question 23:

    You administer several Microsoft SQL Server 2012 servers. Your company has a number of offices across the world connected by using a wide area network (WAN).

    Connections between offices vary significantly in both bandwidth and reliability.

    You need to identify the correct replication method for each scenario.

    What should you do? (To answer, drag the appropriate replication method or methods to the correct location or locations in the answer area. Each replication method may be used once, more than once, or not at all.)

    Select and Place:

  • Question 24:

    You administer all the deployments of Microsoft SQL Server 2012 in your company.

    You need to ensure that an OLTP database that includes up-to-the-minute reporting requirements can be off-loaded from the primary database to another server. You also need to be able to add indexes to the secondary database.

    Which configuration should you use?

    A. Two servers configured in different data centers SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary
    B. Two servers configured in the same data center SQL Server Availability Group configured in Asynchronous-Commit Availability Mode One server configured as an Active Secondary
    C. Two servers configured in the same data center A primary server configured to perform log-shipping every 10 minutes ?A backup server configured as a warm standby
    D. Two servers configured in different data centers SQL Server Availability Group configured in Asynchronous-Commit Availability Mode
    E. Two servers configured on the same subnet SQL Server Availability Group configured in Synchronous-Commit Availability Mode
    F. SQL Server that includes an application database configured to perform transactional replication
    G. SQL Server that includes an application database configured to perform snapshot replication
    H. Two servers configured in a Windows Failover Cluster in the same data center SQL Server configured as a clustered instance

  • Question 25:

    You use Microsoft SQL Server 2012 to develop a database application. Your application sends data to an NVARCHAR(MAX) variable named @var. You need to write a Transact-SQL statement that will find out the success of a cast to a decimal (36,9).

    Which code segment should you use?

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

  • Question 26:

    You use Microsoft SQL Server 2012 database to develop a shopping cart application.

    You need to invoke a table-valued function for each row returned by a query.

    Which Transact-SQL operator should you use?

    A. CROSS JOIN
    B. UNPIVOT
    C. PIVOT
    D. CROSS APPLY

  • Question 27:

    You administer two Microsoft SQL Server 2012 servers. Each server resides in a different, untrusted domain. You plan to configure database mirroring. You need to be able to create database mirroring endpoints on both servers.

    What should you do?

    A. Configure the SQL Server service account to use Network Service.
    B. Use a server certificate.
    C. Use a database certificate. D- Configure the SQL Server service account to use Local System.

  • Question 28:

    You use Microsoft SQL Server 2012 to develop a database that has two tables named Div1Cust and Div2Cust.

    Each table has columns named DivisionID and CustomerId . None of the rows in Div1Cust exist in Div2Cust.

    You need to write a query that meets the following requirements:

    The rows in Div1Cust must be combined with the rows in Div2Cust. The result set must have columns named Division and Customer.

    Duplicates must be retained.

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

    Select and Place:

  • Question 29:

    You administer a Microsoft SQL Server 2012 database. The database contains a table named Employee.

    Part of the Employee table is shown in the exhibit. (Click the Exhibit button.)

    Confidential information about the employees is stored in a separate table named EmployeeData. One record exists within EmployeeData for each record in the Employee table. You need to assign the appropriate constraints and table properties to ensure data integrity and visibility.

    On which column in the Employee table should you a create a unique constraint?

    A. DateHired
    B. DepartmentID
    C. EmployeelD
    D. EmployeeNum
    E. FirstName
    F. JobTitle
    G. LastName
    H. MiddleName
    I. ReportsToID

  • Question 30:

    You create a table that has the StudentCode, SubjectCode, and Marks columns to record mid-year marks for students. The table has marks obtained by 50 students for various subjects.

    You need to retrieve the students who scored the highest marks for each subject along with the marks.

    Which Transact-SQL query should you use?

    A. SELECT StudentCode as Code, RANK() OVER(ORDER BY AVG(Marks) DESC) AS Value FROM StudentMarks GROUP BY StudentCode
    B. SELECT Id, Name, Marks, DENSE_RANK() OVER(ORDER BY Marks DESC) AS Rank FROM StudentMarks
    C. SELECT StudentCode as Code, DENSE_RANK() OVER(ORDER BY AVG(Marks) DESC) AS Value FROM StudentMarks GROUP BY StudentCode
    D. SELECT StudentCode as Code, NTILE(2) OVER(ORDER BY AVG(Marks) DESC) AS Value FROM StudentMarks GROUP BY StudentCode
    E. SELECT StudentCode AS Code, Marks AS Value FROM ( SELECT StudentCode, Marks AS Marks, RANK() OVER(PARTITION BY SubjectCode ORDER BY Marks ASC) AS Rank FROM StudentMarks) tmp WHERE Rank = 1
    F. SELECT StudentCode AS Code, Marks AS Value FROM ( SELECT StudentCode, Marks AS Marks, RANK() OVER(PARTITION BY SubjectCode ORDER BY Marks DESC) AS Rank FROM StudentMarks) tmp WHERE Rank = 1
    G. SELECT StudentCode AS Code, Marks AS Value FROM ( SELECT StudentCode, Marks AS Marks, RANK() OVER(PARTITION BY StudentCode ORDER BY Marks ASC) AS Rank FROM StudentMarks) tmp WHERE Rank = 1
    H. SELECT StudentCode AS Code, Marks AS Value FROM ( SELECT StudentCode, Marks AS Marks, RANXO OVER(PARTITION BY StudentCode ORDER BY Marks DESC) AS Rank FROM StudentMarks) tmp WHERE Rank = 1

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-457 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.