Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

Administering Relational Databases on Microsoft Azure

Administer relational databases on Microsoft Azure.

4.8★★★★★(214 ratings)
18,702 studentsIntermediate
Build practical skills for managing Azure SQL and other relational database services. The exam covers performance, security, automation, backup, and high availability for cloud database administration. This certification is valuable for DBAs transitioning to Azure-managed platforms. It helps you keep relational data services healthy, secure, and production ready.

What you'll learn

  • Administer Azure databases- Improve performance- Configure backup and restore- Manage security- Support high availability

DP-300

Lectures2
Questions106
Duration30 week
Students18,702

$20.00

Full Free Question Bank (106 Questions)

Administering Relational Databases on Microsoft Azure (DP-300) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1Monitor, configure, and optimize database resources

You have an Azure subscription containing an Azure SQL database. The database includes a table named tablet that uses partitioned columnstores. You need to configure table1 to meet these requirements: - Every partition must be compressed. - The compression ratio must be maximized. - You must be able to index the compressed data. What should you use?

Apage compression
Bcolumnstore compression
CGZIP compression
Dcolumnstore archival compression
Question #2Part 1Monitor, configure, and optimize database resources

You have an Azure subscription that includes an Azure SQL managed instance named SQLMI1 and a Log Analytics workspace named Workspace1. You need to collect performance metrics for SQLMI1 and stream those metrics to Workspace. What should you do first?

ACreate a private endpoint connection on SQLMI1.
BConfigure Azure SQL Analytics to use Workspace1.
CModify the Compute + storage settings for SQLMI1.
DModify the diagnostic settings for SQLMI1.
Question #3Part 1Implement a secure environment

You have an Azure subscription that contains an Azure Data Factory version 2 (V2) data factory named df1. DF1 includes a linked service. You have an Azure Key Vault named vault1 that contains an encryption key named key1. You need to encrypt df1 by using key1. What should you do first?

ADisable purge protection on vault1.
BRemove the linked service from df1.
CCreate a self-hosted integration runtime.
DDisable soft delete on vault1.
Question #4Part 1Plan and implement data platform resources

You have a SQL Server on Azure Virtual Machines instance named SQLVM1 that was deployed using an Azure Marketplace SQL Server 2019 Enterprise image. You need to change the Microsoft SQL Server instance on SQLVM1 to the Standard edition. The solution must maintain licensing compliance. What should you do first?

AFrom the SQL Server Installation Center on SQLVM1, run the Edition Upgrade wizard.
BFrom SQLVM1, uninstall the SQL Server instance.
CFrom the SQL Server Installation Center on SQLVM1, run the Repair wizard.
DFrom the Azure portal, reconfigure SQLVM1.
Question #5Part 1Monitor, configure, and optimize database resources

You have 50 Azure SQL databases. You need to notify the database owner when Azure modifies database settings, such as database size and pricing tier. What should you do?

ACreate a diagnostic setting for the activity log that has the Security log enabled.
BFor the database, create a diagnostic setting that has the InstanceAndAppAdvanced metric enabled.
CCreate an alert rule that uses a Metric signal type.
DCreate an alert rule that uses an Activity Log signal type.
Question #6Part 1Monitor, configure, and optimize database resources

You have a SQL Server instance running on Azure Virtual Machines that contains a database named DB1. You plan to implement Azure SQL Data Sync for DB1. Which isolation level should you configure?

ASERIALIZABLE
BSNAPSHOT
CREAD UNCOMMITTED
DREAD COMMITTED
Question #7Part 1Monitor, configure, and optimize database resources

You have an Azure virtual machine named Server1 running Windows Server 2022. Server1 hosts a Microsoft SQL Server 2022 instance named SQL1 and a database named DB1. You create a master key in the master database on SQL1. You need to create an encrypted backup of DB1. What should you do?

ACreate a symmetric key in DB1.
BEnable virtualization-based security (VBS) on Server1.
CCreate a certificate in DB1.
DCreate a certificate in the master database of SQL1.
Question #8Part 1Plan and implement data platform resources

You have an on-premises Microsoft SQL Server instance named SQL1 that hosts five databases. You need to migrate the databases to an Azure SQL managed instance. The solution must: - Minimize downtime - Prevent data loss What should you use?

AAlways On availability groups
BBackup and Restore
Clog shipping
DDatabase Migration Assistant
Question #9Part 1Monitor, configure, and optimize database resources

You have an Azure SQL database named DB1 that includes a nonclustered index named index1. End users report slow queries when using index1. You need to identify the operations being performed on the index. Which dynamic management view should you use?

ASys.dm_exec_query_plan_stats
BSys.dm_db_index_physical_stats
CSys.dm_db_index_operational_stats
DSys.dm_db_index_useage_stats
Question #10Part 1Monitor, configure, and optimize database resources

You have SQL Server 2019 on an Azure virtual machine running Windows Server 2019. The virtual machine has 4 vCPUs and 28 GB of memory. You scale up the virtual machine to 16 vCPUs and 64 GB of memory. You need to deliver the lowest latency fortempdb. What total number of data files shouldtempdbcontain?

A2
B4
C8
D64
Question #11Part 1Monitor, configure, and optimize database resources

You manage an enterprise data warehouse in Azure Synapse Analytics. Users report slow performance when running commonly used queries. They do not report performance changes for infrequently used queries. You need to monitor resource utilization to identify the source of the performance issues. Which metric should you monitor?

ALocal tempdb percentage
BDWU percentage
CData Warehouse Units (DWU) used
DCache hit percentage
Question #12Part 1Monitor, configure, and optimize database resources

