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

    You administer a Microsoft SQL Server 2012 instance named SQL2012 that hosts an OLTP database of 1 terabyte in size.

    The database is modified by users only from Monday through Friday from 09:00 hours to 17:00 hours. Users modify more than 30 percent of the data in the database during the week. Backups are performed as shown in the following schedule:

    The Finance department plans to execute a batch process every Saturday at 09:00 hours. This batch process will take a maximum of 8 hours to complete.

    The batch process will update three tables that are 10 GB in size. The batch process will update these tables multiple times.

    When the batch process completes, the Finance department runs a report to find out whether the batch process has completed correctly.

    You need to ensure that if the Finance department disapproves the batch process, the batch operation can be rolled back in the minimum amount of time.

    What should you do on Saturday?

    A. Perform a differential backup at 08:59 hours.
    B. Record the LSN of the transaction log at 08:59 hours. Perform a transaction log backup at 17:01 hours.
    C. Create a database snapshot at 08:59 hours.
    D. Record the LSN of the transaction log at 08:59 hours. Perform a transaction log backup at 08:59 hours.
    E. Create a marked transaction in the transaction log at 08:59 hours. Perform a transaction log backup at 17:01 hours.
    F. Create a marked transaction in the transaction log at 08:59 hours. Perform a transaction log backup at 08:59 hours.

  • Question 72:

    You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01.

    You need to write messages to the Application Log when users are added to or removed from a fixed server role in Server01.

    What should you create?

    A. a Database Audit Specification
    B. a Policy
    C. an Alert
    D. a SQL Profiler Trace
    E. a Resource Pool
    F. an Extended Event session
    G. a Server Audit Specification

  • Question 73:

    You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales schema.

    Some users must be prevented from deleting records in any of the tables in the Sales schema.

    You need to manage users who are prevented from deleting records in the Sales schema. You need to achieve this goal by using the minimum amount of administrative effort.

    What should you do?

    A. Create a custom database role that includes the users. Deny Delete permissions on the Sales schema for the custom database role.
    B. Include the Sales schema as an owned schema for the db_denydatawriter role. Add the users to the db_denydatawriter role.
    C. Deny Delete permissions on each table in the Sales schema for each user. D- Create a custom database role that includes the users. Deny Delete permissions on each table in the Sales schema for the custom database role.

  • Question 74:

    You administer a Microsoft SQL Server 2012 database.

    The database is backed up according to the following schedule:

    Daily full backup at 23:00 hours.

    Differential backups on the hour, except at 23:00 hours. Log backups every 10 minutes from the hour, except on the hour.

    The database uses the Full recovery model.

    A developer accidentally drops a number of tables and stored procedures from the database between 22:40 hours and 23:10 hours. You perform a database restore at 23:30 hours to recover the dropped table.

    You need to restore the database by using the minimum amount of administrative effort. You also need to ensure minimal data loss.

    Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

    Select and Place:

  • Question 75:

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

    You need to create an object that meets the following requirements: Takes an input variable Returns a table of values Cannot be referenced within a view

    Which object should you use?

    A. Scalar-valued function
    B. Inline function
    C. User-defined data type
    D. Stored procedure

  • Question 76:

    You administer a Microsoft SQL Server 2012 server.

    A variety of issues occur from time to time in the production environment. You need to identify the appropriate tool for each issue.

    Which tool or tools should you use? (To answer, drag the appropriate tool or tools to the correct issue or issues in the answer area. Each tool 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 77:

    You administer a Microsoft SQL Server 2012 database named ContosoDb. The database contains a table named Suppliers and a column named IsActive in the Purchases schema.

    You create a new user named ContosoUser in ContosoDb. ContosoUser has no permissions to the Suppliers table.

    You need to ensure that ContosoUser can delete rows that are not active from Suppliers. You also need to grant ContosoUser only the minimum required permissions.

    Which Transact-SQL statement should you use?

    A. GRANT DELETE ON Purchases.Suppliers TO ContosoUser
    B. CREATE PROCEDURE Purchases.PurgeInactiveSuppliers WITH EXECUTE AS USER = 'dbo' AS DELETE FROM Purchases.Suppliers WHERE IsActive = 0 GO GRANT EXECUTE ON Purchases.PurgelnactiveSuppliers TO ContosoUser
    C. GRANT SELECT ON Purchases.Suppliers TO ContosoUser
    D. CREATE PROCEDURE Purchases.PurgeInactiveSuppliers AS DELETE FROM Purchases.Suppliers WHERE IsActive = 0 GO GRANT EXECUTE ON Purchases.PurgeInactiveSuppliers TO ContosoUser

  • Question 78:

    You administer a Microsoft SQL Server 2012 database.

    Users report that an application that accesses the database displays an error, but the error does not provide meaningful information. No entries are found in the SQL Server log or Windows event logs related to the error.

    You need to identify the root cause of the issue by retrieving the error message. What should you do?

    A. Create an Extended Events session by using the sqlserver.error_reported event.
    B. Create a SQL Profiler session to capture all ErrorLog and EventLog events.
    C. Flag all stored procedures for recompilation by using sp_recompile.
    D. Execute sp_who.

  • Question 79:

    You develop a database for a travel application.

    You need to design tables and other database objects. You create the Airline_Schedules table. You need to store the departure and arrival dates and times of flights along with time zone information.

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

    You administer a Microsoft SQL Server 2012 database.

    You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements:

    You attempt to restore the Orders database and the restore fails. You copy the encryption file to the original location.

    A hardware failure occurs and so a new server must be installed and configured.

    After installing SQL Server to the new server, you restore the Orders database and copy the encryption files to their original location. However, you are unable to access the database.

    You need to be able to restore the database.

    Which Transact-SQL statement should you use before attempting the restore?

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