Microsoft 70-761 Exam Dumps 2021

Act now and download your today! Do not waste time for the worthless tutorials. Download with real questions and answers and begin to learn with a classic professional.

Online Microsoft 70-761 free dumps demo Below:

NEW QUESTION 1
You have a project management application. The application uses a Microsoft SQL Server database to store data. You are developing a software bug tracking add-on for the application.
The add-on must meet the following requirements:
Allow case sensitive searches for product.
Filter search results based on exact text in the description.
Support multibyte Unicode characters.
You run the following Transact-SQL statement:
70-761 dumps exhibit
Users connect to an instance of the bug tracking application that is hosted in New York City. Users in Seattle must be able to display the local date and time for any bugs that they create.
You need to ensure that the DateCreated column displays correctly. Which Transact-SQL statement should you run?

  • A. SELECT Id,Product,DateCreated AT TIME ZONE 'Pacific Standard Time' FROM Bug
  • B. SELECT Id,Product, DATEADD(hh, -8, DateCreated) FROM Bug
  • C. SELECT Id,Product, TODATETIMEOFFSET(DateCreated, -8) FROM Bug
  • D. SELECT Id,Product,CAST(DateCreated AS DATETIMEOFFSET) FROM Bug

Answer: C

Explanation: References:
https://docs.microsoft.com/en-us/sql/t-sql/functions/todatetimeoffset-transact-sql?view=sql-server-2021

NEW QUESTION 2
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You have a database that contains tables named Customer_CRMSystem and Customer_HRSystem. Both tables use the following structure:
70-761 dumps exhibit
The tables include the following records: Customer_CRMSystem
70-761 dumps exhibit
Customer_HRSystem
70-761 dumps exhibit
Records that contain null values for CustomerCode can be uniquely identified by CustomerName. You need to display customers who appear in both tables and have a proper CustomerCode. Which Transact-SQL statement should you run?
70-761 dumps exhibit

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
  • E. Option E

Answer: A

Explanation: When there are null values in the columns of the tables being joined, the null values do not match each other. The presence of null values in a column from one of the tables being joined can be returned only by using an outer join (unless the WHERE clause excludes null values).
References: https://technet.microsoft.com/en-us/library/ms190409(v=sql.105).aspx

