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 onpremises 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.
What should you implement to meet the disaster recovery requirements for the PaaS
solution?
A.
Availability Zones
B.
failover groups
C.
Always On availability groups
D.
geo-replication
failover groups
Scenario: 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.
The auto-failover groups feature allows you to manage the replication and failover of a
group of databases on a server or all databases in a managed instance to another region.
It is a declarative abstraction on top of the existing active geo-replication feature, designed
to simplify deployment and management of geo-replicated databases at scale. You can
initiate failover manually or you can delegate it to the Azure service based on a userdefined
policy.
The latter option allows you to automatically recover multiple related databases in a
secondary region after a catastrophic failure or other unplanned event that results in full or
partial loss of the SQL Database or SQL Managed Instance availability in the primary
region.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-overview
You are evaluating the role assignments.
For each of the following statements, select Yes if the statement is true. Otherwise, select
No.
NOTE: Each correct selection is worth one point.
Based on the PaaS prototype, which Azure SQL Database compute tier should you use?
A.
Business Critical 4-vCore
B.
Hyperscale
C.
General Purpose v-vCore
D.
Serverless
Business Critical 4-vCore
Explanation:
There are CPU and Data I/O spikes for the PaaS prototype. Business Critical 4-vCore is
needed.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/reserved-capacity-overview
You have an Azure SQL database named sqldb1.
You need to minimize the possibility of Query Store transitioning to a read-only state.
What should you do?
A.
Double the value of Data Flush interval
B.
Decrease by half the value of Data Flush Interval
C.
Double the value of Statistics Collection Interval
D.
Decrease by half the value of Statistics Collection interval
Decrease by half the value of Data Flush Interval
Explanation:
The Max Size (MB) limit isn't strictly enforced. Storage size is checked only when Query
Store writes data to
disk. This interval is set by the Data Flush Interval (Minutes) option. If Query Store has
breached the maximum
size limit between storage size checks, it transitions to read-only mode.
Reference:
https://docs.microsoft.com/en-us/sql/relational-databases/performance/best-practice-withthe-
query-store
A data engineer creates a table to store employee information for a new application. All
employee names are in the US English alphabet. All addresses are locations in the United
States. The data engineer uses the following statement to create the table
You need to recommend changes to the data types to reduce storage and improve
performance.
Which two actions should you recommend? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.
A.
Change Salary to the money data type.
B.
Change PhoneNumber to the float data type.
C.
Change LastHireDate to the datetime2(7) data type.
D.
Change PhoneNumber to the bigint data type.
E.
Change LastHireDate to the date data t
Change Salary to the money data type.
Change LastHireDate to the date data t
You have SQL Server on an Azure virtual machine that contains a database named DB1.
DB1 contains a table
named CustomerPII.
You need to record whenever users query the CustomerPII table.
Which two options should you enable? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A.
server audit specification
B.
SQL Server audit
C.
database audit specification
D.
a server principal
server audit specification
database audit specification
Explanation:
An auditing policy can be defined for a specific database or as a default server policy in
Azure (which hosts SQL Database or Azure Synapse):
A server policy applies to all existing and newly created databases on the server.
If server auditing is enabled, it always applies to the database. The database will
be audited, regardless of the database auditing settings.
Enabling auditing on the database, in addition to enabling it on the server, does
not override or change any of the settings of the server auditing. Both audits will
exist side by side.
Note:
The Server Audit Specification object belongs to an audit.
A Database Audit Specification defines which Audit Action Groups will be audited for the
specific database in which the specification is created.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/auditing-o
You have an Azure SQL database named db1.
You need to retrieve the resource usage of db1 from the last week.
How should you complete the statement? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one p
You have 50 Azure SQL databases.
You need to notify the database owner when the database settings, such as the database
size and pricing tier, are modified in Azure.
What should you do?
A.
Create a diagnostic setting for the activity log that has the Security log enabled.
B.
For the database, create a diagnostic setting that has the InstanceAndAppAdvanced
metric enabled.
C.
Create an alert rule that uses a Metric signal type.
D.
Create an alert rule that uses an Activity Log signal type
Create an alert rule that uses an Activity Log signal type
xplanation:
Activity log events - An alert can trigger on every event, or, only when a certain number of
events occur.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/database/alerts-insights-configure-porta
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 two Azure SQL Database servers named Server1 and Server2. Each server
contains an Azure SQL database named Database1.
You need to restore Database1 from Server1 to Server2. The solution must replace the
existing Database1 on Server2.
Solution: You run the Remove-AzSqlDatabase PowerShell cmdlet for Database1 on
Server2. You run the Restore-AzSqlDatabase PowerShell cmdlet for Database1 on
Server2.
Does this meet the goal?
A.
Yes
B.
No
No
Explanation:
Instead restore Database1 from Server1 to the Server2 by using the RESTORE Transact-
SQL command and the REPLACE option.
Note: REPLACE should be used rarely and only after careful consideration. Restore
normally prevents accidentally overwriting a database with a different database. If the
database specified in a RESTORE statement already exists on the current server and the
specified database family GUID differs from the database family GUID recorded in the
backup set, the database is not restored. This is an important safeguard.
Reference:
https://docs.microsoft.com/en-us/sql/t-sql/statements/restore-statements-transact-sql
You have an on-premises Microsoft SQL Server 2016 server named Server1 that contains
a database named DB1.
You need to perform an online migration of DB1 to an Azure SQL Database managed
instance by using Azure Database Migration Service.
How should you configure the backup of DB1? To answer, select the appropriate options in
the answer area.
NOTE: Each correct selection is worth one point.
Page 2 out of 22 Pages |
Previous |