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

    You use Microsoft SQL Server 2012 to write code for a transaction that contains several statements.

    There is high contention between readers and writers on several tables used by your transaction.

    You need to minimize the use of the tempdb space. You also need to prevent reading queries from blocking writing queries.

    Which isolation level should you use?

    A. SERIALIZABLE
    B. SNAPSHOT
    C. READ COMMITTED SNAPSHOT
    D. REPEATABLE READ

  • Question 12:

    You administer a Microsoft SQL Server 2012 database.

    The database contains a table that has the following definition:

    You want to export data from the table to a flat file by using the SQL Server Import and Export Wizard.

    You need to ensure that the following requirements are met:

    The first row of the file contains the first row of data.

    Each record is of the same length.

    The date follows the U.S. date format.

    The file supports international characters.

    What should you do? (To answer, configure the appropriate option or options in the dialog box in the answer area.)

    Hot Area:

  • Question 13:

    You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2012.

    You attempt to add the [Corpnet\User1] login to the database. However, you receive the following error message:

    "User already exists in current database."

    You need to configure the [Corpnet\User1] login to be able to access the Orders database and retain the original permissions. You need to achieve this goal by using the minimum required permissions.

    Which Transact-SQL statement should you use?

    A. DROP USER [User1]; CREATE USER [Corpnet\User1] FOR LOGIN [Corpnet\User1]; ALTER ROLE [db_owner] ADD MEM3ER [Corpnet\User1];
    B. ALTER SERVER RCLS Isysadmin] ADD MEMBER [Corpnet\User1];
    C. ALTER USER [Corpnet\User1] WITH LOGIN [Corpnet\User1];
    D. ALTER ROLE [db owner] ADD MEMBBR [Corpnet\User1];

  • Question 14:

    You administer a Microsoft SQL Server 2012 failover cluster that contains two nodes named Node A and Node B. A single instance of SQL Server is installed on the cluster. An additional node named Node C has been added to the existing cluster. You need to ensure that the SQL Server instance can use all nodes of the cluster.

    What should you do?

    A. Run the New SQL Server stand-alone installation Wizard on Node C.
    B. Run the Add Node to SQL Server Failover Cluster Wizard on Node C.
    C. Use Node B to install SQL Server on Node C.
    D. Use Node A to install SQL Server on Node C.

  • Question 15:

    You administer a Microsoft SQL Server database. You want to import data from a text file to the database.

    You need to ensure that the following requirements are met:

    Data import is performed by using a stored procedure.

    Data is loaded as a unit and is minimally logged.

    Which data import command and recovery model should you choose? (To answer, drag the appropriate data import command or recovery model to the appropriate location or locations in the answer area. Each data import command or recovery model 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 16:

    You administer all the deployments of Microsoft SQL Server 2012 in your company. You need to ensure that data changes are sent to a non-SQL Server database server in near real time. You also need to ensure that data on the primary server is unaffected.

    Which configuration should you use?

    A. SQL Server that includes an application database configured to perform transactional replication
    B. Two servers configured in different data centers SQL Server Availability Group configured in Asynchronous-Commit Availability Mode
    C. Two servers configured in different data centers SQL Server Availability Group configured in Synchronous-Commit Availability Mode One server configured as an Active Secondary
    D. SQL Server that includes an application database configured to perform snapshot replication
    E. 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
    F. Two servers configured on the same subnet SQL Server Availability Group configured in Synchronous-Commit Availability Mode
    G. Two servers configured in a Windows Failover Cluster in the same data center SQL Server configured as a clustered instance
    H. 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

  • Question 17:

    You administer a Microsoft SQL Server 2012 server that has a database named Contoso. The Contoso database has a table named EmployeeSalary in a schema named HumanResources. You need to create a script that writes audit events into the application log whenever data in the EmployeeSalary table is modified.

    Which four 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 18:

    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

  • Question 19:

    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.

  • Question 20:

    A table named Profits stores the total profit made each year within a territory. The Profits table has columns named Territory, Year, and Profit.

    You need to create a report that displays the profits made by each territory for each year and its previous year.

    Which Transact-SQL query should you use?

    A. SELECT Territory, Year, Profit, LEAD(Profit, 1, 0) OVER (PARTITION BY Territory ORDER BY Year) AS PrevProfit FROM Profits
    B. SELECT Territory, Year, Profit, LAG(Profit, 1, 0) OVER (PARTITION BY Year ORDER BY Territory) AS PrevProfit FROM Profits
    C. SELECT Territory, Year, Profit, LAG(Profit, 1, 0) OVER (PARTITION BY Territory ORDER BY Year) AS PrevProfit FROM Profits
    D. SELECT Territory, Year, Profit, LEAD(Profit, 1, 0) OVER (PARTITION BY Year ORDER BY Territory) AS PrevProfit FROM Profits

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.