NEW QUESTION 3
Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
You are developing a database to track customer orders. The database contains the following tables: Sales.Customers, Sales.Orders, and Sales.OrderLines. The following table describes the columns in Sales.Customers.
70-761 dumps exhibit
The following table describes the columns in Sales.Orders.
70-761 dumps exhibit
The following table describes the columns in Sales.OrderLines.
70-761 dumps exhibit
You need to create a function that calculates the highest tax rate charged for an item in a specific order. Which five 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.
70-761 dumps exhibit

    Answer:

    Explanation: Box 1: CREATE FUNCTION…@OrderID
    Include definition for the …@OrderID parameter. Box 2: RETURNS decimal(18,2)
    The function is defined to return a scalar value. Box 3: AS BEGIN …
    Declare the local variables of the function. Box 4: SET @CalculatedTaxRate = (.. Calculate the tax rate.
    Box 5: RETURN @CalculatedRate END Return a scalar value.
    References: https://msdn.microsoft.com/en-us/library/ms186755.aspx

    NEW QUESTION 4
    You are building a stored procedure named SP1 that calls a stored procedure named SP2.
    SP2 calls another stored procedure named SP3 that returns a Recordset. The Recordset is stored in a
    temporary table.
    You need to ensure that SP2 returns a text value to SP1. What should you do?

    • A. Create a temporary table in SP2, and then insert the text value into the table.
    • B. Return the text value by using the ReturnValue when SP2 is called.
    • C. Add the txt value to an OUTPUT parameter of SP2.
    • D. Create a table variable in SP2, and then insert the text value into the table.

    Answer: C

    NEW QUESTION 5
    You deploy a hybrid Active Directory Domain Services (AD DS) and Azure Active Directory (Azure AD) environment. You need to implement a synchronization process that meets the following requirements:
    • Monitor latency trends for synchronization processes.
    • Configure automated email notifications when data synchronization to Azure AD is unsuccessful.
    • Monitor operational metrics, performance metrics, and status of on-premises domain controllers.
    • Monitor replication status of on-premises domain controllers.
    • Monitor connections and receive automated alerts when abnormalities occur.
    Which technologies should you use? To answer, drag the appropriate technologies to the correct tasks. Each technology 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.
    70-761 dumps exhibit

      Answer:

      Explanation: 70-761 dumps exhibit

      NEW QUESTION 6
      You have a database that stored information about servers and application errors. The database contains the following tables.
      Servers
      70-761 dumps exhibit
      Errors
      70-761 dumps exhibit
      You are building a webpage that shows the three most common errors for each server. You need to return the data for the webpage.
      How should you complete the Transact-SQL statement? To answer, drag the appropriate Transact-SQL segments to the correct location. Each Transact-SQL segment 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.
      NOTE: Each correct selection is worth one point.
      70-761 dumps exhibit

        Answer:

        Explanation: 70-761 dumps exhibit

        NEW QUESTION 7
        You are creating a database solution to track sales achievements of your training courses. You run the following Transact-SQL statements:
        70-761 dumps exhibit
        You plan to add courses to table named Highlighted Courses. You must add courses that have been delivered to more than 100 participants only.
        If the total number of participants for a course in lower than 100, the course must not be added to the HighlightedCourses table. In addition, an error message must be displayed and remaining Transact-SQL code must not run.
        70-761 dumps exhibit

          Answer:

          Explanation: 70-761 dumps exhibit

          NEW QUESTION 8
          You need to create a stored procedure that meets the following requirements:
          *Produces a warning if the credit limit parameter is greater than 7,000
          *Propagates all unexpected errors to the calling process
          How should you complete the Transact-SQL statement? To answer, drag the appropriate Transact-SQP segments to the correct locations. Each Transact-SQL segments 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.
          70-761 dumps exhibit

            Answer:

            Explanation: Box 1: THROW 51000, 'Warning: Credit limit is over 7,000!",1
            THROW raises an exception and transfers execution to a CATCH block of a TRY…CATCH construct in SQL Server.
            THROW syntax:
            THROW [ { error_number | @local_variable },
            { message | @local_variable },
            { state | @local_variable } ] [ ; ]
            Box 2: RAISERROR (@ErrorMessage, 16,1)
            RAISERROR generates an error message and initiates error processing for the session. RAISERROR can either reference a user-defined message stored in the sys.messages catalog view or build a message dynamically. The message is returned as a server error message to the calling application or to an associated CATCH block of a TRY…CATCH construct. New applications should use THROW instead.
            Severity levels from 0 through 18 can be specified by any user. Severity levels from 19 through 25 can only be specified by members of the sysadmin fixed server role or users with ALTER TRACE permissions. For severity levels from 19 through 25, the WITH LOG option is required.
            On Severity level 16. Using THROW to raise an exception
            The following example shows how to use the THROW statement to raise an exception. Transact-SQL
            THROW 51000, 'The record does not exist.', 1;
            Here is the result set.
            Msg 51000, Level 16, State 1, Line 1 The record does not exist.
            Note: RAISERROR syntax:
            RAISERROR ( { msg_id | msg_str | @local_variable }
            { ,severity ,state }
            [ ,argument [ ,...n ] ] )
            [ WITH option [ ,...n ] ]
            Note: The ERROR_MESSAGE function returns the message text of the error that caused the CATCH block of a TRY…CATCH construct to be run.
            References:
            https://msdn.microsoft.com/en-us/library/ms178592.aspx https://msdn.microsoft.com/en-us/library/ms190358.aspx https://msdn.microsoft.com/en-us/library/ee677615.aspx

            NEW QUESTION 9
            Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question on this series.
            You have a database that tracks orders and deliveries for customers in North America. System versioning is enabled for all tables. The database contains the Sales.Customers, Application.Cities, and Sales.CustomerCategories tables.
            Details for the Sales.Customers table are shown in the following table:
            70-761 dumps exhibit
            Details for the Application.Cities table are shown in the following table:
            70-761 dumps exhibit
            Details for the Sales.CustomerCategories table are shown in the following table:
            70-761 dumps exhibit
            You are creating a report to measure the impact of advertising efforts that were designed to attract new customers. The report must show the number of new customers per day for each customer category, but only if the number of new customers is greater than five.
            You need to write the query to return data for the report.
            How should you complete the Transact-SQL statement? To answer, drag the appropriate Transact-SQL segments to the correct locations. Each Transact-SQL segment 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.
            70-761 dumps exhibit

              Answer:

              Explanation: 70-761 dumps exhibit

              NEW QUESTION 10
              Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
              After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
              You have a table that was created by running the following Transact-SQL statement:
              70-761 dumps exhibit
              The Products table includes the data shown in the following table:
              70-761 dumps exhibit
              TotalUnitPrice is calculated by using the following formula: TotalUnitPrice = UnitPrice * (UnitsInStock + UnitsOnOrder)
              You need to ensure that the value returned for TotalUnitPrice for ProductB is equal to 600.00. Solution: You run the following Transact-SQL statement:
              70-761 dumps exhibit
              Does the solution meet the goal?

              • A. Yes
              • B. No

              Answer: B

              Explanation: The NULL value in the UnitsOnOrder field would cause a runtime error.

              NEW QUESTION 11
              Your company plans to use Network Performance Monitor (NPM) on an existing Azure ExpressRoute connection.
              You need to configure NPM.
              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.
              70-761 dumps exhibit

                Answer:

                Explanation: 70-761 dumps exhibit

                NEW QUESTION 12
                Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
                After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
                You have a table named Products that stores information about products your company sells. The table has a column named ListPrice that stores retail pricing information for products.
                Some products are used only internally by the company. Records for these products are maintained in the Products table for inventory purposes. The price for each of these products is $0.00. Customers are not permitted to order these products.
                You need to increase the list price for products that cost less than $100 by 10 percent. You must only increase pricing for products that customers are permitted to order.
                Solution: You run the following Transact-SQL statement:
                70-761 dumps exhibit
                Does the solution meet the goal?

                • A. Yes
                • B. No

                Answer: B

                NEW QUESTION 13
                Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
                Start of repeated scenario
                You have a database that contains the tables shown in the exhibit. (Click the Exhibit button.)
                70-761 dumps exhibit
                You review the Employee table and make the following observations:
                - Every record has a value in the ManagerID except for the Chief Executive Officer (CEO).
                - The FirstName and MiddleName columns contain null values for some records.
                - The valid values for the Title column are Sales Representative manager, and CEO.
                You review the SalesSummary table and make the following observations:
                - The ProductCode column contains two parts: The first five digits represent a product code, and the last seven digits represent the unit price. The unit price uses the following pattern: ####.##.
                - You observe that for many records, the unit price portion of the ProductCode column contains values.
                - The RegionCode column contains NULL for some records.
                - Sales data is only recorded for sales representatives.
                You are developing a series of reports and procedures to support the business. Details for each report or procedure follow.
                Sales Summary report: This report aggregates data by year and quarter. The report must resemble the following table.
                70-761 dumps exhibit
                Sales Manager report: This report lists each sales manager and the total sales amount for all employees that report to the sales manager.
                Sales by Region report: This report lists the total sales amount by employee and by region. The report must include the following columns: EmployeeCode, MiddleName, LastName, RegionCode, and SalesAmount. If MiddleName is NULL, FirstName must be displayed. If both FirstName and MiddleName have null values, the world Unknown must be displayed/ If RegionCode is NULL, the word Unknown must be displayed.
                Report1: This report joins data from SalesSummary with the Employee table and other tables. You plan to create an object to support Report1. The object has the following requirements:
                - be joinable with the SELECT statement that supplies data for the report
                - can be used multiple times with the SELECT statement for the report
                - be usable only with the SELECT statement for the report
                - not be saved as a permanent object
                Report2: This report joins data from SalesSummary with the Employee table and other tables. You plan to create an object to support Report1. The object has the following requirements:
                Sales Hierarchy report. This report aggregates rows, creates subtotal rows, and super-aggregates rows over the SalesAmount column in a single result-set. The report uses SaleYear, SaleQuarter, and SaleMonth as a hierarchy. The result set must not contain a grand total or cross-tabulation aggregate rows.
                Current Price Stored Procedure: This stored procedure must return the unit price for a product when a product code is supplied. The unit price must include a dollar sign at the beginning. In addition, the unit price must contain a comma every three digits to the left of the decimal point, and must display two digits to the left of the decimal point. The stored procedure must not throw errors, even if the product code contains invalid data.
                End of Repeated Scenario
                You need to create the query for the Sales Managers report.
                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.
                70-761 dumps exhibit

                  Answer:

                  Explanation: From scenario: Sales Manager report: This report lists each sales manager and the total sales amount for all employees that report to the sales manager.
                  Box 1:..WHERE Title='Sales representative'
                  The valid values for the Title column are Sales Representative manager, and CEO. First we define the CTE expression.
                  Note: A common table expression (CTE) can be thought of as a temporary result set that is defined within the execution scope of a single SELECT, INSERT, UPDATE, DELETE, or CREATE VIEW statement. A CTE is similar to a derived table in that it is not stored as an object and lasts only for the duration of the query. Unlike a derived table, a CTE can be self-referencing and can be referenced multiple times in the same query.
                  Box 2:
                  Use the CTE expression one time. Box 3: UNION
                  Box 4:
                  Use the CTE expression a second time. References:

                  NEW QUESTION 14
                  Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
                  After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
                  A database has two tables as shown in the following database diagram:
                  70-761 dumps exhibit
                  You need to list all provinces that have at least two large cities. A large city is defined as having a population of at least one million residents. The query must return the following columns:
                  70-761 dumps exhibit
                  Solution: You run the following Transact-SQL statement:
                  70-761 dumps exhibit
                  Does the solution meet the goal?

                  • A. Yes
                  • B. No

                  Answer: A

                  Explanation: We need to list all provinces that have at least two large cities. There is no reference to this in the code.

                  NEW QUESTION 15
                  Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
                  You create a table by running the following Transact-SQL statement:
                  70-761 dumps exhibit
                  You need to return normalized data for all customers that were added in the year 2014. Which Transact-SQL statement should you run?
                  70-761 dumps exhibit

                  • A. Option A
                  • B. Option B
                  • C. Option C
                  • D. Option D.
                  • E. Option E.
                  • F. Option F.
                  • G. Option G.
                  • H. Option H.

                  Answer: G

                  Explanation: The following query searches for row versions for Employee row with EmployeeID = 1000 that were active at least for a portion of period between 1st January of 2014 and 1st January 2015 (including the upper boundary):
                  SELECT * FROM Employee FOR SYSTEM_TIME
                  BETWEEN '2014-01-01 00:00:00.0000000' AND '2015-01-01 00:00:00.0000000'
                  WHERE EmployeeID = 1000 ORDER BY ValidFrom;
                  References: https://msdn.microsoft.com/en-us/library/dn935015.aspx

                  NEW QUESTION 16
                  You have a database that includes the tables shown in the exhibit. (Click the exhibit button.)
                  70-761 dumps exhibit
                  You need to create a list of all customers and the date that the customer placed their last order. For customers who have not placed orders, you must substitute a zero for the order ID and 01/01/1990 for the date.
                  Which Transact-SQL statement should you run?
                  70-761 dumps exhibit

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

                  Answer: A

                  Explanation: COALESCE evaluates the arguments in order and returns the current value of the first expression that initially does not evaluate to NULL.
                  References: https://docs.microsoft.com/en-us/sql/t-sql/language-elements/coalesce-transact-sql

                  NEW QUESTION 17
                  You work for an organization that monitors seismic activity around volcanos. You have a table named GroundSensors. The table stored data collected from seismic sensors. It includes the columns describes in the following table:
                  70-761 dumps exhibit
                  The database also contains a scalar value function named NearestMountain that returns the name of the mountain that is nearest to the sensor.
                  You need to create a query that shows the average of the normalized readings from the sensors for each mountain. The query must meet the following requirements:
                  * Include the average normalized readings and nearest mountain name.
                  * Exclude sensors for which no normalized reading exists.
                  * Exclude those sensors with value of zero for tremor. Construct the query using the following guidelines:
                  * Use one part names to reference tables, columns and functions.
                  * Do not use parentheses unless required.
                  * Do not use aliases for column names and table names.
                  * Do not surround object names with square brackets.
                  70-761 dumps exhibit
                  70-761 dumps exhibit
                  Part of the correct Transact-SQL has been provided in the answer area below. Enter the code in the answer area that resolves the problem and meets the stated goals or requirements. You can add code within the code that has been provided as well as below it.
                  70-761 dumps exhibit
                  Use the Check Syntax button to verify your work. Any syntax or spelling errors will be reported by line and character position.

                    Answer:

                    Explanation: GROUP BY is a SELECT statement clause that divides the query result into groups of rows, usually for the purpose of performing one or more aggregations on each group. The SELECT statement returns one row per group.
                    SELECT SensorID, NearestMountain(Location) FROM GroundSensors
                    WHERE TREMOR <> 0 AND NormalizedReading IS NOT NULL
                    GROUP BY SensorID, NearestMountain(Location)
                    References: https://msdn.microsoft.com/en-us/library/ms177673.aspx

                    NEW QUESTION 18
                    You have a database named MyDb. You run the following Transact-SQL statements:
                    70-761 dumps exhibit
                    A value of 1 in the IsActive column indicates that a user is active.
                    You need to create a count for active users in each role. If a role has no active users. You must display a zero as the active users count.
                    Which Transact-SQL statement should you run?

                    • A. SELECT R.RoleName, COUNT(*) AS ActiveUserCount FROM tblRoles RCROSS JOIN (SELECT UserId, RoleId FROM tblUsers WHERE IsActive = 1) UWHERE U.RoleId = R.RoleIdGROUP BY R.RoleId, R.RoleName
                    • B. SELECT R.RoleName, COUNT(*) AS ActiveUserCount FROM tblRoles RLEFT JOIN (SELECTUserId, RoleId FROM tblUsers WHERE IsActive = 1) UON U.RoleId = R.RoleIdGROUP BY R.RoleId, R.RoleName
                    • C. SELECT R.RoleName, U.ActiveUserCount FROM tblRoles R CROSS JOIN(SELECT RoleId, COUNT(*) AS ActiveUserCountFROM tblUsers WHERE IsActive = 1 GROUP BY R.RoleId) U
                    • D. SELECT R.RoleName, ISNULL (U.ActiveUserCount,0) AS ActiveUserCountFROM tblRoles R LEFT JOIN (SELECT RoleId, COUNT(*) AS ActiveUserCountFROM tblUsers WHERE IsActive = 1 GROUP BY R.RoleId) U

                    Answer: B

                    100% Valid and Newest Version 70-761 Questions & Answers shared by Certleader, Get Full Dumps HERE: https://www.certleader.com/70-761-dumps.html (New 191 Q&As)