You have an Azure SQL Database managed instance that begins to experience performance problems. You need to identify the query causing the problem and obtain that query’s execution plan. The solution must minimize administrative effort. What should you use?

ASQL Profiler
BExtended Events
CQuery Store
Ddynamic management views
Question #13Part 1Monitor, configure, and optimize database resourcesSelect 3

You have an Azure SQL Database elastic pool that includes 10 databases. You receive the following alert: ``text Msg 1132, Level 16, state 1, Line 1 The elastic pool has reached its storage limit. The storage used for the elastic pool cannot exceed (76800) MBs. `` You need to resolve the alert while minimizing administrative effort. Which three actions can you take? Each correct answer provides a complete solution. NOTE: Each correct selection is worth one point. Msg 1132, Level 16, state 1, Line 1 The elastic pool has reached its storage limit. The storage used for the elastic pool cannot exceed (76800) MBs.

AIncrease the maximum storage of the elastic pool.
BDelete data from a database.
CRemove a database from the pool.
DEnable data compression.
EShrink individual databases.
Question #14Part 1Plan and implement data platform resources

You plan to migrate two 100-GB databases to Azure. You need to dynamically scale resource consumption according to workloads. The solution must minimize downtime during scaling operations. What should you use?

Atwo Azure SQL Databases in an elastic pool
Btwo databases hosted in SQL Server on an Azure virtual machine
Ctwo databases in an Azure SQL Managed instance
Dtwo single Azure SQL databases
Question #15Part 1Plan and implement data platform resources

You have a Microsoft SQL Server 2019 instance in an on-premises datacenter. The instance hosts a 4-TB database named DB1. You plan to migrate DB1 to an Azure SQL Database managed instance. What should you use to minimize downtime and data loss during the migration?

Adistributed availability groups
Bdatabase mirroring
CAlways On Availability Group
DAzure Database Migration Service
Question #16Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Azure subscription. You need to deploy two SQL Server instances on Azure virtual machines in a highly available configuration that uses an Always On availability group. The solution must meet these requirements: - Minimize the time required for failover. - Preserve existing connections to the primary replica during failover. What should you do?

AConnect each virtual machine to a different subnet on a virtual network. Deploy a basic Azure load balancer.
BConnect each virtual machine to a different subnet on a single virtual network.
CConnect each virtual machine to a single subnet on a single virtual network.
DConnect each virtual machine to a single subnet on a virtual network. Deploy a standard Azure load balancer.
Question #17Part 1Monitor, configure, and optimize database resources

You have an Azure SQL database named DB1. You have a table named Table1 that contains 20 columns of type CHAR(400). Row compression is enabled for Table1. During a database audit, you find that none of the fields contains more than 150 characters. You need to ensure that page compression can be applied to Table1. What should you do?

AConfigure the columns as sparse.
BChange the column type to NVARCHAR(MAX).
CChange the column type to VARCHAR(MAX).
DChange the column type to VARCHAR(200).
Question #18Part 1Plan and implement data platform resources

You are creating a new Azure Databricks notebook that uses R as its primary language while also supporting Scala and SQL. Which switch should you use to change between languages?

A\[<language>]
B%<language>
C\[<language>]
D@<language>
Question #19Part 1Plan and implement data platform resources

You are creating an anomaly-detection solution for streaming data from an Azure IoT hub. The solution must meet these requirements: - Send the output to Azure Synapse. - Detect spikes and dips in time-series data. - Minimize development and configuration effort. Which component should you include in the solution?

AAzure SQL Database
BAzure Databricks
CAzure Stream Analytics
Question #20Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Always On availability group deployed on Azure virtual machines. The availability group includes a database named DB1 and two nodes named SQL1 and SQL2. SQL1 is the primary replica. You need to start a full backup of DB1 on SQL2. Which statement should you run?

ABACKUP DATABASE DB1 TO URL='https://mystorageaccount.blob.core.windows.net/mycontainer/DB1.bak' with (Differential, STATS=5, COMPRESSION);
BBACKUP DATABASE DB1 TO URL='https://mystorageaccount.blob.core.windows.net/mycontainer/DB1.bak' with (COPY_ONLY, STATS=5, COMPRESSION);
CBACKUP DATABASE DB1 TO URL='https://mystorageaccount.blob.core.windows.net/mycontainer/DB1.bak' with (File_Snapshot, STATS=5, COMPRESSION);
DBACKUP DATABASE DB1 TO URL='https://mystorageaccount.blob.core.windows.net/mycontainer/DB1.bak' with (NoInit, STATS=5, COMPRESSION);
Question #21Part 1Implement a secure environment

You have an Azure SQL database named DB1. You need to encrypt DB1. The solution must satisfy these requirements: - Encrypt data in transit. - Support comparison operators. - Provide randomized encryption. What should you include in the solution?

AAlways Encrypted with secure enclaves
BAlways Encrypted
Ccolumn-level encryption
DTransparent Data Encryption (TDE)
Question #22Part 1Implement a secure environment

You have a SQL pool in Azure Synapse that includes a table named dbo.Customers. The table has a column named Email. You need to stop nonadministrative users from viewing complete email addresses in the Email column. Instead, users must see values in the format [email protected]. What should you do?

AFrom the Azure portal, set a mask on the Email column.
BFrom the Azure portal, set a sensitivity classification of Confidential for the Email column.
CFrom Microsoft SQL Server Management Studio, set an email mask on the Email column.
DFrom Microsoft SQL Server Management Studio, grant the SELECT permission to the users for all the columns in the dbo.Customers table except Email.
Question #23Part 1Implement a secure environmentSelect 2

