Topic 1, Proseware, Inc.
Overview
General Overview
Proseware, Inc. is a software engineering company that has 100 employees. Proseware has sales, marketing, accounts, human resources IT, and development departments.
The IT department has one team dedicated to managing the internal resources and one team dedicated to managing customer resources, which are located in the company’s hosting environment.
Proseware develops websites, basic web apps, and custom web apps. The websites and the apps are hosted and maintained in the hosting environment of Proseware.
Physical Locations
Proseware has two offices located in Seattle and Montreal. The Seattle office contains all of the hardware required to host its customers’ websites, web apps, and databases. The Seattle office contains the IT team for the hosting environment.
The Montreal office contains all of the hardware required to host the company’s internal applications, databases, and websites.
Each office connects directly t
o the Internet. Testing reveals that the minimum latency from the offices to Microsoft Azure is 20 ms.
Existing Environment
Internal Microsoft SQL Server Environment
Proseware uses a custom customer relationship management (CRM) application.
The internal Microsoft SQL Server environment contains two physical servers named CRM-A and CRM-B. Both servers run SQL Server 2012 Standard and host databases for the CRM application.
CRM-A hosts the principal instance and CRM-B hosts the mirrored instance of the CRM database. RM-A also hosts databases for several other applications that are used by the company’s internal applications.
CRM-A has a quad core processor and 12 GB of RAM. CRM- has a dual core processor and 8 GB of RAM.
Custom Web Applications Environment
Some Proseware customers request custom web-based applications that require more than just databases, such as SQL Server Integration Services (SSIS) and CLR stored procedures.
Proseware uses a Hyper-V server named Host1. Host1 has four instances of SQL Server 2014 Enterprise in the host operating system. The instances are mirrored on a server named Host2.
Host1 also hosts four virtual machines named VM1, VM2, VM3, and VM4. VM1 has SQL Server 2005 Standard installed. VM2 has SQL Server 2005 Enterprise Edition installed. VM3 has SQL Server 2008 Standard Edition installed. VM4 has SQL Server 2008 R2 Standard Edition installed.
Host1 uses a SAN to store all of the data and log files for the four SQL Server instances and the four virtual machines.
Websites and Basic Web Apps Environment
Proseware has two physical servers named WebServer1 and WebData1. WebServer1 hosts basic web apps and websites for its customers. WebData1 has a database for each website and each basic web app that Proseware hosts. WebData1 has four cores and 8 GB of RAM.
Each website database contains customer information for billing purposes. Proseware generates a consolidated report that contains data from all of these databases.
The relevant databases on WebData1 are:
*CWDB: Currently 60 GB and is not expected to exceed 100 GB. CWDB contains a table named Personallinfo.
*MovieReviewDB: Currently 5 GB and is not expected to exceed 10 GB.
Marketing Department
Proseware has a web app for the marketing department. The web app uses an Azure SQL database. Managers in the marketing department occasionally bulk load data by using a custom application. The database is updated daily.
Problem Statements
Proseware identifies the following issues:
* Lack of planning and knowledge has complicated the database environment
* Customers who have web apps hosted on Webserver1 report frequent outages caused by failures on WebDatal. The current uptime is less than 90 percent .
* internally users complain of slow performance by the CRM application when the databases fail over to CRM-B
* WebDatal has no high availability option for the databases or the server.
* An internal licensing audit of SQL Server identifies that Proseware is non compliant. Hostl, CRMA, and CRM-B are licensed properly. VM1 VM2, VM3, VM4, and WebDatal are unlicensed.
Business Requirements
Proseware identifies the following business requirements:
Security Requirements
Proseware hosts a database for a company named Contoso, Ltd. Currently, all of the employees at Contoso can access all of the data in the database.
Contoso plans to limit user access to the CWDU database so that customer service representatives can see only the data from the PersonalInfo table that relates to their own customers.
HOTSPOT
You need to identify which methods to use to migrate MovieReviewDB and CWDB.
Which method should you identify for each database? To answer, select the appropriate options in the answer area.
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-cloud-migrate-compatibleusing-ssms-migration-wizard/
You are planning the consolidation of the databases from Host1.
You need to identify which methods to use to back up the data after the consolidation completes.
What are two possible methods that achieve this goal? Each correct answer presents a complete solution.
- A . BACKUP TO URL
- B . AlwaysOn failover clustering
- C . a maintenance plan
- D . AlwaysOn Availability Groups
You need to recommend a disaster recovery solution for the CRM application that meets the business requirements.
What should you recommend?
- A . backup and restore by using Windows Azure Storage
- B . log shipping
- C . AlwaysOn Availability Groups
- D . database mirroring
HOTSPOT
You are evaluating the migration of the databases from Host1 and WebData1 to Azure.
You need to recommend the most cost-effective solution for storing the database in Azure. The solution must meet the business requirements.
In the table below, recommend the most cost-effective storage solution for Host1 and WebData1. NOTE: Make only one selection in each column.
You are evaluating moving the data from WebData1 to an Azure SQL database.
You need to recommend a solution to generate the consolidated report for billing. The solution must meet the business requirements.
What should you include in the recommendation?
- A . SQL Server Integration Services (SSIS)
- B . SQL Server Analysis Services (SSAS)
- C . an elastic database job
- D . an elastic query
DRAG DROP
You plan to implement row-level security for the CWDB database. You create the fn_limitusers function under the restriction schema. You need to create the policy.
How should you complete the policy? To answer, drag the appropriate elements to the correct locations. Each element 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.
Explanation:
References: https://msdn.microsoft.com/en-us/library/dn765131.aspx
DRAG DROP
A marketing department manager reports that the marketing department database contains incorrect data. The manager reports that the data was correct yesterday.
You need to recommend a method to recover the data.
Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
You are evaluating whether to replace CRM-B with an Azure virtual machine.
You need to identify the required virtual machine service tier to replace CRM-. The solution must meet the following requirements:
Which virtual machine service tier should you identify?
- A . Standard DS3
- B . Standard A6
- C . Standard GS2
- D . Standard D3
A
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/virtual-machines-windows-sizes/
Topic 2, ADatumCorporationOverview
General Overview
ADatumCorporation is a real estate firm that has offices throughout North America.
ADatumhas a main office and four branch offices. The main office is located in Seattle. The branch offices are located in New York, Montreal, Denver, and Vancouver.
Existing Environment
Network Infrastructure The network contains one Active Directory domain namedADatum.com. Each office contains one domain controller.
Each office has a 100-Mbps connection to the Internet that is 20 percent saturated on average. The offices connect to each other through the Internet by using VPN appliances.
ADatumuses the public IP addresses shown in the following table.
SQL Server Infrastructure
In the main office,ADatumhosts a Microsoft SQL Server instance on a server named SQL1. SQL1 has a 400-GB database named Listings. Log-shipped copies of Listings are present in each branch office. The copies are used for reporting. Currently, all of the SQL Server instances run SQL Server 2014 Enterprise edition.
Each branch office has an application server that hosts an application named App1. App1 is configured to connect to the Listings database on each local SQL Server instance for reporting and to connect to the SQL Server instance in the main office for any updates to property listings.
The main office also has an application server that hosts App1. The application server connects to the local Listings database for reporting and for any updates to the property listings.
Historic activity of the Listings database shows a maximum of 475 concurrent requests from as many as 200 concurrent connections.
User Issues
Users report that, frequently, they are disconnected from the Listings database when they run reports. Users also report that there is an unacceptable delay between when a property listing is updated and when the updated listing appears in the listings reports.
Developers report concerns about the lack of a testing environment in which code changes can be validated before being deployed to the production Listings database.
Requirements
Business Requirements
ADatumidentifies the following business requirements:
Planned changes
ADatumplans to implement the following changes:
Technical Requirements
ADatumidentifies the following technical requirements:
High-Availability and Recovery Requirements
ADatumidentifies the following high-availability and recovery requirements:
You need to recommend a backup solution for the ListTest database.
What should you include in the recommendation?
- A . Extract a data-tier application (DAC).
- B . Use the bcp command.
- C . Use the SQL Server Migration Assistant (SSMA).
- D . Export a data-tier application (DAC).
You need to recommend a solution to migrate the Listings database to the cloud.
What should you recommend?
- A . Stage the Listings database on an Azure virtual machine prior to the outage. During the outage, perform a data import from the main office by using SQL Server Management Studio.
- B . Implement log-shipping between the main office and an Azure virtual machine prior to the migration date. During the planned outage, perform a final log backup, restore the backup to the secondary, and then switch the secondary to the primary role.
- C . Run a full backup during the outage and restore the backup to the Azure virtual machine.
- D . Implement merge replication between the main office and the Azure virtual machine.
DRAG DROP
You need to configure auditing to meet the technical requirements.
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.
Explanation:
References: http://solutioncenter.apexsql.com/how-to-setup-and-use-sql-server-audit-feature/
DRAG DROP
You need to implement the monitoring solution for the Listings database.
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.
DRAG DROP
You need to back up the Listings database to meet the high-availability and recovery requirements.
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.
DRAG DROP
You need to recommend a solution to implement high availability for the Listings database.
Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
You are evaluating whether an Azure SQL Database elastic database pool suits your workload and usage patterns.
What are two possible ways to identify the elastic database transaction units (eDTUs)? Each correct answer presents a complete solution.
- A . Aggregate data from sys.dm_os_wait_stats.
- B . Run the Database Engine Tuning Advisor.
- C . Run the Service Tier Advisor.
- D . Aggregate data from sys.dm_db_resource_stats.
- E . Aggregate data from sys.dm_os_performance_counters.
You need to recommend a solution to migrate the Listings database to the cloud.
What should you recommend?
- A . Stage the Listings database on an Azure virtual machine prior to the outage. During the outage, perform a data import from the main office by using SQL Server Management Studio.
- B . Enable mirroring between the main office and the Azure virtual machine. During the planned outage, change the mirroring roles on the Azure virtual machine to become the primary server, and then break the mirror.
- C . Run a full backup during the outage and restore the backup to the Azure virtual machine.
- D . Implement merge replication between the main office and the Azure virtual machine.
B
Explanation:
https://blogs.msdn.microsoft.com/buckwoody/2013/01/08/microsoft-windows-azure-disasterrecovery-options-for-on-premises-sql-server/
Which three components are required to meet the encryption requirements for the ListTest database? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A . a Column Master Key
- B . a certificate
- C . an Always Encrypted enabled driver
- D . a Column Encryption Key
- E . a service master key
- F . a database master key
A,C,D
Explanation:
References: https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/create-and-storecolumn-masterkeys-always-encrypted?view=sql-server-2017
DRAG DROP
You need to implement monitoring for the ListTest database.
Which three statements should you use in sequence? To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.
DRAG DROP
You need to configure server-level access to the ListTest database. adatum
What statement should you use? To answer, drag the appropriate elements to the correct locations. Each element may be used 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.
Topic 3, Contoso, Ltd.Overview
Contoso, Ltd. is a national scientific research company that has sales, marketing, and research departments.
Contoso has a main office in Dallas and more than 20 satellite offices across the United States. Some employees work off-site at customer locations.
Contoso is expected to double in size during the next two years.
Existing Environment
The Microsoft SQL Server environment contains the servers configured as shown in the following table.
Contoso currently uses SQL Server 2008 R2 on all of the database servers. SQL01 currently
requires six cores and 50 GB of memory. Once a day, database snapshots are taken on the mirror to provide ad hoc reporting and to load the data warehouse.
One report is used for ad hoc reporting by using the mirrored copy of the OLTP database. Research Gen II is a Windows application that users currently access by using Remote Desktop.
Requirements
Business Goals
Contoso identifies the following business goals:
Planned changes
Contoso plans to implement the following changes:
Departmental Requirements
Senior research project leaders must be able to upload databases to the cloud. Initially, the databases will be less than 3 GB. Some databases may grow to 50 GB. The databases must be recoverable to any point during the past two weeks.
The research project leaders must monitor the performance of their databases. They must view statistics, such as query performance and overall database performance.
The marketing department plans to use cloud services to host web applications for marketing campaigns.
The databases for the web applications have the requirements shown in the following table.
Technical Requirements
Contoso identifies the following technical requirements:
A solution for the data warehouse system must be created to provide disaster recovery between SQL03 and an Azure virtual machine named SQL04. You are designing the data warehouse. You need to recommend a solution that meets the business goals and the technical requirements.
What should you recommend?
- A . Create an AlwaysOn availability group between SQL03 and SQL04.
- B . Host the data warehouse on an Azure virtual machine.
- C . Create an Azure HDInsight cluster.
- D . Create an Azure DocumentDB database.
A solution for the data warehouse system must be created to provide disaster recovery between SQL03 and an Azure virtual machine named SQL04.
You are evaluating the use of active geo-replication for one of the research department databases. You need to identify which service tier to use for the database. The solution must meet the department requirements and the business requirements.
What should you identify?
- A . Premium 1
- B . Premium 14
- C . Standard S0
- D . Basic
C
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-service-tiers/
A solution for the data warehouse system must be created to provide disaster recovery between SQL03 and an Azure virtual machine named SQL04.
You need to ensure that the performance statistics for the research department are collected.
What should you enable?
- A . Query Performance Insight
- B . Scale and Configuration
- C . Dynamic Data Masking
- D . Index advisor
A
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-query-performance/
A solution for the data warehouse system must be created to provide disaster recovery between
SQL03 and an Azure virtual machine named SQL04. You need to tell the research project leaders how to migrate their databases.
Which task should you instruct the leaders to use from SQL Server Management Studio?
- A . Extract Data-tier Application
- B . Deploy Database to a Microsoft Azure VM
- C . Deploy Database to a Microsoft Azure SQL Database
- D . Copy Database
C
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-cloud-migrate-compatibleusing-ssms-migration-wizard/
A solution for the data warehouse system must be created to provide disaster recovery between SQL03 and an Azure virtual machine named SQL04.
You need to recommend an auditing solution that meets the business goals.
Which three events should you include in the recommendation? Each correct answer presents part of the solution.
- A . Transaction Management
- B . Stored Procedure
- C . Plain SQL
- D . Login
- E . Failed Connections
You are planning the migration of SQL01 to an Azure virtual machine.
You need to identify which service tier to use for the virtual machine. The solution must meet the business goals and the technical requirements.
Which virtual machine service tier should you identify?
- A . Standard D3
- B . Standard A7
- C . Standard G2
- D . Standard DS13
You need to identity which service tier to use for the research department databases. The solution must meet the business goals and the department requirements.
What should you identify?
- A . an Azure virtual machine on the Basic service tier
- B . an Azure SQL database on the Basic service tier
- C . an Azure virtual machine on the Standard service tier
- D . an Azure SQL database on the Standard service tier
- E . an Azure SQL database on the Premium service tier
DRAG DROP
You need to implement a storage architecture for the Azure virtual machines that will host the OLTP database. The solution must meet the business goals and the technical requirements.
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.
You establish a site-to-site VPN to Microsoft Azure. You need to implement a high-availability solution for the data warehouse. The solution must meet
the business goals and the technical requirements.
Which two actions should you perform? Each correct answer presents part of the solution.
- A . Configure the databases to be in Full recovery model.
- B . Create an AlwaysOn availability group between SQL03 and SQL04.
- C . Implement iSCSI storage.
- D . Migrate SQL03 to an Azure virtual machine and configure an AlwaysOn availability group
Topic 4, Relecloud
Overview
General overview
Relecloud is an international data services company that has 3,000 users. The company has a sale department a marketing department a research department and a human resources department.
Physical location
Relecloud has one office in Seattle. The company has customers through cut North America and Europe.
Relecloud has most of its computing infrastructure located in a datacenter in Los Angeles. The company also has a few servers that are configured as Microsoft Azure virtual machines.
Existing Environment
Active Directory
The network contains an active Directory forest named relecloud.com. The forest contains two domains named relecloud.com and relecloud local. The functional level of the domain is Window Server 2008 R2.
Each office contains five domain controllers. Each office is configured as an Active Directory site.
Current business model
Relecloud maintains a single Microsoft SQL Server database named Database 1. Database 1 hosts all of the data for the customers of Relecloud. Database 1 has a total of 600 GB of data.
Relecloud provides data for its customers by using several method of delivery. such as comma-separated value (CSV) files and fixed-width text files. All of the files are delivered by using file Transfer protocol (FTP) or Secure FTP (SFTP).
The SQL Server environment contains two on-premises servers and one server in the Azure region of US West. The Azure of US West, The Azure infrastructure contains an ExpressRoute connection.
The network contains the SQL server configured as shown in the following table.
ServerDB1 and Server DB2 are members of an availability group. Problem statements Relecloud identifies several issues with its current data storage model. Multiple customers report
that they have issues loading files into relational databases. Additionally, Relecloud administrators often fail to communicate with the FTP servers of the Relecloud customers. Currently, the memory and the CPU of ServerDB1 and ServerDB2 are nearly fully utilized.
Requirements
Business goals
Relecloud plans to take a leadership role in its industry and modernize its delivery method. The company also plans to offer its customers easier access to its data.
Planned changes
Relecloud plans to move all of its customers to a delivery model that uses Azure SQL Database and plans to maintain a single database for each customer.
Relecloud plans to automate the process of creating the required infrastructure for each new customers is approximately 10 GB and has a static size. The new customers require a rapid response time to database queries and each customer has five to concurrent logins.
Security requirements
Relecloud identifies the following security requirements:
Customers must be able to read data only.
Customers must be able to create custom views.
Customers must be able to use two-factor authentication when accessing Azure SQL databases.
Technical requirements
Relecloud identifies the following technical requirements:
Database administrators must be notified when the CPU pressure of AzD801 must be able to respond to customer requests for data.
Auditing requirements:
All of the requests from the stored procedures that are run against the Azure SQL databases must be logged. All auditing information must be viewable in Microsoft Excel in Real-time.
DRAG DROP
You plan to prepare the environment for the planned new customers. You need to deploy a base copy of DB1 for each customer in Azure.
Which cmdlets should you use in the Azure PowerShell script? 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:
Box 1: Get-AzureRmSqlDatabase The Get-AzureRmSqlDatabase cmdlet gets one or more Azure SQL databases from an Azure SQL Database Server. Partial syntax: Get-AzureRmSqlDatabase [[-DatabaseName] <String>] [-ServerName] <String> [-ResourceGroupName] <String>
Box 2: Restore-AzureRmSqlDatabase The Restore-AzureRmSqlDatabase cmdlet restores a SQL database from a geo-redundant backup, a backup of a deleted database, a long term retention backup, or a point in time in a live database. The restored database is created as a new database.
Partial syntax: Restore-AzureRmSqlDatabase [-FromLongTermRetentionBackup] -ResourceId <String> -ServerName <String> -TargetDatabaseName <String> [-Edition <String>] [-ServiceObjectiveName <String>] [-ElasticPoolName <String>] [-AsJob] [-LicenseType <String>] [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
e:
https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/getazurermsqldatabase?view=azurermps-6.7.0
https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/restoreazurermsqldatabase?view=azurermps-6.7.0
HOTSPOT
Users at Relecloud report slow performance when viewing reports from AzD801. You need to identify the cause of the performance issue as quickly as possible.
Which dynamic management view and performance monitor counter should you use? To answer,
select the appropriate options in the answers area. NOTE: Each correct selection is worth one point.
Explanation:
Box 1: Sys.dm_io_virtual_file_stats Sys.dm_io_virtual_file_stats returns I/O statistics for data and log files.
Box 2: Page reads/sec indicates the number of physical database page reads that are issued per second. This statistic displays the total number of physical page reads across all databases. Because physical I/O is expensive, you may be able to minimize the cost, either by using a larger data cache, intelligent indexes, and more efficient queries, or by changing the database design.
Reference:
https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-managementviews/sys-dm-io-virtual-file-stats-transact-sql?view=sql-server-2017
https://docs.microsoft.com/en-us/sql/relational-databases/performance-monitor/monitor-cpuusage?view=sql-server-2017
You need to design a security strategy to support the planned changes for the customer databases, The solution must meet the security requirements.
Which two security roles should you grant to the customers? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A . db_datawriter
- B . dbcreator
- C . db_ddladmin
- D . db_datareader
C,D
Explanation:
From Scenario: Security requirements
You need to implement a disaster recovery solution that meets the technical requirements. The solution must NOT require customers to modify their connection strings.
Which disaster recovery solution should you implement?
- A . Transactional Replication to Azure
- B . AlwaysOn Availability groups
- C . Transaction Log Shipping
- D . failover cluster instances
B
Explanation:
Explanation Scenario: Technical requirements Relecloud identifies the following technical requirements:
The Always On availability groups feature is a high-availability and disaster-recovery solution that provides an enterprise-level alternative to database mirroring. Introduced in SQL Server 2012 (11.x), Always On availability groups maximizes the availability of a set of user databases for an enterprise. An availability group supports a failover environment for a discrete set of user databases, known as availability databases, that fail over together. An availability group supports a set of read-write primary databases and one to eight sets of corresponding secondary databases.
Reference: https://docs.microsoft.com/en-us/sql/database-engine/availabilitygroups/windows/always-on-availability-groups-sql-server?view=sql-server-2017
You need to recommend a database strategy to support the planned new customers. The solution must minimize costs.
What should you recommend?
- A . a Basic database pool that has at least 1,200 eDTUs
- B . a Premium database pool that has at least 1,000 eDTUs
- C . 30 Basic databases
- D . 30 Premium P14 databases
A
Explanation:
Scenario: Planned changes Relecloud plans to move all of its customers to a delivery model that uses Azure SQL Database and plans to maintain a single database for each customer.
Relecloud plans to automate the process of creating the required infrastructure for each new customer, including the process of loading data to the customer databases. Relecloud plans to onboard 30 new customer accounts during the next year. The data for the new customers is approximately 10 GB and has a static size. The new customers require a rapid response time to database queries and each customer has five to 10 concurrent logins.
erence: https://azure.microsoft.com/en-us/pricing/calculator/?service=sql-database
DRAG DROP
You need to implement a solution to meet the technical requirements for the database administrators.
Which three actions should you perform in sequence from the Azure portal? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Relecloud recently implemented the planned changes. you plan to add a new customer named Fabrikam, Inc. You need to ensure that the administrators at Fabrikam can access their data after the data
loading process. You collect the IP addresses used by the Fabrikam administrators.
Which Transact-SQL command or Azure PowerShell cmdlet should you use next?
- A . sp_set_firewall_rule
- B . Set-AzureRmSqlServerFirewallRule
- C . sp_set_database_firewall_rule
- D . new-AzureRmSqlServerFirewallRule
D
Explanation:
The New-AzureRmSqlServerFirewallRule cmdlet creates a firewall rule for the specified Azure SQL Database server.
Database-level firewall rules enable clients to access certain (secure) databases within the same logical server. You can create these rules for each database (including the master database) and they are stored in the individual databases.
Reference:
https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/newazurermsqlserverfirewallrule?view=azurermps-6.7.0 https://docs.microsoft.com/en-us/azure/sql-database/sql-database-firewall-configure
Topic 5, Tailspin Toys
Overview
Tailspin Toys is a worldwide manufacturing company that operates on several continents. The company has datacenters in London and New York. Existing Environment
Technical Problems
User in the London office and the New York office report quick response times when they connect to the datacenters. Users in all other offices report slow response times. Application Environment Tailspin Toys stores sensitive customer data. The company uses several applications. An application named App1 uses
Microsoft SQL Server
as a back-end database. An application named App2 uses MySQL as a back-end database. customer audits of documents rarely occur. When an audit occurs, it is scheduled between the customer and the auditing team of Tailspin Toys.
Requirements
Planned Charges
Tailspin Toys plans to migrate several workloads to Microsoft Azure. As part of the planned migration, the company requires that the lowest costs for monthly Azure services and for SQL Serverlicense planes be implemented, whenever possible.
Technical Requirements
The customer-sensitive data stored in Azure must be encrypted when at rest.
The on-premises environment of Tailspin Toys has several jobs that support business processes scheduled by using the SQL Server Agent. After the migration to Azure, the business processes must be scheduled to execute righty at midright Eastern Time (UTC-5). The implementation of the business processes must minimize administrative effort.
Networking Requirements
All Internet traffic initiated from the servers in Azure must be routed through the local network firewalls and content filters.
Applications
App1
App1 is developed and maintained by the developers at Tailspin Toys the company plans to make architectural changes to the application to achieve the best possible performance and state.
The database for App1 is named DB1 and is 100-TB. 99.8 percent of the data in DB1 is large object binary (LOB) data. After the data is uploaded to DB1, the data is accessed frequently for 10 days; then the data is accessed rarely for 20 days; and then the data is never accessed, unless a customer audit occurs.
Users in multiple Tailspin Toys officers worldwide must use app1 to access the relational records stored in DB1.
App1 has a Service Level Agreement (SLA) that requires an uptime of 99.95 percent.
After the planned migration to Azure, the finance department plans to replicate a subset of DB1 to an on-premises database for reporting purposes.
App2
App2 is developed by using third-party open source code that is updated frequently. The database for App2 is named DB2. App2 only supports My SQL. None of the developers at Tailspin Toys are skilled is using MySQL DB2 is supported by a team of external developers.
DB2 is 20 GB and is expected to reach 50 GB during the next five years. DB2 has a storage performance requirement of 200 IOPs.
DB2 must be highly available.
App3
As part of the planned migration to Azure, Tailspin Toys is developing a new application named App3 that will provide business-to-business features. Some of the customers that will use App3 will have a single employee, while others will have tens of thousands of employees using the application.
Due to the different size of the workloads, Tailspin Toys is concerned that parameter sniffing will hinder the performance of App3.
The web servers for App3 will be in multiple Azure regions and will use Traffic Manager.
Customers worldwide will use App3. For each customer, the database for App3 must be located near the customer’s corporate office. The customer also must be able to choose additional regions in which to store read only copies of their database for an additional cost.
Two hundred customers plan to use App3 as soon as it becomes available. The customers request that their data be made available to them for reporting purposes. Some customers plan to use reporting in Azure, while other customers plan to use their database for an additional cost.
App3 has an SLA that requires 99.95 percent uptime.
The developers of App3 require an empty development database and a test database that contains data to test the application. The databases must be refreshed regularly.
You need to recommend a solution to meet the network requirement.
What should you recommend?
- A . Implement forced tunneling.
- B . Create a network security group (NSG) rule.
- C . Create an Azure virtual network gateway.
- D . Implement split tunneling.
C
Explanation:
Application Gateway operates as an application delivery controller and offers SSL termination, cookie-based session affinity, round-robin load distribution, content-based routing, ability to host multiple websites and security enhancements.
Scenario: Networking requirements All Internet traffic initiated from the servers in Azure must be routed through the local network firewalls and content filters.
Reference: https://docs.microsoft.com/en-us/azure/security/security-network-overview
You need to recommend a solution to meet the reporting requirements of App3.
What should you include in the recommendation?
- A . SQL Server replication
- B . database mirroring
- C . AlwaysOn Availability Groups
- D . Azure Data Sync
HOTSPOT
You need to provision the database for DB2 in Azure.
How should you provision the database? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Explanation:
Box 1: Azure Database for MySQL Azure Database for MySQL provides fully managed, enterprise-ready community MySQL database as a service.
Box 2:
Incorrect Answres:
Not Azure Database for MySQL You can create an Azure Database for MySQL server in one of three different pricing tiers: Basic, General Purpose, and Memory Optimized.
Scenario: App2 is developed by using third-party open source code that is updated frequently. The database for App2 is named DB2. App2 only supports MySQL. None of the developers at Tailspin Toys are skilled in using MySQL. DB2 is supported by a team of external developers. DB2 is 20 GB and is expected to reach 50 GB during the next five years. DB2 has a storage performance requirement of 200 IOPs. DB2 must be highly available.
Reference:
https://docs.microsoft.com/en-us/azure/mysql/concepts-pricing-tiers
https://azure.microsoft.com/en-us/services/mysql/
DRAG DROP
You need to migrate DB2 to Azure.
Which utility should you use for each task? To answer, drag the appropriate utilities to the correct tasks. Each utility may be used once, more than once, or not at all. You made need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Explanation:
Box 1: mysqldump Use common utilities and tools such as MySQL Workbench, mysqldump, Toad, or Navicat to remotely connect and restore data into Azure Database for MySQL.
Box 2: azcopy AzCopy is a command-line tool for copying data to or from Azure Blob storage, Azure Files, and Azure Table storage, by using simple commands. The commands are designed for optimal performance. You can copy data between a file system and a storage account, or between storage accounts.
App2 is developed by using third-party open source code that is updated frequently. The database for App2 is named DB2. App2 only supports MySQL.
Reference:
https://docs.microsoft.com/en-us/azure/mysql/concepts-migrate-import-export
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-migrate-onpremises-data?tabs=windows
What should you use to schedule the nightly jobs to meet the technical requirements?
- A . Migrate the SQL Server Agent jobs.
- B . Create an Azure Scheduler task.
- C . Create an Azure runbook.
- D . Implement an Elastic Database jobs.
C
Explanation:
Azure Automation can play the role of SQL Server Agent for Azure SQL DB. Built into the Azure platform is Azure Automation and to get started, you have to create an automation account. You’ll need to provide a name for the account, select your subscription, resource group, location, and determine if you want to create an Azure Run As account. Once you create your account, you can then start creating runbooks. You can do just about anything with the runbooks. There are numerous existing run books that you can browse through and modify for your own use, including provisioning, monitoring, life cycle management, and more.
Scenario: After the migration to Azure, the business process must be scheduled to execute nightly at midnight Eastern Time (UTC-5). The implementation of the business processes must minimize administrative effort.
Reference: https://sqlperformance.com/2017/06/azure/automation-methods
DRAG DROP
You need to identify the appropriate data architecture for App1. The solution must support the planned changes.
Which storage platforms should you identify for App1? To answer, drag the appropriate storage platforms to the correct data types. Each storage platform 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
You need to implement a solution to meet the technical requirements for the encryption of the data in Appl.
Which two features should you enable? Each correct answer presents pan of the solution. NOTE: Each correct selection is worth one point
- A . Storage Account Encryption
- B . Azure Key Vault
- C . Dynamic Data Masking
- D . Transparent Data Encryption (TDE)
B,D
Explanation:
An application named App1 uses Microsoft SQL Server as a back-end database. The customer-sensitive data stored in Azure must be encrypted when at rest.
References: https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/extensible-keymanagement-using-azure-key-vault-sql-server?view=sql-server-2017
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/transparent-dataencryption?view=sql-server-2017
Which database platform should App3 use?
- A . Azure SQL Database
- B . Azure Database for PostgreSQL
- C . Azure Database for MySQL
- D . an Azure virtual machine that has SQL Server installed
You need to prepare the Azure environment for the planned migration of DB1. The solution must meet the requirements of the finance department.
Which two tasks should you perform in Azure? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A . Configure a Filtered replication publication
- B . Create an Azure virtual machine that runs SQL Server
- C . Configure multiple active replicas.
- D . Create an Azure SQL database.
A,D
Explanation: References: https://docs.microsoft.com/en-us/sql/relational-databases/replication/publish/filter-published-
data?view=sql-server-2017
Topic 6, Mixed Questions
DRAG DROP
You have a Microsoft Azure virtual machine that hosts a Microsoft SQL Server database.
You need to configure firewall rules to meet the following requirements:
Which Azure endpoint ports should you open? To answer, drag the appropriate ports to the correct types of access. Each port 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.
Explanation:
You have a Microsoft SQL Server instance on a Microsoft Azure virtual machine.
The members of an Active Directory group named HelpDesk can log in to the SQL Server instance. You need to ensure that the members of HelpDesk can query dynamic management views and
gather performance metrics from the SQL Server instance.
Which three actions should you perform? Each correct answer presents part of the solution.
- A . Add HelpDesk to the db_owner role for all of the databases.
- B . Add HelpDesk to the new role.
- C . Grant VIEW ANY DATABASE to the new role.
- D . Grant VIEW SERVER STATE to the new role.
- E . Create a database role.
- F . Create a server role.
B,D,F
Explanation:
References: https://msdn.microsoft.com/en-us/library/ms188754.aspx
You have a Microsoft Azure SQL database.
You need to ensure that you can use the Always Encrypted feature for the database.
Which two components should you configure? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A . the Column Master Key
- B . the database master key
- C . the service master key
- D . transparent data encryption (TDE)
- E . the Column Encryption Key
A
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-always-encrypted/
Your company has two offices located in London and New York.
The London office has a public IP of 131.107.1.1 and a private IP subnet of 192.168.4.0/24. The New York office has a public IP of 131.107.15.1 and a private IP subnet of 192.168.8.0/24. You have a Microsoft Azure SQL database. Currently, only the users in the London office use the
database. You plan to provide the users in the New York office with access to the database. You need to ensure that the New York office users can access the database.
Which command should you execute?
- A . EXECUTE sp_set_database_firewall_rule N’NewYork,’131.107.15.1’,’255.255.255.255’
- B . EXECUTE sp_set_database_firewall_rule N’NewYork, ’192.168.8.0’, ‘192.168.8.255’;
- C . EXECUTE sp_set_database_firewall_rule N’NewYork,’192.168.8.0’, ’255.255.255.0’;
- D . EXECUTE sp_set_database_firewall_rule N’NewYork,’131.107.15.1’,’131.107.15.1’;
B
Explanation:
References: http://azure.patrickkeisler.com/2015/11/configuring-the-azure-sql-database-firewall/ https://msdn.microsoft.com/en-gb/library/dn270010.aspx
You have a Microsoft SQL Server 2014 instance on a Microsoft Azure virtual machine. You need to ensure that all SQL Server audits are written to the Windows Security log.
Which two actions should you perform? Each correct answer presents part of the solution.
- A . Configure the Audit policy change policy.
- B . Assign the Generate security audits user right.
- C . Configure the Audit object access policy.
- D . Assign the Log on as a service user right.
- E . Configure the Audit the access of global system objects policy.
B,C
Explanation:
References: https://msdn.microsoft.com/en-us/library/cc645889.aspx
DRAG DROP
You hire a new employee to assist in the management of a Microsoft Azure SQL database.
You need to ensure that the employee can query dynamic management views.
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.
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-monitoring-with-dmvs/
DRAG DROP
You have an AlwaysOn availability group between several Microsoft Azure virtual machines. You need to ensure that the databases meet the following requirements:
The solution must prevent any disruption to replication.
Which four actions should you perform in sequence? I answer, move the appropriate actions from
the list of actions to the answer area and arrange them in the correct order.
Explanation:
References: https://blogs.msdn.microsoft.com/alwaysonpro/2014/01/28/how-to-enable-tde-encryption-on-a
database-in-an-availability-group/
You deploy a Microsoft SQL Server instance on a Microsoft Azure virtual machine by using a template.
You plan to deploy a PHP-based app in an Azure web app. The web app will use a database on the virtual machine. The web app and the virtual machine will be on the same Azure virtual network.
You need to ensure that the web app can access the SQL Server database.
Which three actions should you perform? Each correct answer presents part of the solution.
- A . Change the SQL Server authentication to mixed mode.
- B . Use sp_configure to enable remote access.
- C . From the Azure portal, add an endpoint for TCP port 1434.
- D . On the virtual machine, enable the inbound connections on TCP port 1433 from Windows Firewall.
- E . Restart the SQL Server service.
You have Microsoft SQL Server installed on a Microsoft Azure virtual machine. The virtual machine is on the Standard D3 service tier. All of the data files for the databases on the virtual machine are located on a single volume that is mounted as drive E.
The virtual machine experiences performance issues.
You view the wait statistics and discover a high number of GEIOLATCH_SH waits associated to the tempdb data files. You need to resolve the performance issues.
What should you do?
- A . Move the tempdb data files to drive D.
- B . Move the tempdb data files to drive C.
- C . Change the service tier of the virtual machine to Standard D12.
- D . Change the service tier of the virtual machine to Standard DS3.
You have a report that runs against a Microsoft Azure SQL database. The report takes more time to return results than expected. You add an index to a table in the database. You need to identify whether adding the index improves the performance issue.
What should you use?
- A . Database Engine Tuning Advisor
- B . Index Tuning Wizard
- C . Azure Throughput Analyzer
- D . Azure SQL Database Index Advisor
D
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-advisor/
You have Microsoft SQL Server installed on a Microsoft Azure virtual machine named VM1. VM1 is provisioned by using the classic deployment model and is on the Standard GS5 service tier. The virtual machine is used for testing purposes only. You need to minimize the costs associated with VM1 when the virtual machine is unused.
Which command should you use?
- A . Update-AzureVM
- B . Stop-AzureVM
- C . Suspend-VM
- D . Stop-VM
B
Explanation:
References: https://msdn.microsoft.com/en-us/library/azure/dn495269.aspx
You have several SQL Server instances on Microsoft Azure virtual machines. Periodically, one of the virtual machines runs more slowly than expected. The issue typically
persists for up to 30 minutes. You investigate the issue and discover that when the issue occurs, there is high CPU usage on the virtual machines.
You need to be notified automatically when the performance issue occurs. You want to achieve this goal by using the minimum amount of administrative effort.
What should you configure?
- A . extended events to monitor the Processor:%Privileged Time of the virtual machine and SQL Server Agent alerts to notify the operator by sending an email message
- B . Azure Diagnostics for the logs on the virtual machine and a rule in Management Services to send you an email message when the CPU usage is more than 80 percent
- C . extended events to monitor the Processor:%User Time of the virtual machine and SQL Server Agent alerts to notify the operator by sending an email message
- D . an alert rule in the Azure portal to send you an email message when the CPU usage is more than 80 percent for five consecutive minutes
D
Explanation:
References: http://msdn.microsoft.com/en-us/library/azure/dn306639.aspx
You have Microsoft SQL Server 2014 installed on a Microsoft Azure virtual machine.
One of the databases on the virtual machine supports a highly active Online Transaction Processing (OLTP) application.
Users report abnormally long wait times when they submit data in the application.
Which two tools can you use to identify the longest running queries? Each correct answer presents a complete solution.
- A . the Job Activity Monitor
- B . Database Engine Tuning Advisor
- C . dynamic management views
- D . SQL Server Extended Events
- E . SQL metrics in Azure Diagnostics for the virtual machine
DRAG DROP
You have several instances of Microsoft SQL Server on several Microsoft Azure virtual machines.
You need to implement an automated process to back up all of the virtual machines to an Azure storage account. The process must run weekly.
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.
Explanation:
References: https://blogs.technet.microsoft.com/cbernier/2014/04/28/back-up-an-azure-vm-using-microsoftazure-automation/
You have an application that uses a Microsoft SQL Server database on a Microsoft Azure virtual machine.
The application experiences performance issues, which you suspect are related to the connection pooling. The issues are prevalent only when there are more than 150 concurrent connections.
You need to identify whether the performance issues are related to the connection pooling.
Which dynamic management view should you query?
- A . sys.dm_os_memory_pools
- B . sys.dm_exec_requests
- C . sys.dm_exec_connections
- D . sys.dm_exec_sessions
D
Explanation:
References:
https://blogs.msdn.microsoft.com/sql_pfe_blog/2013/10/08/connection-pooling-for-the-sql-server
dba/
A customer plans to monitor the performance of a Microsoft Azure SQL database.
You need to explain to the customer which metrics are used to calculate the Database Throughput Unit (DTU) percentage.
Which three metrics should you identify? Each correct answer presents part of the solution.
- A . Log IO percentage
- B . Data IO percentage
- C . CPU percentage
- D . Blocked by firewall
- E . Database size percentage
- F . Total database size
A,B,C
Explanation:
References: http://dtucalculator.azurewebsites.net/
You have a Microsoft Azure SQL database that is used for reporting.
You discover that some reports complete more quickly than other reports, even though the reports retrieve approximately the same amount of data and use queries that have the same table structure.
You need to reduce the amount of time it takes to complete the reports.
What should you use?
- A . Index Tuning Wizard
- B . Database Engine Tuning Advisor
- C . Azure Throughput Analyzer
- D . Azure SQL Database Index Advisor
You plan to implement a Microsoft Azure SQL database.
You need to create and manage the new database on a new server.
Which three cmdlets should you use? Each correct answer presents part of the solution.
- A . New-AzureSqlDatabaseServer
- B . New AzureSqlDatabaseServerFirewallRule
- C . New-AzureSqlDatabaseServerContext
- D . New-AzureVM
- E . New-AzureSqlDatabase
A,C,E
Explanation:
References: https://msdn.microsoft.com/en-us/library/dn546722.aspx
DRAG DROP
You have four Microsoft Azure SQL databases located on the same database server. You need to configure the databases to be in an elastic database pool.
Which four 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. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Explanation:
References: https://azure.microsoft.com/en-gb/documentation/articles/sql-database-elastic-pool-create-portal/
You have a Microsoft Azure SQL database. The database is hosted in the West US region and uses the Premium service tier. Users of the database are located in Los Angeles, New York, and Singapore.
The users in Singapore report that when they run reports against the database, the reports take a long time to complete. The reports contain thousands of rows.
You need to recommend a solution to resolve the performance issue. The solution must maintain the performance for the other users.
What should you include in the recommendation?
- A . Move the Azure SQL database from the West US region to the East Asia region.
- B . Implement Azure ExpressRoute for the subscription.
- C . Configure a readable geo-replica in the East Asia region.
- D . Configure pagination for the report.
You have an on-premises Microsoft SQL Server 2014 database in an AlwaysOn availability group. You are planning a backup solution for the database. Backups will run on a secondary replica. You need to create a backup procedure for the database. The solution must ensure that the
backups are stored on-premises and in Microsoft Azure Blob storage.
Which two actions should you perform? Each correct answer presents part of the solution.
- A . Run the BACKUP DATABASE statement and use the TO DISK clause.
- B . Run the CREATE DATABASE statement and use the AS COPY OF clause.
- C . Run the BACKUP DATABASE statement and use the TO URL clause.
- D . Run the BACKUP DATABASE statement and use the MIRROR clause.
C
Explanation:
https://msdn.microsoft.com/en-us/library/dn435916.aspx