Question 199 of 966
Prepare the datamediumMultiple SelectObjective-mapped

Quick Answer

The answer is to use a managed identity for the Power BI service, a service principal with Microsoft Entra ID, and token-based authentication. These three options are the most secure because they eliminate static credentials like usernames and passwords, instead relying on Microsoft Entra ID tokens that are automatically rotated and scoped with fine-grained permissions. This approach prevents credential exposure and aligns with zero-trust security principles for Power BI and Azure SQL Database connections. On the PL-300 exam, this concept tests your understanding of secure authentication methods in cloud environments, often appearing in scenario-based questions where you must choose between shared secrets, OAuth, or managed identities. A common trap is selecting interactive authentication or SQL logins, which are less secure for automated service connections. Remember the mnemonic “MST” for Managed identity, Service principal, and Token-based—these three always beat passwords for secure, non-interactive access.

PL-300 Prepare the data Practice Question

This PL-300 practice question tests your understanding of prepare the data. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are connecting Power BI to an Azure SQL Database. You need to ensure that the connection uses the most secure authentication method available. Which THREE options should you consider? (Choose three.)

Question 1mediummulti select
Full question →

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

Use a service principal with Microsoft Entra ID.

Option C is correct because using a service principal with Microsoft Entra ID (formerly Azure AD) enables token-based authentication for Power BI to Azure SQL Database, which is more secure than shared secrets or passwords. Service principals are non-interactive identities that can be granted fine-grained permissions, eliminating the need to store credentials and reducing the risk of credential exposure.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Use Windows authentication.

    Why it's wrong here

    Windows authentication is not supported for Azure SQL Database.

  • Use SQL Server authentication with a strong password.

    Why it's wrong here

    SQL authentication is less secure than Microsoft Entra ID authentication.

  • Use a service principal with Microsoft Entra ID.

    Why this is correct

    Service principals are used for automated scenarios and are secure.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use Microsoft Entra ID (formerly Azure AD) authentication.

    Why this is correct

    Microsoft Entra ID authentication is more secure than SQL authentication.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use a managed identity for the Power BI service.

    Why this is correct

    Managed identities provide a secure way to access Azure resources without storing credentials.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume Windows authentication is the most secure option for Azure SQL Database, but it is not supported in Azure; the correct secure methods rely on Microsoft Entra ID tokens, service principals, or managed identities.

Detailed technical explanation

How to think about this question

Managed identities (Option E) and service principals (Option C) both leverage OAuth 2.0 token exchange with Microsoft Entra ID, but managed identities are automatically managed by Azure and tied to a specific resource (e.g., Power BI service), eliminating the need to rotate secrets. In contrast, service principals require manual certificate or client secret management but offer more granular control for cross-tenant scenarios. Entra ID authentication (Option D) supports interactive and non-interactive flows, including token-based access, which avoids password storage entirely.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PL-300 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PL-300 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PL-300 question test?

Prepare the data — This question tests Prepare the data — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use a service principal with Microsoft Entra ID. — Option C is correct because using a service principal with Microsoft Entra ID (formerly Azure AD) enables token-based authentication for Power BI to Azure SQL Database, which is more secure than shared secrets or passwords. Service principals are non-interactive identities that can be granted fine-grained permissions, eliminating the need to store credentials and reducing the risk of credential exposure.

What should I do if I get this PL-300 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PL-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 PL-300 exam.