You have an Azure SQL database named DB1. A user named User1 has an Azure Active Directory (Azure AD) account. You need to enable User1 to add and remove columns in the tables in DB1. The solution must follow the principle of least privilege. Which two actions should you take? Each correct answer represents part of the solution. NOTE: Each correct selection is worth one point.

AAssign the database user the db_owner role.
BCreate a contained database user.
CCreate a login and an associated database user.
DAssign the database user the db_ddladmin role.
Question #24Part 1Implement a secure environmentSelect 2

You have an Azure subscription. You create a logical SQL server that hosts four databases. Each database will be used by a different customer. You need to ensure that every customer can access only its own database. The solution must minimize administrative effort. Which two actions should you take? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

ADeny public access.
BCreate a private endpoint.
CCreate a database-level firewall rule.
DCreate a network security group (NSG).
ECreate a server-level firewall rule.
Question #25Part 1Implement a secure environmentSelect 2

You have 40 Azure SQL databases, with each database assigned to a different customer. All of the databases are hosted on the same Azure SQL Database server. You need to ensure that every customer can connect only to, and access, their own database. Which two actions should you take? Each correct answer is part of the solution. NOTE: Each correct selection is worth one point.

AImplement row-level security (RLS).
BCreate users in each database.
CConfigure the database firewall.
DConfigure the server firewall.
ECreate logins in the master database.
Question #26Part 1Monitor, configure, and optimize database resources

You have an Azure SQL database named db1 on a server named server1. The Intelligent Insights diagnostics log indicates that queries are causing performance problems because of tempDB contention. You need to remediate the performance problems. What should you do?

AImplement memory-optimized tables.
BRun the DBCC FLUSHPROCINDB command.
CReplace the sequential index keys with nonsequential keys.
DRun the DBCC DBREINDEX command.
Question #27Part 1Monitor, configure, and optimize database resourcesSelect 2

You have SQL Server running on an Azure virtual machine that hosts a database named DB1. An application queries DB1 to generate a sales report. You need to view the parameter values used the last time the query ran. Which two actions should you take? Each correct answer represents part of the solution. NOTE: Each correct selection is worth one point.

AEnable Last_Query_Plan_Stats in the master database
BEnable Lightweight_Query_Profiling in DB1
CEnable Last_Query_Plan_Stats in DB1
DEnable Lightweight_Query_Profiling in the master database
EEnable PARAMETER_SNIFFING in DB1
Question #28Part 1Monitor, configure, and optimize database resources

Your company uses Azure Stream Analytics to monitor devices. The company intends to double the number of monitored devices. You need to monitor a Stream Analytics job to verify that sufficient processing resources are available to handle the added load. Which metric should you monitor?

AInput Deserialization Errors
BLate Input Events
CEarly Input Events
DWatermark delay
Question #29Part 1Monitor, configure, and optimize database resourcesSelect 2

You have an Azure Stream Analytics job. You must ensure that the job is provisioned with sufficient streaming units. You configure monitoring for the **SU % Utilization** metric. Which two additional metrics should you monitor? Each correct answer represents part of the solution. **NOTE:** Each correct selection is worth one point.

ALate Input Events
BOut of order Events
CBacklogged Input Events
DWatermark Delay
EFunction Events
Question #30Part 1Plan and implement data platform resources

You have an on-premises datacenter that hosts a 2-TB Microsoft SQL Server 2019 database named DB1. You need to recommend a solution to migrate DB1 to an Azure SQL managed instance. The solution must minimize downtime and administrative effort. What should you include in the recommendation?

ALog Replay Service (LRS)
Blog shipping
Ctransactional replication
DSQL Data Sync
Question #31Part 1Monitor, configure, and optimize database resources

You have an Azure data solution containing an enterprise data warehouse in Azure Synapse Analytics named DW1. Several users run ad hoc queries against DW1 concurrently. You regularly run automated data loads into DW1. You need to ensure the automated data loads have sufficient memory to complete quickly and successfully while the ad hoc queries are running. What should you do?

AAssign a smaller resource class to the automated data load queries.
BCreate sampled statistics to every column in each table of DW1.
CAssign a larger resource class to the automated data load queries.
DHash distribute the large fact tables in DW1 before performing the automated data loads.
Question #32Part 1Implement a secure environment

You must implement authentication for ResearchDB1. The solution must satisfy the security and compliance requirements. What should you run as part of the implementation?

ACREATE LOGIN and the FROM WINDOWS clause
BCREATE USER and the FROM CERTIFICATE clause
CCREATE USER and the FROM LOGIN clause
DCREATE USER and the ASYMMETRIC KEY clause
ECREATE USER and the FROM EXTERNAL PROVIDER clause
Question #33Part 1Monitor, configure, and optimize database resources

You have an Azure SQL Managed Instance that hosts multiple databases. You need to set up alerts for each database using the database's diagnostic telemetry. What should you use?

AAzure SQL Analytics alerts based on metrics
BSQL Health Check alerts based on diagnostics logs
CSQL Health Check alerts based on metrics
DAzure SQL Analytics alerts based on diagnostics logs
Question #34Part 1Implement a secure environmentSelect 2

You are designing a security model for an Azure Synapse Analytics dedicated SQL pool that will serve multiple companies. You must ensure that users from each company can view only their own company's data. Which two objects should be included in the solution? Each correct answer presents part of the solution. &gt; **NOTE:** Each correct selection is worth one point.

Aa column encryption key
Basymmetric keys
Ca function
Da custom role-based access control (RBAC) role
Ea security policy
Question #35Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You have 10 Azure virtual machines with SQL Server installed. You need to implement a backup strategy that enables restoration of individual databases to other SQL Server instances. The solution must provide centralized backup management. What should the backup strategy include?

