DP-300 Korean試験無料問題集「Microsoft Administering Relational Databases on Microsoft Azure (DP-300 Korean Version) 認定」

SQL1이라는 Azure SQL 관리 인스턴스가 포함된 Azure 구독이 있습니다.
Microsoft Power B1 서비스를 사용합니다.
Power B1 서비스에서 SQL1로의 연결을 구성해야 합니다. 솔루션은 Power B1 서비스만 SQL1에 대한 연결을 시작할 수 있도록 해야 합니다.
SQL1에 어떤 유형의 엔드포인트를 사용해야 하며, SQL1에 대한 연결을 제어하는 ​​데 무엇을 사용해야 합니까? 대답하려면 답변 영역에서 적절한 옵션을 선택하십시오.
참고사항: 정답 하나당 1점입니다.
正解:

Explanation:
모니터링 요구 사항을 충족하려면 어떤 감사 로그 대상을 사용해야 합니까?

解説: (GoShiken メンバーにのみ表示されます)
과제 12
dbl에 대한 고가용성을 구성해야 합니다. 솔루션은 데이터 손실이나 애플리케이션 연결 문자열을 수정할 필요 없이 Azure 데이터 센터의 손실을 허용해야 합니다.
正解:
See the explanation part for the complete Solution.
Explanation:
To configure high availability for dbl, you can use the failover groups feature of Azure SQL Database. Failover groups allow you to manage the replication and failover of a group of databases across different regions with the same connection strings1. You can choose all, or a subset of, user databases in a logical server to be replicated to another logical server in a different region. You can also specify the failover policy, such as manual or automatic, and the grace period for data loss.
Here are the steps to create a failover group for dbl:
* Using the Azure portal:
* Go to the Azure portal and select your Azure SQL Database server that hosts dbl.
* Select Failover groups in the left menu and click on Add group.
* Enter a name for the failover group and select a secondary region that is different from the primary region.
* Click on Create a new server and enter the details for the secondary server, such as server name, admin login, password, and subscription.
* Click on Select existing database(s) and choose dbl from the list of databases on the primary server.
* Click on Configure failover policy and select the failover mode, grace period, and read-write failover endpoint mode according to your preferences.
* Click on Create to create the failover group and start the replication of dbl to the secondary server.
* Using PowerShell commands:
* Install the Azure PowerShell module and log in with your Azure account.
* Run the following command to create a new server in the secondary region: New-AzSqlServer - ResourceGroupName <your-resource-group-name> -ServerName <your-secondary-server-name>
-Location "<secondary-region-name>" -SqlAdministratorCredentials $(New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "<your-admin-login>",
$(ConvertTo-SecureString -String "<your-password>" -AsPlainText -Force))
* Run the following command to create a new failover group with dbl: New- AzSqlDatabaseFailoverGroup -ResourceGroupName <your-resource-group-name> -ServerName
<your-primary-server-name> -PartnerResourceGroupName <your-resource-group-name> - PartnerServerName <your-secondary-server-name> -FailoverGroupName <your-failover-group- name> -Database dbl -FailoverPolicy <manual-or-automatic> -GracePeriodWithDataLossHours
<grace-period-in-hours> -ReadWriteFailoverEndpoint "<enabled-or-disabled>"
* You can modify the parameters of the command according to your preferences, such as the failover policy, grace period, and read-write failover endpoint mode.
These are the steps to create a failover group for dbl
Azure Synapse Analytics 전용 SQL 풀에 테이블을 만들 계획입니다.
테이블의 데이터는 5년간 보관됩니다. 1년에 한 번, 5년 이상 된 데이터는 삭제됩니다.
데이터가 여러 파티션에 고르게 분산되도록 해야 합니다. 솔루션은 오래된 데이터를 삭제하는 데 필요한 시간을 최소화해야 합니다.
Transact-SQL 문을 어떻게 완성해야 합니까? 대답하려면 적절한 값을 올바른 대상에 끌어다 놓으세요. 각 값은 한 번, 두 번 이상 또는 전혀 사용되지 않을 수 있습니다.
콘텐츠를 보려면 창 사이의 분할 막대를 끌거나 스크롤해야 할 수도 있습니다.
참고사항: 정답 하나당 1점입니다.
正解:

