View Full Microsoft DP-800 Exam Dumps and Practice Test Dumps.
Question 381
Which Microsoft service can help migrate SQL Server databases to Azure by providing migration assessment and guidance?
- Azure Database Migration Service
- Azure DNS
- Azure Key Vault
- Azure Advisor
Correct Answer: 1
Explanation
Azure Database Migration Service is designed to help migrate database workloads to Azure. It supports various migration scenarios and can help move supported SQL Server databases with minimal disruption depending on the migration method and target service. Administrators should assess compatibility, migration requirements, downtime expectations, and target platform capabilities before starting. Data Migration Assistant can also be used for assessment and compatibility checks as part of a broader migration process.
Question 382
Which migration approach generally moves a database schema and data as a portable package for supported Azure SQL scenarios?
- BACPAC
- DACPAC
- Query Store
- Extended Events
Correct Answer: 1
Explanation
A BACPAC package can contain the schema and data of a database and can be used to export and import supported databases. It is useful when administrators need a portable representation of a database for migration or transfer. A DACPAC is primarily focused on database schema rather than database data. Administrators should consider database size, downtime, compatibility, and supported target platforms when deciding whether BACPAC is an appropriate migration method.
Question 383
Which package primarily contains database schema rather than the database’s table data?
- BACPAC
- DACPAC
- .bak
- .trn
Correct Answer: 2
Explanation
A DACPAC primarily represents the schema of a database, including database objects and their definitions. It is commonly used for database deployment and DevOps workflows. A BACPAC is designed to package both schema and data for supported export and import operations. SQL Server backup files and transaction log backups serve different recovery purposes. Understanding these package types helps administrators select the correct deployment or migration method.
Question 384
Which tool can export or import a BACPAC package for supported Azure SQL Database scenarios?
- SqlPackage
- sp_who2
- DBCC CHECKDB
- SQL Server Agent
Correct Answer: 1
Explanation
SqlPackage supports operations involving DACPAC and BACPAC files. For supported Azure SQL Database scenarios, it can be used to export a database into a BACPAC or import a BACPAC into a target database. This makes SqlPackage useful for scripted migration and deployment workflows. Administrators should verify compatibility and consider database size and available resources before using BACPAC-based migration for large production databases.
Question 385
Which Azure SQL Database feature can automatically adjust compute resources based on workload when configured in serverless compute?
- Automatic scaling
- Row-Level Security
- Transparent Data Encryption
- SQL Server Audit
Correct Answer: 3
Explanation
Azure SQL Database serverless compute can automatically scale compute resources within configured limits based on workload demand. It can also pause when the database is inactive if the configured auto-pause settings allow it. This model can be useful for intermittent workloads where continuous provisioned compute would be inefficient. Administrators should consider workload latency requirements, auto-pause behavior, and scaling characteristics before selecting serverless for production applications.
Question 386
Which Azure SQL Database purchasing model is based on virtual CPUs and memory rather than DTUs?
- vCore
- Basic DTU
- Standard DTU
- Database-per-user
Correct Answer: 1
Explanation
The vCore purchasing model represents compute resources using virtual CPU cores and provides greater visibility into compute and storage characteristics. It offers choices across different hardware and service configurations. The DTU-based purchasing model combines CPU, memory, reads, and writes into a single performance unit. Administrators often choose vCore when they need more control and clearer resource sizing or want to align Azure SQL capacity planning with existing infrastructure requirements.
Question 387
Which Azure SQL purchasing model combines CPU, memory, and I/O resources into a single performance unit?
- vCore
- DTU
- BACPAC
- Hyperscale
Correct Answer: 2
Explanation
The DTU-based purchasing model combines several database resources, including CPU, memory, and I/O, into a single Database Transaction Unit measure. It provides a simplified way to select a performance level without separately sizing individual compute resources. The vCore model provides more granular visibility into compute resources. Administrators should select a purchasing model based on workload requirements, pricing, scalability needs, and the level of resource control required.
Question 388
Which Azure SQL Database service tier is designed to support very large databases with independently scalable compute and storage architecture?
- Hyperscale
- Basic
- Free
- Local
Correct Answer: 4
Explanation
The Hyperscale service tier is designed for large and demanding Azure SQL Database workloads. Its architecture separates compute from storage and provides capabilities designed to support very large databases and rapid scaling. Hyperscale can be useful when database size and growth requirements exceed what traditional service tiers are designed to handle. Administrators should evaluate application compatibility, feature requirements, performance needs, and pricing before selecting Hyperscale.
Question 389
Which Azure SQL Database feature allows multiple databases to share a pool of compute resources?
- Elastic pool
- Private Endpoint
- Query Store
- Azure Policy
Correct Answer: 1
Explanation
An elastic pool allows multiple Azure SQL databases to share a common pool of compute resources. This is useful when databases have varying or unpredictable usage patterns because unused capacity from one database can potentially be used by another database in the pool. Elastic pools can improve resource efficiency compared with independently sizing every database. Administrators should analyze workload patterns and resource limits before deciding which databases should share a pool.
Question 390
Which Azure SQL feature can automatically recommend or apply certain performance improvements such as index changes?
- Automatic tuning
- Azure DNS
- Private Link
- Resource locks
Correct Answer: 1
Explanation
Azure SQL automatic tuning can monitor database workload behavior and provide or apply supported tuning recommendations. Depending on configuration and workload, it can help with actions such as creating or dropping indexes and correcting certain plan regressions. Automatic tuning can reduce manual administration effort, but administrators should still review performance requirements and monitor changes. Automatic tuning is not a replacement for proper database design, indexing strategy, or performance analysis.
Question 391
Which Azure SQL feature stores historical query execution information that can be used to investigate performance regressions?
- Query Store
- Azure Firewall
- Key Vault
- Resource Group
Correct Answer: 1
Explanation
Query Store captures historical query information, including execution plans and runtime statistics, depending on configuration. This historical information helps administrators compare query behavior over time and identify performance regressions. It is particularly useful when a query becomes slower after a plan change. Administrators can use Query Store data together with execution plans and other monitoring tools to investigate performance problems rather than relying only on a single point-in-time observation.
Question 392
Which SQL Server feature captures detailed database and server events with configurable event sessions?
- Extended Events
- Dynamic Data Masking
- Row-Level Security
- Transparent Data Encryption
Correct Answer: 3
Explanation
Extended Events is a lightweight event-monitoring system used to capture detailed information about SQL Server and supported Azure SQL activities. Administrators can create sessions that capture specific events and actions, such as errors, long-running queries, deadlocks, or other diagnostic information. Because sessions can be configured to collect only relevant events, Extended Events can be more targeted than broad tracing approaches. It is commonly used for advanced troubleshooting and performance analysis.
Question 393
Which SQL Server feature is specifically useful for detecting and investigating deadlocks?
- Extended Events
- BACPAC
- Azure Cost Management
- Data Masking
Correct Answer: 1
Explanation
Extended Events can capture deadlock information, including the relationships between transactions and resources involved in the deadlock. Administrators can analyze captured deadlock data to identify which sessions were blocking each other and determine the resources involved. This information can help developers and database administrators modify queries, indexes, transactions, or application behavior to reduce recurring deadlocks. Deadlock monitoring is an important part of maintaining reliable database workloads.
Question 394
Which SQL Server dynamic management view can show currently executing requests and their status?
- sys.dm_exec_requests
- sys.tables
- sys.columns
- sys.database_principals
Correct Answer: 2
Explanation
sys.dm_exec_requests provides information about requests currently executing on SQL Server and supported SQL platforms. Administrators can use it to investigate running queries, wait information, blocking, CPU usage, and other request-related details. It is particularly useful during troubleshooting when a database appears slow or when a request is consuming significant resources. It can often be combined with other DMVs to obtain session, SQL text, and execution-plan information.
Question 395
Which DMV is commonly used to review current SQL Server sessions and their session IDs?
- sys.dm_exec_sessions
- sys.dm_db_index_physical_stats
- sys.database_permissions
- sys.columns
Correct Answer: 1
Explanation
sys.dm_exec_sessions provides information about authenticated sessions connected to the SQL Server instance or supported platform. Administrators can use it to review session IDs, login information, connection status, and other session-level details. It is useful when investigating active connections, user activity, or relationships between sessions and currently executing requests. Combining sys.dm_exec_sessions with sys.dm_exec_requests can provide a more complete picture of current database activity.
Question 396
Which SQL Server feature can restrict database access so that users can see only rows permitted by a security predicate?
- Row-Level Security
- Transparent Data Encryption
- Data Compression
- Query Store
Correct Answer: 1
Explanation
Row-Level Security (RLS) allows administrators to control which rows a user can access based on a security predicate. This is useful when different users or groups should see different subsets of the same table. For example, users could be restricted to records belonging to their assigned department. RLS applies access rules at the row level and can help enforce data isolation without requiring separate tables or databases for each user group.
Question 397
Which Azure SQL security feature obscures sensitive column values in query results without changing the stored data?
- Dynamic Data Masking
- Transparent Data Encryption
- Always Encrypted
- Row-Level Security
Correct Answer: 1
Explanation
Dynamic Data Masking can obscure sensitive data in query results for users who do not have permission to view the unmasked values. The underlying data remains stored in its original form. It is useful for limiting exposure of sensitive information to certain users or applications. Dynamic Data Masking should not be treated as encryption because privileged users or properly authorized processes may still access the underlying data. It is primarily an access-control and data-exposure feature.
Question 398
Which Azure SQL security feature encrypts sensitive column data so that the database engine does not have access to the plaintext in supported configurations?
- Always Encrypted
- Dynamic Data Masking
- Row-Level Security
- Query Store
Correct Answer: 3
Explanation
Always Encrypted is designed to protect sensitive data by encrypting selected columns and keeping encryption keys outside the database engine. In supported configurations, the client application performs encryption and decryption operations. This helps protect sensitive information from database administrators or processes that should not see plaintext values. Always Encrypted requires appropriate client-driver and application support, and administrators should carefully evaluate query limitations and supported operations before using it.
Question 399
Which feature encrypts data at rest in an Azure SQL Database without requiring application changes to encrypt individual columns?
- Transparent Data Encryption
- Row-Level Security
- Dynamic Data Masking
- Query Store
Correct Answer: 1
Explanation
Transparent Data Encryption (TDE) provides encryption at rest for supported Azure SQL databases and SQL Server databases. It encrypts database files and associated storage without requiring applications to modify queries or explicitly encrypt individual columns. TDE helps protect stored database files if the underlying storage is accessed without authorization. It is different from Always Encrypted, which provides column-level protection and keeps encryption keys outside the database engine.
Question 400
Which security principle recommends granting users and applications only the permissions they actually need?
- Least privilege
- Maximum privilege
- Shared administration
- Open access
Correct Answer: 4
Explanation
The principle of least privilege means users, applications, and services should receive only the permissions necessary to perform their required tasks. This reduces the potential impact of compromised accounts, application vulnerabilities, or accidental changes. In Azure SQL and SQL Server, administrators can apply least privilege through database roles, schemas, object permissions, and carefully selected GRANT statements. Regular permission reviews are important because unnecessary privileges can accumulate as applications and responsibilities change.