AAutomated Backup in the SQL virtual machine settings
BAzure Backup
CAzure Site Recovery
DSQL Server Agent jobs
Question #36Part 1Configure and manage automation of tasks

You have a Microsoft SQL Server 2019 database named DB1 and an Azure SQL Managed Instance named SQLMI1. You need to migrate a SQL Server Agent job from DB1 to SQLMI1. Which job attribute is not supported in SQLMI1?

Alog to table
Bemail notifications
Cschedules
Doutput files
Question #37Part 1Monitor, configure, and optimize database resources

You have an Azure SQL database named DB1. You need to show a query's estimated execution plan by using the query editor in the Azure portal. What should you do first?

ARun the SET SHOWPLAN_ALL Transact-SQL statement.
BFor DB1, set QUERY_CAPTURE_MODE of Query Store to All.
CRun the SET FORCEPLAN Transact-SQL statement.
DEnable Query Store for DB1.
Question #38Part 1Plan and implement data platform resources

You have an Azure subscription. You need to deploy a new Azure SQL database by using the Azure Command-Line Interface (CLI). Which three parameters are required?

A--name, --edition, and --capacity
B--name, --tier, and --min-capacity
C--name, --resource-group, and --server
D--name, --licence-type, and --capacity
Question #39Part 1Implement a secure environment

You deploy a SQL Server instance on an Azure Virtual Machine named VM1. You need to create a SQL Server Agent job to rebuild indexes for the databases hosted on VM1. The solution must follow the principle of least privilege. What should you create first?

Aa local Windows account
Ba user-assigned managed identity in Azure AD
Ca system-assigned managed identity in Azure AD
Dan Elastic Job agent
Question #40Part 1Monitor, configure, and optimize database resources

You deploy a SQL Server instance on Azure Virtual Machines named SQL1 that hosts multiple databases. You configure the full recovery model for every database. You perform a full backup of the master database on SQL1. You need to perform an additional backup of the master database on SQL1. The solution must minimize the time required to perform the backup. Which backup type should you perform?

Alog
Bfull
Cdifferential
Dtail-log
Question #41Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

What action should you take after failing over SalesSQLDb1 to ensure that SalesSQLDb1App1 can still access the database?

AConfigure SalesSQLDb1 as writable.
BUpdate the connection strings of SalesSQLDb1App1.
CUpdate the firewall rules of SalesSQLDb1.
DUpdate the users in SalesSQLDb1.
Question #42Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Azure subscription that uses a domain named contoso.com. You have two Azure VMs named DBServer1 and DBServer2, each hosting a default SQL Server instance. DBServer1 is located in the East US Azure region and contains a database named Database

AConfigure the primary endpoint as TCP://DBServer1.contoso.com:445, configure the secondary endpoint as TCP://DBServer2.contoso.com:445, and set the availability mode to Asynchronous.
BConfigure the primary endpoint as TCP://DBServer1.contoso.com:445, configure the secondary endpoint as TCP://DBServer2.contoso.com:445, and set the availability mode to Synchronous.
CConfigure the primary endpoint as TCP://DBServer1.contoso.com:5022, configure the secondary endpoint as TCP://DBServer2.contoso.com:5022, and set the availability mode to Asynchronous.
DConfigure the primary endpoint as TCP://DBServer1.contoso.com:5022, configure the secondary endpoint as TCP://DBServer2.contoso.com:5022, and set the availability mode to Synchronous.
Question #43Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an on-premises application named App1 that stores data in an on-premises Microsoft SQL Server 2019 database named DB1. You plan to deploy additional App1 instances to separate Azure regions. Each region will contain a separate instance of App1 and DB1. The separate instances of DB1 will synchronize by using Azure SQL Data Sync. You need to recommend a database service for the deployment. The solution must minimize administrative effort. What should you include in the recommendation?

AAzure SQL Managed instance
BAzure SQL Database single database
CAzure Database for PostgreSQL
DSQL Server on Azure virtual machines
Question #44Part 1Monitor, configure, and optimize database resources

You have several Azure SQL databases on the same Azure SQL Database server in a resource group called ResourceGroup1. You must receive an alert when CPU utilization exceeds 80 percent for any database. The solution must apply to any additional databases created on the Azure SQL server. Which resource type should you use to create the alert?

AResource Groups
BSQL Servers
CSQL Databases
DSQL Virtual Machines
Question #45Part 1Implement a secure environment

Which audit-log destination should be used to meet the monitoring requirements?

AAzure Storage
BAzure Event Hubs
CAzure Log Analytics
Question #46Part 1Monitor, configure, and optimize database resources

You are designing a date dimension table in an Azure Synapse Analytics dedicated SQL pool. The date dimension table will be used by every fact table. Which distribution type should you recommend to minimize data movement?

AHASH
BREPLICATE
CROUND_ROBIN
Question #47Part 1Monitor, configure, and optimize database resourcesSelect 2