Explanation:

Box 1: HASH
Box 2: OrderDateKey
In most cases, table partitions are created on a date column.
A way to eliminate rollbacks is to use Metadata Only operations like partition switching for data management.
For example, rather than execute a DELETE statement to delete all rows in a table where the order_date was in October of 2001, you could partition your data early. Then you can switch out the partition with data for an empty partition from another table.
Reference:
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-table-azure-sql-data-warehouse
https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/best-practices-dedicated-sql-pool
Azure 구독이 있습니다.
Azure 명령줄 인터페이스(CLI)를 사용하여 새 Azure SQL 데이터베이스를 배포해야 합니다.
어떤 세 가지 매개변수가 필요합니까?

Azure 가상 머신에 SQL Server 인스턴스(SQLVM1)와 사용자(User1)가 포함된 Azure 구독이 있습니다. SQLVM1은 DB1이라는 데이터베이스를 호스팅합니다.
User!가 DB1의 전체 백업을 수행하기 위한 예약된 작업을 생성할 수 있는지 확인해야 합니다. 솔루션은 최소 권한의 원칙을 사용해야 합니다.
User1에 어떤 내장 데이터베이스 역할을 할당해야 합니까?

SERVER1 데이터베이스에 대한 사용자 인증을 구성해야 합니다. 솔루션은 보안 및 규정 준수 요구 사항을 충족해야 합니다.
어떤 세 가지 행동을 순서대로 수행해야 합니까? 대답하려면 행동 목록에서 적절한 행동을 답변 영역으로 옮기고 올바른 순서로 정렬하세요.
正解:

Explanation:

Scenario: Authenticate database users by using Active Directory credentials.
The configuration steps include the following procedures to configure and use Azure Active Directory authentication.
* Create and populate Azure AD.
* Optional: Associate or change the active directory that is currently associated with your Azure Subscription.
* Create an Azure Active Directory administrator. (Step 1)
* Configure your client computers.
* Create contained database users in your database mapped to Azure AD identities. (Step 2)
* Connect to your database by using Azure AD identities. (Step 3)
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-overview
한 회사는 Apache Spark 분석을 사용하여 침입 탐지 데이터를 분석할 계획입니다.
악의적인 활동 및 정책 위반에 대해 네트워크 및 시스템 활동 데이터를 분석하는 솔루션을 권장해야 합니다. 솔루션은 관리 노력을 최소화해야 합니다.
무엇을 추천해야 할까요?

解説: (GoShiken メンバーにのみ表示されます)
Azure SQL 관리형 인스턴스가 있습니다.
쿼리 계획의 마지막 실행과 해당 런타임 통계를 수집해야 합니다. 솔루션은 현재 실행 중인 쿼리에 대한 영향을 최소화해야 합니다.
당신은 무엇을 해야 합니까?

解説: (GoShiken メンバーにのみ表示されます)
SQLMI1 및 SQLMI2라는 두 개의 Azure SQL 관리 인스턴스가 포함된 Azure 구독이 있습니다. SQLM2에는 DB1이라는 데이터베이스와 User1이라는 사용자가 포함되어 있습니다.
User1이 DB1을 삭제합니다.
DB1에서 SQLMI2로 특정 시점 복원을 수행해야 합니다.

VNet1이라는 가상 네트워크에 VM1이라는 Azure 가상 머신이 있습니다. VM1에서 인터넷으로의 아웃바운드 트래픽이 차단됩니다.
SqlSrv1이라는 논리 서버에 SqlDb1이라는 Azure SQL 데이터베이스가 있습니다.
다음 요구 사항을 충족하려면 VM1과 SqlDb1 간의 연결을 구현해야 합니다.
- SqlSrv1의 공용 끝점에 대한 모든 트래픽이 차단되었는지 확인합니다.
- VM1이 SqlDb1에 저장된 데이터를 유출할 가능성을 최소화합니다.
VNet1에서 무엇을 만들어야 합니까?

解説: (GoShiken メンバーにのみ表示されます)
SalesSQLDb1에 대한 통계 유지 관리를 구현해야 합니다. 솔루션은 기술적 요구 사항을 충족해야 합니다.
어떤 네 가지 행동을 순서대로 수행해야 합니까? 대답하려면 행동 목록에서 적절한 행동을 답변 영역으로 옮기고 올바른 순서로 정렬하세요.
正解:

