Courseiva
Implement a secure environmentmediumMultiple SelectObjective-mapped

DP-300 Implement a secure environment Practice Question

You manage an Azure SQL Database that is accessed by several applications. You need to implement the principle of least privilege for database access. Which three actions should you take? (Choose three.)

⚠ Common exam trap

Watch out — candidates often confuse network security controls (firewall rules) with database access controls, or assume that built-in roles like db_datareader are acceptable for least privilege, when in fact they grant excessive permissions.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create contained database users instead of server-level logins.

Contained database users are authenticated directly within the database, independent of the server-level logins. This aligns with the principle of least privilege by avoiding the need for server-level permissions, which would grant broader access across the server. In Azure SQL Database, contained users are the recommended approach for database-level access control, as they limit the blast radius of a compromised credential to a single database.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create contained database users instead of server-level logins.

    Why this is correct

    Contained users reduce server-level privilege.

  • Assign users to custom database roles with specific permissions.

    Why this is correct

    Custom roles allow fine-grained access control.

  • Add users to the db_datareader role.

    Why it's wrong here

    db_datareader gives read access to all tables, which may be too broad.

  • Configure firewall rules to restrict IP addresses.

    Why it's wrong here

    Firewall rules control network access, not database permissions.

  • Grant permissions at the object level (e.g., SELECT on specific tables) rather than at the schema level.

    Why this is correct

    Object-level permissions minimize excessive access.

Quick reference

AAA Protocol Comparison

ProtocolPort(s)EncryptionTransportPrimary Use
RADIUS1812 / 1813Password onlyUDPNetwork access control
TACACS+49Full packetTCPDevice administration
Diameter3868Full sessionTCP / SCTPCarrier / mobile networks
802.1XEAP-basedLayer 2Port-based access control

TACACS+ encrypts the entire packet; RADIUS only encrypts the password field — a key exam distinction.

About these practice questions

One of 906 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.