{"id":13211,"date":"2026-09-16T06:59:39","date_gmt":"2026-09-16T06:59:39","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=13211"},"modified":"2026-09-16T06:59:39","modified_gmt":"2026-09-16T06:59:39","slug":"microsoft-dp-300-practice-test-questions-and-exam-dumps-part-20-q381-400","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/microsoft-dp-300-practice-test-questions-and-exam-dumps-part-20-q381-400\/","title":{"rendered":"Microsoft DP-300 Practice Test Questions and Exam Dumps Part 20 Q381-400"},"content":{"rendered":"<h1><\/h1>\n<p><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/dp-300-exam-dumps\"><b>Microsoft DP-300 Exam Dumps<\/b><\/a><b> and Practice Test Dumps<\/b><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Question 381. Which Query Store feature allows an administrator to associate a query with a specific execution plan?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Plan forcing<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Data masking<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Row-level security<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Backup compression<\/span><\/p>\n<p><b>Answer: 1) Plan forcing<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Query Store plan forcing allows an administrator to instruct the query optimizer to use a selected execution plan for a particular query. This can be useful when a query has experienced a performance regression after a plan change. Before forcing a plan, administrators should investigate the workload and understand why the optimizer selected the newer plan. Plan forcing is a performance-management capability and does not permanently prevent future plan changes in every circumstance. Data masking, row-level security, and backup compression address data protection or storage rather than execution-plan management.<\/span><\/p>\n<h3><b>Question 382. Which stored procedure can be used to configure a Query Store hint for a query?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> sp_query_store_set_hints<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> sp_addrolemember<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> sp_configure_backup<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> sp_database_firewall<\/span><\/p>\n<p><b>Answer: 1) sp_query_store_set_hints<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The sp_query_store_set_hints stored procedure is used to apply a Query Store hint to a specific query. Query Store hints allow administrators to influence optimizer behavior without modifying the application code or directly changing the query text. Depending on the supported hint, administrators can address certain performance scenarios by controlling selected query-optimization behaviors. Query Store hints should be applied carefully because inappropriate hints can negatively affect performance. The other procedures listed are not valid mechanisms for configuring Query Store hints. Query Store provides the historical information needed to identify queries that may require investigation.<\/span><\/p>\n<h3><b>Question 383. What is a common symptom of parameter sniffing in SQL Server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> A query performs differently depending on the parameter values used<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> A database cannot be backed up<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> A firewall rule disappears<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Encryption keys are automatically deleted<\/span><\/p>\n<p><b>Answer: 1) A query performs differently depending on the parameter values used<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Parameter sniffing occurs when SQL Server creates an execution plan based on parameter values encountered during compilation and later reuses that plan for different parameter values. If data distribution is uneven, a plan that works efficiently for one parameter value may perform poorly for another. This can result in inconsistent query performance. Administrators can investigate execution plans, Query Store history, statistics, and workload characteristics when diagnosing the issue. Parameter sniffing is a query-optimization behavior rather than a backup, networking, or encryption problem. Possible remedies depend on the specific workload and should be tested carefully.<\/span><\/p>\n<h3><b>Question 384. Which SQL Server option can reduce compilation overhead for workloads that execute many single-use ad hoc queries?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Optimize for ad hoc workloads<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Transparent Data Encryption<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Database Mail<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Row-Level Security<\/span><\/p>\n<p><b>Answer: 1) Optimize for ad hoc workloads<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The optimize for ad hoc workloads configuration option can help reduce the memory used by cached plans for workloads containing many single-use ad hoc queries. When enabled, SQL Server can initially store a smaller compiled-plan stub instead of the complete plan for certain ad hoc queries. If the query is executed again, SQL Server can then store the full compiled plan. This can be useful in environments where plan cache memory is being consumed by large numbers of single-use statements. The option does not control encryption, email notifications, or row-level access restrictions.<\/span><\/p>\n<h3><b>Question 385. What is the primary purpose of a plan guide in SQL Server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> To influence query optimization without changing the query text<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> To create database backups<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> To configure Azure firewall rules<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> To encrypt transaction logs<\/span><\/p>\n<p><b>Answer: 1) To influence query optimization without changing the query text<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A plan guide allows administrators to influence how SQL Server optimizes a query without modifying the application&#8217;s query text. It can associate hints or other optimization behavior with matching queries, which can be useful when changing application code is difficult or impractical. Plan guides should be used carefully because they can affect execution-plan selection and may become unnecessary after application or database changes. Administrators should monitor their effectiveness over time. Plan guides are unrelated to backup creation, Azure firewall configuration, or transaction-log encryption.<\/span><\/p>\n<h3><b>Question 386. Which technique can help prevent excessive recompilation of a stored procedure when appropriate?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Appropriate plan and procedure design<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Disabling all indexes<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Removing all statistics<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Disabling transaction logging<\/span><\/p>\n<p><b>Answer: 1) Appropriate plan and procedure design<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Stored procedure recompilation can occur for several legitimate reasons, but unnecessary recompilation may increase CPU usage because SQL Server must repeatedly compile execution plans. Administrators can investigate recompilation causes through performance monitoring and execution-plan analysis. Appropriate procedure design, stable parameter usage, suitable indexing, and carefully selected recompilation options can help manage this behavior. Recompilation is not inherently harmful because a new plan can sometimes be beneficial when data or workload characteristics change. Disabling indexes, removing statistics, or disabling transaction logging are not appropriate general solutions and can create other performance or recovery problems.<\/span><\/p>\n<h3><b>Question 387. What is ownership chaining in SQL Server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> A mechanism that can allow access through related objects without separate permissions on every underlying object<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> A backup retention policy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> A database encryption method<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> A network routing mechanism<\/span><\/p>\n<p><b>Answer: 1) A mechanism that can allow access through related objects without separate permissions on every underlying object<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Ownership chaining occurs when SQL Server objects such as stored procedures and tables have the same owner and a permission check can be avoided on the referenced object as part of the chain. This can simplify application security because users may receive permission to execute a stored procedure without receiving direct permissions on every table accessed by that procedure. Ownership chaining must be designed carefully because it affects how permissions flow between objects. It is not a backup, encryption, or network-routing mechanism. Understanding ownership relationships is important when implementing least-privilege database security.<\/span><\/p>\n<h3><b>Question 388. What is the purpose of an application role in SQL Server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> To provide permissions based on an application-defined security context<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> To automatically rebuild indexes<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> To create database backups<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> To configure Azure regions<\/span><\/p>\n<p><b>Answer: 1) To provide permissions based on an application-defined security context<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An application role allows a database application to activate a specific database security context and use the permissions assigned to that role. This can help applications enforce a defined set of database permissions independently of the permissions associated with the individual user&#8217;s normal database access. Application roles should be designed carefully because activating one changes the security context used by subsequent database operations within the connection. They are useful when applications need controlled access to database resources. Application roles do not perform backup, index maintenance, or Azure-region configuration tasks.<\/span><\/p>\n<h3><b>Question 389. Which statement correctly describes a database role?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> It groups database principals so permissions can be managed collectively<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> It automatically creates database backups<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> It represents a physical database server<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> It stores transaction log files<\/span><\/p>\n<p><b>Answer: 1) It groups database principals so permissions can be managed collectively<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A database role is a security principal that can contain users or other database principals and receive permissions as a group. Instead of granting the same permissions individually to many users, administrators can assign permissions to a role and then add appropriate users to that role. This simplifies permission management and supports the principle of least privilege when roles are carefully designed. Database roles are logical security objects and do not represent physical servers or storage structures. They also do not automatically create backups or store transaction logs.<\/span><\/p>\n<h3><b>Question 390. What is a securable in SQL Server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> A resource to which permissions can be granted or denied<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> A backup compression algorithm<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> A database monitoring alert<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> A physical network cable<\/span><\/p>\n<p><b>Answer: 1) A resource to which permissions can be granted or denied<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A securable is a SQL Server resource that can be protected through the permission system. Examples include databases, schemas, tables, views, stored procedures, and other objects. Administrators grant, deny, or revoke permissions on securables to control which principals can perform specific actions. Understanding securables is essential when designing database security because permissions can be assigned at different levels of the object hierarchy. Securables are unrelated to backup compression or physical networking. Effective security administration requires identifying the appropriate securable and granting only the permissions necessary for the user&#8217;s or application&#8217;s responsibilities.<\/span><\/p>\n<h3><b>Question 391. Which permission statement grants users SELECT access to all current and future tables within a schema?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> GRANT SELECT ON SCHEMA::Sales TO User1<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> GRANT BACKUP ON DATABASE::Sales TO User1<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> GRANT SELECT ON SERVER::Sales TO User1<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> GRANT TABLE ON DATABASE::Sales TO User1<\/span><\/p>\n<p><b>Answer: 1) GRANT SELECT ON SCHEMA::Sales TO User1<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Granting SELECT permission on a schema provides access to the appropriate securables within that schema, including tables and views to which the permission applies. Schema-level permissions can simplify administration when many objects require consistent access controls. They can also apply to objects added to the schema later, reducing the need to grant permissions individually each time a new object is created. Administrators should still ensure that the schema contains only objects appropriate for the intended users. The other statements use invalid or inappropriate permission syntax and do not provide the required schema-level access.<\/span><\/p>\n<h3><b>Question 392. What is cross-database ownership chaining used for?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> It can allow permissions to flow between objects in different databases under supported ownership conditions<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> It automatically copies databases to another region<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> It encrypts every database backup<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> It controls Azure DNS records<\/span><\/p>\n<p><b>Answer: 1) It can allow permissions to flow between objects in different databases under supported ownership conditions<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Cross-database ownership chaining extends ownership-chaining behavior across database boundaries under supported conditions. When ownership and security requirements are satisfied, a user executing an object in one database may access referenced objects in another database without receiving direct permissions on those underlying objects. Because this behavior can affect security boundaries, administrators should evaluate whether it is appropriate for the environment. It should not be enabled or relied upon without understanding the security implications. Cross-database ownership chaining does not replicate databases, encrypt backups, or manage Azure DNS.<\/span><\/p>\n<h3><b>Question 393. Which authentication method uses a SQL Server-defined username and password?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> SQL authentication<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Microsoft Entra authentication<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Certificate-only authentication<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Azure Storage authentication<\/span><\/p>\n<p><b>Answer: 1) SQL authentication<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">SQL authentication uses a SQL Server login configured with a username and password managed by SQL Server. It differs from Microsoft Entra authentication, where identity management is handled through Microsoft Entra ID. SQL authentication can be useful for applications or environments where SQL logins are required, but administrators should protect credentials carefully and follow organizational security policies. Strong passwords, appropriate permissions, secure connection settings, and monitoring remain important. SQL authentication is an identity mechanism and does not determine database backup behavior, encryption settings, or network routing.<\/span><\/p>\n<h3><b>Question 394. What is the role of the Microsoft Entra administrator for an Azure SQL logical server?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> It establishes an initial Microsoft Entra administrative identity for the server<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> It automatically creates all database indexes<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> It controls backup compression<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> It configures storage redundancy for every database<\/span><\/p>\n<p><b>Answer: 1) It establishes an initial Microsoft Entra administrative identity for the server<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Microsoft Entra administrator provides an identity that can administer Azure SQL resources using Microsoft Entra authentication. Configuring this administrator is an important step when organizations want to use Microsoft Entra-based access rather than relying only on SQL authentication. After authentication is established, database administrators can create appropriate Microsoft Entra users or principals and assign permissions according to organizational requirements. The Microsoft Entra administrator setting does not automatically manage indexes, backup compression, or storage redundancy. Those functions are handled through separate database-management and Azure configuration capabilities.<\/span><\/p>\n<h3><b>Question 395. Which identity is commonly used by an Azure-hosted application when passwordless access to Azure SQL is required?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Managed identity<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> FTP account<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Local printer account<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Anonymous user<\/span><\/p>\n<p><b>Answer: 1) Managed identity<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A managed identity provides an Azure-managed identity that applications can use to authenticate to supported Azure services without storing credentials such as passwords or client secrets in application configuration. For Azure SQL scenarios, a managed identity can be granted appropriate database permissions and used by an application to obtain an authentication token. This approach can reduce credential-management overhead and improve security when configured correctly. Administrators still need to create the appropriate database principal and permissions. Managed identities are different from FTP accounts, local system accounts, and anonymous access.<\/span><\/p>\n<h3><b>Question 396. Which Azure SQL networking feature provides a private IP address for accessing a database through an Azure virtual network?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Private endpoint<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Public DNS record only<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Database role<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Query Store<\/span><\/p>\n<p><b>Answer: 1) Private endpoint<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An Azure Private Endpoint provides a private network interface with a private IP address for accessing supported Azure services through an Azure virtual network. For Azure SQL Database, this can allow clients in connected networks to communicate with the database service without relying on a public endpoint for the database connection path. Private endpoints are commonly used with private DNS configuration so that the service hostname resolves appropriately within the private network. A database role controls permissions, Query Store manages query-performance history, and public DNS alone does not create a private network connection.<\/span><\/p>\n<h3><b>Question 397. What is the purpose of a private DNS zone when using an Azure SQL private endpoint?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> To resolve the database service name to the private endpoint address<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> To create SQL Server logins<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> To encrypt transaction logs<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> To rebuild database indexes<\/span><\/p>\n<p><b>Answer: 1) To resolve the database service name to the private endpoint address<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A private DNS zone can provide name resolution for resources accessed through private endpoints. When configured correctly, the database service hostname can resolve to the private IP address associated with the private endpoint rather than directing clients toward a public endpoint. This helps applications continue using the expected service hostname while network traffic follows the private connectivity path. DNS configuration is therefore an important part of private-endpoint deployments. Private DNS does not create database users, encrypt transaction logs, or perform index maintenance; those functions belong to separate database services and security mechanisms.<\/span><\/p>\n<h3><b>Question 398. What is a key difference between an Azure SQL private endpoint and a service endpoint?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> A private endpoint provides a private IP address for the Azure service connection<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> A service endpoint creates a database user automatically<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> A private endpoint disables authentication<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> A service endpoint encrypts all database columns<\/span><\/p>\n<p><b>Answer: 1) A private endpoint provides a private IP address for the Azure service connection<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A private endpoint uses a private IP address from an Azure virtual network to provide private connectivity to a supported Azure service. A service endpoint, by contrast, extends the identity of a virtual network to the Azure service through Azure networking while the service continues to use its service endpoint addressing model. The two approaches have different networking characteristics and security designs. Administrators should choose based on connectivity, network architecture, and security requirements. Neither networking feature automatically creates database users or replaces database-level authentication and authorization controls.<\/span><\/p>\n<h3><b>Question 399. Which feature can help restrict Azure SQL Database access based on client network addresses?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Firewall rules<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Query Store<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Column statistics<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Database triggers<\/span><\/p>\n<p><b>Answer: 1) Firewall rules<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Azure SQL Database firewall rules control which client network addresses are permitted to establish connections to the logical server or database, depending on the supported firewall configuration. Administrators can define allowed IP address ranges according to the organization&#8217;s connectivity requirements. Firewall rules are a network-level security control and should be combined with authentication and authorization rather than treated as a replacement for them. Query Store focuses on query performance, statistics support optimization, and triggers automate database responses to data events. These features do not provide the same network access-control function.<\/span><\/p>\n<h3><b>Question 400. Which security principle recommends granting users only the permissions required to perform their assigned tasks?<\/b><\/h3>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Principle of least privilege<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Maximum privilege principle<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Open access principle<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Unlimited delegation principle<\/span><\/p>\n<p><b>Answer: 1) Principle of least privilege<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The principle of least privilege recommends giving users, applications, and services only the permissions necessary to perform their required tasks. In SQL Server and Azure SQL environments, administrators can implement this principle through database roles, object-level permissions, schema-level permissions, Microsoft Entra identities, and carefully controlled administrative roles. Limiting unnecessary privileges reduces the potential impact of compromised credentials or accidental operations. Least privilege should be reviewed periodically as responsibilities change. It works alongside other controls such as authentication, encryption, auditing, network restrictions, and monitoring to create a layered database security approach.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full Microsoft DP-300 Exam Dumps and Practice Test Dumps &nbsp; Question 381. Which Query Store feature allows an administrator to associate a query with a specific execution plan? 1) Plan forcing 2) Data masking 3) Row-level security 4) Backup compression Answer: 1) Plan forcing Explanation: Query Store plan forcing allows an administrator to instruct [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/13211"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=13211"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/13211\/revisions"}],"predecessor-version":[{"id":13216,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/13211\/revisions\/13216"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=13211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=13211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=13211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}