Explanation:

Automating Azure SQL DB index and statistics maintenance using Azure Automation:
1. Create Azure automation account (Step 1)
2. Import SQLServer module (Step 2)
3. Add Credentials to access SQL DB
This will use secure way to hold login name and password that will be used to access Azure SQL DB
4. Add a runbook to run the maintenance (Step 3)
Steps: 1. Click on "runbooks" at the left panel and then click "add a runbook"
2. Choose "create a new runbook" and then give it a name and choose "Powershell" as the type of the runbook and then click on "create"

5. Schedule task (Step 4)
Steps:1. Click on Schedules2. Click on "Add a schedule" and follow the instructions to choose existing schedule or create a new schedule.
Reference:
https://techcommunity.microsoft.com/t5/azure-database-support-blog/automating-azure-sql-db-index-and- statistics-maintenance-using/ba-p/368974
Topic 2, Contoso Ltd
Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Overview
Existing Environment
Contoso, Ltd. is a financial data company that has 100 employees. The company delivers financial data to customers.
Active Directory
Contoso has a hybrid Azure Active Directory (Azure AD) deployment that syncs to on-premises Active Directory.
Database Environment
Contoso has SQL Server 2017 on Azure virtual machines shown in the following table.

SQL1 and SQL2 are in an Always On availability group and are actively queried. SQL3 runs jobs, provides historical data, and handles the delivery of data to customers.
The on-premises datacenter contains a PostgreSQL server that has a 50-TB database.
Current Business Model
Contoso uses Microsoft SQL Server Integration Services (SSIS) to create flat files for customers. The customers receive the files by using FTP.
Requirements
Planned Changes
Contoso plans to move to a model in which they deliver data to customer databases that run as platform as a service (PaaS) offerings. When a customer establishes a service agreement with Contoso, a separate resource group that contains an Azure SQL database will be provisioned for the customer. The database will have a complete copy of the financial data. The data to which each customer will have access will depend on the service agreement tier. The customers can change tiers by changing their service agreement.
The estimated size of each PaaS database is 1 TB.
Contoso plans to implement the following changes:
Move the PostgreSQL database to Azure Database for PostgreSQL during the next six months.
Upgrade SQL1, SQL2, and SQL3 to SQL Server 2019 during the next few months.
Start onboarding customers to the new PaaS solution within six months.
Business Goals
Contoso identifies the following business requirements:
Use built-in Azure features whenever possible.
Minimize development effort whenever possible.
Minimize the compute costs of the PaaS solutions.
Provide all the customers with their own copy of the database by using the PaaS solution.
Provide the customers with different table and row access based on the customer's service agreement.
In the event of an Azure regional outage, ensure that the customers can access the PaaS solution with minimal downtime. The solution must provide automatic failover.
Ensure that users of the PaaS solution can create their own database objects but he prevented from modifying any of the existing database objects supplied by Contoso.
Technical Requirements
Contoso identifies the following technical requirements:
Users of the PaaS solution must be able to sign in by using their own corporate Azure AD credentials or have Azure AD credentials supplied to them by Contoso. The solution must avoid using the internal Azure AD of Contoso to minimize guest users.
All customers must have their own resource group, Azure SQL server, and Azure SQL database. The deployment of resources for each customer must be done in a consistent fashion.
Users must be able to review the queries issued against the PaaS databases and identify any new objects created.
Downtime during the PostgreSQL database migration must be minimized.
Monitoring Requirements
Contoso identifies the following monitoring requirements:
Notify administrators when a PaaS database has a higher than average CPU usage.
Use a single dashboard to review security and audit data for all the PaaS databases.
Use a single dashboard to monitor query performance and bottlenecks across all the PaaS databases.
Monitor the PaaS databases to identify poorly performing queries and resolve query performance issues automatically whenever possible.
PaaS Prototype
During prototyping of the PaaS solution in Azure, you record the compute utilization of a customer's Azure SQL database as shown in the following exhibit.

