PassTIP는 IT업계에서 유명한 IT인증자격증 공부자료를 제공해드리는 사이트입니다. 이는PassTIP 의 IT전문가가 오랜 시간동안 IT인증시험을 연구한 끝에 시험대비자료로 딱 좋은 덤프를 제작한 결과입니다. Microsoft인증 DP-800덤프는 수많은 덤프중의 한과목입니다. 다른 덤프들과 같이Microsoft인증 DP-800덤프 적중율과 패스율은 100% 보장해드립니다. Microsoft인증 DP-800시험에 도전하려는 분들은PassTIP 의Microsoft인증 DP-800덤프로 시험을 준비할것이죠?
| 주제 | 소개 |
|---|---|
| 주제 1 |
|
| 주제 2 |
|
| 주제 3 |
|
PassTIP는DP-800시험문제가 변경되면DP-800덤프업데이트를 시도합니다. 업데이트가능하면 바로 업데이트하여 업데이트된 최신버전을 무료로 제공해드리는데 시간은 1년동안입니다. DP-800시험을 패스하여 자격증을 취득하고 싶은 분들은PassTIP제품을 추천해드립니다.온라인서비스를 찾아주시면 할인해드릴게요.
질문 # 18
You have an Azure SQL database that contains a table named Sales.Orders. Sales.Orders contains the following columns.
Reporting queries frequently repeat logic to calculate the number of days since an order was placed.
You need to create a scalar user-defined function (UDF) that returns the number of days between an input value of @OrderDate and the current date and time.
How should you complete the Transact-SQL code? To answer, drag the appropriate values to the correct targets. Each value 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.
정답:
설명:
Explanation:
* Function return type # RETURNS INT
* Calculation # DATEDIFF(day, @OrderDate, GETDATE())
Comprehensive and Detailed Explanation with all Developing AI-Enabled Database Solutions documents : = The first correct selection is RETURNS INT because the requirement is to create a scalar UDF that returns a single integer representing the number of days since the order date. Microsoft documents that scalar user- defined functions return a single scalar value, and DATEDIFF returns an int value.
The second correct selection is:
DATEDIFF(day, @OrderDate, GETDATE())
Microsoft defines DATEDIFF(datepart, startdate, enddate) as returning the number of specified datepart boundaries crossed between two dates. Therefore, placing @OrderDate as the start date and GETDATE() as the end date returns the number of elapsed day boundaries from the order date to the current date and time.
GETDATE() is valid inside a Transact-SQL UDF. Microsoft explicitly lists GETDATE among the nondeterministic built-in functions that can be used in T-SQL user-defined functions . Its nondeterministic nature means the result changes over time, but it does not prevent creation of this scalar UDF.
The completed code is:
CREATE FUNCTION dbo.ufn_DaysSinceOrder
(
@OrderDate datetime2(0)
)
RETURNS INT
BEGIN
DECLARE @Days int;
SELECT @Days =
DATEDIFF(day, @OrderDate, GETDATE());
RETURN @Days;
END;
GO
So the drag-and-drop answers are:
* First target: RETURNS INT
* Second target: DATEDIFF(day, @OrderDate, GETDATE())
질문 # 19
You need to create a solution that meets the development requirements for retrieving the patient lists.
How should you complete the Transact-SQL code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
정답:
설명:
Explanation:
where exists 2. where p.PatientID = pr.PatientID Otherwise we filter PatientID twice. Having in the subquery does not work without group by and the date filter does not work without where.
질문 # 20
You have an Azure SQL database named SalesDB that supports an ecommerce application. SalesDB contains a table named dbo.Orders that has a clustered index on a column named orderid.
dbo.Orders receives continuous OLTP inserts and updates during business hours.
Your analytics team runs hourly aggregate queries that scan dbo.Orders to calculate revenue trends for recent dates.
You need to improve the performance of the hourly analytics queries without significantly affecting OLTP throughput. The solution must meet the following requirements:
Support near-real-time (NRT) analytics on the dbo.Orders table.
Reduce read time when retrieving analytical data from dbo.Orders.
Support indexing only rows that match a predicate, such as Active = 1.
Which type of index should you use for each requirement? To answer, drag the appropriate index types to the correct requirements. Each index type 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.
정답:
설명:
Explanation:
질문 # 21
Vou have a Microsoft Fabric workspace named Workspace1 that contains a SQL database named SalesDB and an API for GraphQL tern named SalesApi.
You have a Microsoft Entra group named SqlUsers.
From Workspace1, you assign permission to SalesApi as shown in the following exhibit.
The connection to SalesDB has the connectivity option configured as shown in the following exhibit.
SqlUsers has the Viewer role for Workspace1.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
정답:
설명:
Explanation:
The members of SqlUsers can modify the data in SalesDB via SalesApi. # No The members of SqlUsers can view the data in SalesDB via SalesApi. # No The members of SqlUsers can change the field mappings of SalesApi. # Yes For both viewing and modifying data through SalesApi, the key missing permission is Run Queries and Mutations. Microsoft's Fabric GraphQL documentation states that callers need Execute permissions for the GraphQL API, which correspond to the Run Queries and Mutations option, and with SSO connectivity they also need appropriate permissions on the underlying data source. In the exhibit, SqlUsers has View and Edit GraphQL item selected, but Run Queries and Mutations is not selected, so members cannot query or mutate data through the API.
The third statement is Yes because the group was explicitly granted View and Edit GraphQL item. That permission is the one that allows users to open and modify the GraphQL item itself, including schema-related configuration such as field mappings in the API item. The workspace Viewer role does not by itself grant query execution through the API, but the direct GraphQL item permission shown does allow editing the item.
질문 # 22
You have an Azure SQL database.
You deploy Data API builder (DAB) to Azure Container Apps by using the
mcr.microsoft.com/azure-databases/data-api-builder:latest image.
You have the following Container Apps secrets:
- MSSQL_CONNECTION_STRING that maps to the SQL connection string
- DAB_CONFIG_BASE64 that maps to the DAB configuration
You need to initialize the DAB configuration to read the SQL connection string.
Which command should you run?
정답:B
설명:
To initialize the Data API builder (DAB) configuration to read the SQL connection string from your Container Apps secret, use the following dab init command:
dab init --database-type mssql --connection-string "@env('MSSQL_CONNECTION_STRING')" Why this command works
--database-type mssql: Specifies that you are connecting to an Azure SQL or SQL Server database.
@env('MSSQL_CONNECTION_STRING'): This is the built-in DAB function that tells the runtime to substitute the value of the specified environment variable at load time. Since your Container Apps secret is mapped to MSSQL_CONNECTION_STRING, DAB will resolve it automatically when the container starts.
--connection-string: This flag sets the data source connection. By using the @env() syntax here, you ensure the secret remains out of the static configuration file.
Reference:
https://learn.microsoft.com/en-us/azure/data-api-builder/command-line/dab-init
질문 # 23
......
인테넷에 검색하면 Microsoft DP-800시험덤프공부자료가 헤아릴수 없을 정도로 많이 검색됩니다. 그중에서PassTIP의Microsoft DP-800제품이 인지도가 가장 높고 가장 안전하게 시험을 패스하도록 지름길이 되어드릴수 있습니다.
DP-800시험대비 덤프자료: https://www.passtip.net/DP-800-pass-exam.html