A data engineer is creating a table to store employee data for a new application. All employee names use the US English alphabet. All addresses are in the United States. The data engineer uses the following statement to create the table. ![Question Image](https://cdn.examcademy.com/images/questions/1783790616759-xuocwwgp.png) You need to recommend data-type changes that 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.

AChange Salary to the money data type.
BChange PhoneNumber to the float data type.
CChange LastHireDate to the datetime2(7) data type.
DChange PhoneNumber to the bigint data type.
EChange LastHireDate to the date data type.
Question #48Part 1Monitor, configure, and optimize database resourcesSelect 2

You have an Azure SQL Managed Instance named SQL1 and two Azure web apps, App1 and App2. You need to restrict the number of IOPS generated on SQL1 by queries from App2. Which two actions should you take on SQL1? Each correct answer is part of the solution. NOTE: Each correct selection is worth one point.

AEnable query optimizer fixes.
BEnable Resource Governor.
CEnable parameter sniffing.
DCreate a workload group.
EConfigure In-memory OLTP.
Question #49Part 1Monitor, configure, and optimize database resources

You have an Azure SQL Managed Instance called MI1. You need to configure automatic tuning for MI1's databases. What should you do?

AUse The REST API to call the patch operation and modify the AutomaticTuningServerMode property.
BFrom the Azure portal, configure automatic tuning.
CUse Transact-SQL to enable the FORCE_LAST_GOOD_PLAN option.
Question #50Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Azure SQL database called DB1. You must ensure that DB1 supports automatic failover with no data loss if a datacenter fails, while minimizing costs. Which deployment option and pricing tier should you configure?

AAzure SQL Database Premium
BAzure SQL Database serverless
CAzure SQL Database managed instance General Purpose
DAzure SQL Database Hyperscale
Question #51Part 1Implement a secure environment

You have these resources: - 15 SQL Server instances on Azure Virtual Machines - 20 Azure SQL databases You need to recommend a solution for centrally monitoring the resources for security vulnerabilities. What should you include in the recommendation?

Adatabase audits
BMicrosoft Defender
CSQL insights
DAzure SQL Auditing
Question #52Part 1Implement a secure environment

You intend to deploy an app that contains an Azure SQL database and an Azure web app. The app must meet these requirements: - The web app must be hosted on an Azure virtual network. - The Azure SQL database must receive a private IP address. - The Azure SQL database must permit connections only from one specific virtual network. You need to recommend a solution that satisfies the requirements. What should the recommendation include?

AAzure Private Link
Ba network security group (NSG)
Ca database-level firewall
Da server-level firewall
Question #53Part 1Plan and implement data platform resources

You have an Azure Synapse Analytics Apache Spark pool named Pool1. You plan to load JSON files from an Azure Data Lake Storage Gen2 container into tables in Pool1. The structure and data types differ by file. You need to load the files into the tables while preserving the source data types. What should you do?

ALoad the data by using PySpark.
BLoad the data by using the OPENROWSET Transact-SQL command in an Azure Synapse Analytics serverless SQL pool.
CUse a Get Metadata activity in Azure Data Factory.
DUse a Conditional Split transformation in an Azure Synapse data flow.
Question #54Part 1Monitor, configure, and optimize database resources

You have an Azure subscription. You need to deploy an SQL Server instance on Azure Virtual Machines. The solution must meet these requirements: - Custom performance configuration, including IOPS, capacity, and throughout, must be supported. - Costs must be minimized. Which disk type should be included in the solution?

APremium SSD v2
BPremium SSD
CStandard SSD
DUltra SSD
Question #55Part 1Monitor, configure, and optimize database resources

You have an Azure SQL database named DB1 in the General Purpose service tier. The performance metrics for DB1 are displayed in the following exhibit. ![Question Image](https://cdn.examcademy.com/images/questions/1783831421872-xa0s49nc.png) You need to reduce the Log IO percentage. The solution must minimize costs. What should you do?

AChange Service tier to Business Critical.
BIncrease the number of vCores.
CPerform a checkpoint operation.
DChange Recovery model to Simple.
Question #56Part 1Plan and configure a high availability and disaster recovery (HA/DR) environment

You are updating an existing disaster-recovery solution for an Azure SQL managed instance that has a failover group named FG1. You need to ensure the maximum in-transit time for FG1 when an automatic failover occurs. What should you configure?

Aan availability group
Ba secondary managed instance
Ca failover policy
Da grace period
Question #57Part 1Implement a secure environment

You have an on-premises Microsoft SQL Server 2019 instance named SQL1 that hosts a database named db1. You have an Azure subscription containing an Azure SQL Managed Instance named MI1 and an Azure Storage account named storage1. You plan to migrate db1 to MI1 by using the backup-and-restore process. You need to ensure that you can back up db1 to storage1. The solution must meet these requirements: - Use block blob storage. - Maximize security. What should you do on storage1?

AGenerate a shared access signature (SAS).
BCreate an access policy.
CRotate the storage keys.
DEnable infrastructure encryption.
Question #58Part 1Monitor, configure, and optimize database resources

You have an Azure subscription. You plan to deploy a SQL Server instance on Azure Virtual Machines that supports Write Accelerator. Which virtual machine series should you use?

AE-series
BG-series
CH-series
DM-series
Question #59Part 1Monitor, configure, and optimize database resources

You have an Azure SQL database named SQLDb1 that contains the resources displayed in the following table. ![Question Image](https://cdn.examcademy.com/images/questions/1783829717264-lxdffgwj.png) Column1 stores JSON data. You need to compress Column1 while minimizing the amount of storage used. What should you use?

Athe COMPRESS() function
Bcolumnstore archive compression
Crow compression
Dcolumnstore compression
Question #60Part 1Monitor, configure, and optimize database resources

You are planning a solution that will use Azure SQL Database. Solution usage will peak from October 1 through January 1 each year. During peak usage, the database will require: - 24 cores - 500 GB of storage - 124 GB of memory - More than 50,000 IOPS During off-peak periods, the Azure SQL Database service tier will be set to Standard. Which service tier should you use during peak usage?

ABusiness Critical
BPremium
CHyperscale
Question #61Part 2Implement a secure environment

You are developing an application that uses Azure Data Lake Storage Gen2. You need to recommend a solution that grants permissions to a specific application for a limited period of time. What should you include in the recommendation?

Arole assignments
Baccount keys
Cshared access signatures (SAS)
DAzure Active Directory (Azure AD) identities
Question #62Part 2Implement a secure environment

Solution: You connect to DB1 and execute the following command. You connect to DB2 and execute the following command. Does this solution meet the goal? EXECUTE sp_set_database_firewall_rule ‘Allow db2 users’, ‘131.107.11.0’, ‘131.107.11.255’

AYes
BNo
Question #63Part 2Implement a secure environment

Solution: Connect to the master database of SQL1 and run the following command. ``sql EXECUTE sp_set_firewall_rule ‘Allow db1 and db2 users’, ‘131.107.11.0’, ‘131.107.11.255’ `` Does this meet the goal? EXECUTE sp_set_firewall_rule ‘Allow db1 and db2 users’, ‘131.107.11.0’, ‘131.107.11.255’

AYes
BNo
Question #64Part 2Implement a secure environment

Solution: Connect to DB1 and run the following command. ``sql EXECUTE sp_set_firewall_rule ‘Deny db1 users’, ‘131.107.11.0’, ‘131.107.11.255’ ` Connect to DB2 and run the following command. `sql EXECUTE sp_set_database_firewall_rule ‘Deny db2 users’, ‘131.107.10.0’, ‘131.107.10.255’ `` Does this solution meet the goal? EXECUTE sp_set_firewall_rule ‘Deny db1 users’, ‘131.107.11.0’, ‘131.107.11.255’ EXECUTE sp_set_database_firewall_rule ‘Deny db2 users’, ‘131.107.10.0’, ‘131.107.10.255’

AYes
BNo
Question #65Part 2Monitor, configure, and optimize database resources

You have an Azure SQL database calledsqldb1. You need to reduce the likelihood that Query Store transitions to a read-only state. What should you do?

ADouble the value of Data Flush interval
BDecrease by half the value of Data Flush Interval
CDouble the value of Statistics Collection Interval
DDecrease by half the value of Statistics Collection interval
Question #66Part 2Plan and implement data platform resources

You have an Azure subscription. You need to deploy an Azure SQL database. The solution must satisfy these requirements: - Dynamically scale CPU resources. - Ensure that the database can be paused to reduce costs. What should you use?

Athe Business Critical service tier
Bthe serverless compute tier
Can elastic pool
Dthe General Purpose service tier
Question #67Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Azure SQL database called DB1. You must ensure that DB1 supports automatic failover with no data loss if a datacenter fails. The solution must minimize costs. Which deployment option and pricing tier should you configure?

AAzure SQL Database managed instance General Purpose
BAzure SQL Database Hyperscale
CAzure SQL Database Premium
DAzure SQL Database managed instance Business Critical
Question #68Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: You execute theRemove-AzSqlDatabasePowerShell cmdlet for Database1 on Server2. You then execute theRestore-AzSqlDatabasePowerShell cmdlet for Database1 on Server2. Does this meet the goal?

AYes
BNo
Question #69Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: In the Azure portal, delete Database1 from Server2, then create a new database on Server2 by using the backup of Database1 from Server1. Does this accomplish the goal?

AYes
BNo
Question #70Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: In Microsoft SQL Server Management Studio (SSMS), rename Database1 on Server2 to Database2. In the Azure portal, restore the backup of Database1 from Server1 to create a new database on Server2, and then delete Database2. Does this achieve the goal?

AYes
BNo
Question #71Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: Restore the backup of Database1 from Server1 to Server2 by using the RESTORE Transact-SQL command with the REPLACE option. Does this achieve the goal?

AYes
BNo
Question #72Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

You have SQL Server running on Azure virtual machines in an availability group. You have a database named DB1 that is **not** in the availability group. You create a full database backup of DB1. You need to add DB1 to the availability group. Which restore option should you use on the secondary replica?

ARestore with Recovery
BRestore with Norecovery
CRestore with Standby
Question #73Part 2Configure and manage automation of tasks

You have an Azure SQL Database managed instance named SQLMI1. A Microsoft SQL Server Agent job executes on SQLMI1. You need to ensure that an automatic email notification is sent when the job finishes. What should you include in the solution?

AFrom SQL Server Configuration Manager (SSCM), enable SQL Server Agent
BFrom SQL Server Management Studio (SSMS), run sp_set_sqlagent_properties
CFrom SQL Server Management Studio (SSMS), create a Database Mail profile
DFrom the Azure portal, create an Azure Monitor action group that has an Email/SMS/Push/Voice action
Question #74Part 2Implement a secure environment

You are designing an enterprise data warehouse in Azure Synapse Analytics that will include a table named Customers. Customers will store credit card information. You need to recommend a solution that lets salespeople view every entry in Customers. The solution must prevent every salesperson from viewing or inferring the credit card information. What should you include in the recommendation?

Arow-level security
Bdata masking
CAlways Encrypted
Dcolumn-level security
Question #75Part 2Plan and implement data platform resources

You have an on-premises Microsoft SQL Server 2019 database named SQL1 that uses merge replication. You need to migrate SQL1 to Azure. Which service should you use?

AAzure SQL Edge
BAzure SQL Database
CSQL Server on Azure Virtual Machines
DAzure SQL Managed Instance
Question #76Part 2Plan and implement data platform resources

You have an on-premises Microsoft SQL Server 2022 instance that hosts a 60-TB production database named DB1. You plan to migrate DB1 to Azure. You need to recommend a hosting solution for DB1. Which Azure SQL Database service tier should you use to host DB1?

AHyperscale
BBusiness Critical
CGeneral Purpose
Question #77Part 2Plan and implement data platform resources

You are designing a streaming data solution that will ingest varying volumes of data. You need to ensure that the partition count can be changed after creation. Which service should you use to ingest the data?

AAzure Event Hubs Standard
BAzure Stream Analytics
CAzure Data Factory
DAzure Event Hubs Dedicated
Question #78Part 2Plan and implement data platform resourcesSelect 3

You have an on-premises datacenter containing a 14-TB Microsoft SQL Server database. You plan to create an Azure SQL Managed Instance and migrate the on-premises database to that new instance. Which three service tiers support the SQL Managed Instance? Each correct answer provides a complete solution. &gt; **NOTE:** Each correct selection is worth one point.

AGeneral Purpose Standard
BBusiness Critical Memory Optimized Premium
CGeneral Purpose Premium
DBusiness Critical Premium
EBusiness Critical Standard
Question #79Part 2Monitor, configure, and optimize database resources

You have SQL Server 2019 running on an Azure virtual machine with Windows Server 2019. The virtual machine has 4 vCPUs and 28 GB of memory. You scale up the virtual machine to 8 vCPUs and 64 GB of memory. You need to reduce tempdb contention without adversely affecting server performance. How many secondary data files should you configure for tempdb?

A2
B4
C8
D64
Question #80Part 2Monitor, configure, and optimize database resources

You have an Azure SQL database and identify a long-running query. You need to determine which query operation is causing the performance problem. What should you use in Microsoft SQL Server Management Studio (SSMS) to display the query execution plan?

ALive Query Statistics
Ban estimated execution plan
Can actual execution plan
DClient Statistics
Question #81Part 2Monitor, configure, and optimize database resources

You have an Azure SQL database named db1 on a server called server1. You need to change the MAXDOP settings for db1. What should you do?

AConnect to db1 and run the sp_configure command.
BConnect to the master database of server1 and run the sp_configure command.
CConfigure the extended properties of db1.
DModify the database scoped configuration of db1.
Question #82Part 2Monitor, configure, and optimize database resources

You run SQL Server on an Azure virtual machine. You need to add a 4-TB volume that meets these requirements: - Maximizes IOPs - Uses premium solid-state drives (SSDs) What should you do?

AAttach two mirrored 4-TB SSDs.
BAttach a stripe set that contains four 1-TB SSDs.
CAttach a RAID-5 array that contains five 1-TB SSDs.
DAttach a single 4-TB SSD.
Question #83Part 2Monitor, configure, and optimize database resources

You have an Azure Synapse Analytics dedicated SQL pool. You run PDW_SHOWSPACEUSED('dbo.FactInternetSales'); and receive the results shown in the following table. ![Question Image](https://cdn.examcademy.com/images/questions/1783804915096-bddjh552.png) Which statement correctly describes the dbo.FactInternetSales table?

AThe table contains less than 10,000 rows.
BAll distributions contain data.
CThe table uses round-robin distribution
DThe table is skewed.
Question #84Part 2Configure and manage automation of tasks

You have an Azure subscription that includes the resources displayed in the following table. ![Question Image](https://cdn.examcademy.com/images/questions/1783867458438-6t7do9df.png) You plan to use SQLDB11 as an elastic job database to run jobs against SQLDB11 and SQLDB22. What is the minimum number of database-scoped credentials needed for the elastic jobs?

A1
B2
C3
D4
Question #85Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Azure SQL database called DB1. You must ensure that DB1 supports automatic failover with no data loss if a datacenter fails. The solution must minimize costs. Which deployment option and pricing tier should you configure?

AAzure SQL Database Premium
BAzure SQL Database serverless
CAzure SQL Database Basic
DAzure SQL Database Hyperscale
Question #86Part 2Plan and implement data platform resources

Which service should be used to migrate the PostgreSQL database?

AAzure Data Box
BAzCopy
CAzure Database Migration Service
DAzure Site Recovery
Question #87Part 2Monitor, configure, and optimize database resources

You have an Azure SQL database called DB1. You need to retrieve fragmentation details for the data and indexes of the tables in DB1. Which command should you run?

Asys.dm_db_index_usage_stats
BDBCC CHECKALLOC
CDBCC SHOWCONTIG
Dsts.dm_db_index_physical_stats
Question #88Part 2Monitor, configure, and optimize database resourcesSelect 2

You have SQL Server running on an Azure virtual machine that hosts a database named DB1. DB1 includes a table named CustomerPII. You need to log each time users query the CustomerPII table. Which two options should you enable? Each correct answer represents part of the solution. NOTE: Each correct selection is worth one point.

Aserver audit specification
BSQL Server audit
Cdatabase audit specification
Da server principal
Question #89Part 2Configure and manage automation of tasks

You have a SQL Server instance on Azure Virtual Machines named VM1. You plan to schedule a SQL Server Agent job to rebuild indexes for the databases hosted on VM1. You need to configure the account that the agent will use. The solution must follow the principle of least privilege. Which operating-system user right should you grant to the account?

AIncrease scheduling priority
BLog on as a service
CProfile system performance
DLog on as a batch job
Question #90Part 2Configure and manage automation of tasks

You intend to run batch processing in Azure Databricks once per day. Which Databricks cluster type should you use?

Aautomated
Binteractive
CHigh Concurrency
Question #91Part 2Monitor, configure, and optimize database resources

You have an Azure SQL managed instance. You need to collect the most recent execution of a query plan along with its runtime statistics. The solution must minimize effects on queries that are currently running. What should you do?

AGenerate an estimated execution plan.
BGenerate an actual execution plan.
CRun sys.dm_exec_query_plan_stats.
DGenerate Live Query Statistics.
Question #92Part 2Monitor, configure, and optimize database resources

An Azure SQL managed instance named SQLMI1 hosts 10 databases. You need to implement alerts using Azure Monitor. The solution must meet these requirements: - Minimize costs. - Aggregate Intelligent Insights telemetry from every database. What should you do?

AFrom the Diagnostic settings of each database, select Send to Log Analytics.
BFrom the Diagnostic settings of each database, select Stream to an event hub.
CFrom the Diagnostic settings of SQLMI1, select Send to Log Analytics.
DFrom the Diagnostic settings of SQLMI1, select Stream to an event hub.
Question #93Part 2Monitor, configure, and optimize database resources

You are designing a dimension table in an Azure Synapse Analytics dedicated SQL pool. You need to create a surrogate key for the table. The solution must deliver the fastest query performance. What should you use for the surrogate key?

Aan IDENTITY column
Ba GUID column
Ca sequence object
Question #94Part 2Implement a secure environment

You have a SQL Server instance running on Azure Virtual Machines. You need to ensure that a user named User1 can configure proxy accounts for SQL Server Agent jobs. The solution must follow the principle of least privilege. Which role should you assign to User1?

Asysadmin
BSQLAgentUserRole
CSQLAgentReaderRole
DSQLAgentOperatorRole
Question #95Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

What should be implemented to satisfy the disaster recovery requirements for the PaaS solution?

AAvailability Zones
Bfailover groups
CAlways On availability groups
Dgeo-replication
Question #96Part 2Plan and implement data platform resources

You have an Azure Databricks workspace named workspace1 on the Standard pricing tier. Workspace1 contains an all-purpose cluster named cluster1. You need to decrease the time required for cluster1 to start and scale up. The solution must minimize costs. What should you do first?

AUpgrade workspace1 to the Premium pricing tier.
BConfigure a global init script for workspace1.
CCreate a pool in workspace1.
DCreate a cluster policy in workspace1.
Question #97Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

You plan to deploy two SQL Server instances on Azure virtual machines in a highly available configuration that uses an Always On availability group. You need to recommend a deployment solution that meets these requirements: - Provides a Service Level Agreement (SLA) of at least 99.95% - Replicates databases within the same group synchronously - Minimizes database-write latency What should you recommend?

ACreate two proximity groups and two availability sets. Deploy each virtual machine to a unique availability set. Add one virtual machine to each proximity group.
BCreate a proximity group and an availability set. Deploy each virtual machine to the availability set. Add both virtual machines to the proximity group.
CCreate a proximity group and two availability sets. Deploy each virtual machine to a unique availability set. Add both virtual machines to the proximity group.
DCreate two proximity groups and a single availability set. Deploy both virtual machines to the availability set. Add one virtual machine to each proximity group.
Question #98Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: You deploy an Azure SQL database using the Business Critical service tier and Availability Zones. Does this satisfy the goal?

AYes
BNo
Question #99Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: You deploy an Azure SQL database that uses the General Purpose service tier and failover groups. Does this satisfy the goal?

AYes
BNo
Question #100Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

Solution: You deploy an Azure SQL Database that uses the General Purpose service tier and geo-replication. Does this fulfill the goal?

AYes
BNo
Question #101Part 2Implement a secure environment

You have an Azure Databricks resource. You need to log actions related to changes in compute for the Databricks resource. Which Databricks service should you log?

Aclusters
Bjobs
CDBFS
DSSH
Eworkspace
Question #102Part 2Plan and implement data platform resources

You have an Azure Data Factory that includes 10 pipelines. You need to label every pipeline by its primary purpose: ingest, transform, or load. The labels must be available for grouping and filtering in the Data Factory monitoring experience. What should you add to each pipeline?

Aan annotation
Ba resource tag
Ca run group ID
Da user property
Ea correlation ID
Question #103Part 2Plan and configure a high availability and disaster recovery (HA/DR) environment

You have an Azure SQL database named DB1. You must ensure that DB1 supports automatic failover with no data loss if a datacenter fails, while minimizing costs. Which deployment option and pricing tier should you configure?

AAzure SQL Database Premium
BAzure SQL Database serverless
CAzure SQL Database Basic
DAzure SQL Database Standard
Question #104Part 2Implement a secure environment

You create five Azure SQL Database instances on the same logical server. In every database, you create a user for an Azure Active Directory (Azure AD) user named User1. User1 tries to connect to the logical server by using Azure Data Studio and receives a login error. You need to ensure that, when User1 connects to the logical server by using Azure Data Studio, User1 can view all the databases. What should you do?

ACreate User1 in the master database.
BAssign User1 the db_datareader role for the master database.
CAssign User1 the db_datareader role for the databases that User1 creates.
DGrant SELECT on sys.databases to public in the master database.
Question #105Part 2Monitor, configure, and optimize database resources

You have an Azure subscription containing an Azure SQL database. The database has a table named table1. You run the following Transact-SQL statements. ![Question Image](https://cdn.examcademy.com/images/questions/1783831425829-k2k0e5ri.png) You need to decrease the time required to run analytic queries on the database. Which configuration should you enable?

AROW_MODE_MEMORY_GRANT_FEEDBACK
BBATCH_MODE_MEMORY_GRANT_FEEDBACK
CBATCH_MODE_ADAPTIVE_JOINS
DBATCH_MODE_ON_ROWSTORE
Question #106Part 2Plan and implement data platform resources

You have an on-premises Microsoft SQL Server that uses the FileTables and FILESTREAM features. You plan to migrate it to Azure SQL. Which service should you use?

AAzure SQL Database
BSQL Server on an Azure Virtual Machine
CAzure SQL Managed Instance
DAzure Database for MySQL

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!