Role Assignments
For each customer's Azure SQL Database server, you plan to assign the roles shown in the following exhibit.
Azure Synapse에는 dbo.Customers라는 테이블이 포함된 SQL 풀이 있습니다. 테이블에는 열 이름 Email이 포함되어 있습니다.
관리자가 아닌 사용자가 이메일 열의 전체 이메일 주소를 볼 수 없도록 해야 합니다. 대신 사용자는 [email protected] 형식의 값을 확인해야 합니다.
당신은 무엇을 해야 합니까?

解説: (GoShiken メンバーにのみ表示されます)
Azure 가상 머신에서 호스팅되는 SQL Server 데이터베이스에 대한 데이터베이스 백업 솔루션을 구축하고 있습니다.
Azure 지역 중단이 발생하는 경우 데이터베이스 백업을 복원할 수 있어야 합니다.
솔루션은 비용을 최소화해야 합니다.
백업에는 어떤 유형의 스토리지 계정을 사용해야 합니까?

解説: (GoShiken メンバーにのみ表示されます)
참고: 이 질문은 동일한 시나리오를 제시하는 일련의 질문의 일부입니다. 시리즈의 각 질문에는 명시된 목표를 달성할 수 있는 고유한 솔루션이 포함되어 있습니다. 일부 질문 세트에는 정답이 두 개 이상 있을 수 있지만 다른 질문 세트에는 정답이 없을 수도 있습니다.
이 섹션의 질문에 답변한 후에는 해당 질문으로 돌아갈 수 없습니다. 결과적으로 이러한 질문은 검토 화면에 표시되지 않습니다.
Sales라는 Azure SQL 데이터베이스가 있습니다.
다음 요구 사항을 충족하려면 영업에 대한 재해 복구를 구현해야 합니다.
- 정상 작동 중에는 읽을 수 있는 사본을 2개 이상 제공하세요.
매상.
- 데이터 센터에 장애가 발생하더라도 판매가 계속 가능한지 확인하십시오.
해결 방법: 범용 서비스 계층 및 지역 복제를 사용하는 Azure SQL 데이터베이스를 배포합니다.
이것이 목표를 달성합니까?

解説: (GoShiken メンバーにのみ表示されます)
새 Azure 구독이 있습니다.
Server1이라는 Azure SQL Database 서버에 DB1이라는 Azure SQL Database 인스턴스를 만듭니다.
Azure 지역 중단이 발생할 경우 사용자가 DB1에 연결할 수 있는지 확인해야 합니다. 가동 중단이 발생하는 경우 DB1에 연결하는 애플리케이션은 연결 문자열을 업데이트하지 않고도 연결할 수 있어야 합니다.
어떤 두 가지 작업을 수행해야 합니까? 각 정답은 솔루션의 일부를 나타냅니다.
참고: 올바른 선택은 각각 1점의 가치가 있습니다.

解説: (GoShiken メンバーにのみ表示されます)
60TB 프로덕션 데이터베이스인 DB1을 호스팅하는 온프레미스 Microsoft SQL Server 2022 인스턴스가 있습니다.
DB1을 Azure로 마이그레이션할 계획입니다.
DB1에 대한 호스팅 솔루션을 추천해주세요.
DB1을 호스팅하려면 어떤 Azure SQL Database 서비스 계층을 사용해야 합니까?

SQLMi1이라는 Azure SQL 관리 인스턴스와 Backupdb라는 SQL Agent 작업이 포함된 Azure 구독이 있습니다. Backupdb는 SQLMi1에 호스팅된 데이터베이스의 ad aleut 백업을 수행합니다.
작업이 실패할 경우 이메일로 알림을 받아야 합니다.
어떤 세 가지 행동을 순서대로 수행해야 합니까? 대답하려면 행동 목록에서 적절한 행동을 답변 영역으로 옮기고 올바른 순서로 정렬하세요.
참고: 두 개 이상의 답변 선택지가 정답입니다. 선택한 정답 순서에 대해 크레딧을 받게 됩니다.
正解:

Explanation:

Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/job-automation-managed-instance
Azure Virtual Machines에 DB1이라는 데이터베이스가 있는 SQL Server 인스턴스가 있습니다.
DB1용 Azure SQL 데이터 동기화를 구현할 계획입니다.
어떤 격리 수준을 구성해야 합니까?

解説: (GoShiken メンバーにのみ表示されます)