Microsoft Certified: Power BI Data Analyst AssociateDeploy and maintain assetsHard

A Power BI developer has published a report to a workspace. The report's dataset contains sensitive financial data. The developer wants to ensure that only a specific group of users can access this report and that they are prompted for their credentials each time they try to open it, even if they have previously logged into Power BI. What authentication method should be configured for the data source in the Power BI service?

  1. AOAuth2
  2. BAnonymous
  3. CBasic
  4. DWindows authentication
Show answer & explanation

Correct answer: C. Basic

Basic authentication, while generally less secure for long-term use, forces users to input their credentials every time they access the data source, even if they are already signed into Power BI. This meets the specific requirement of prompting for credentials each time for a specific group, though it's important to consider its security implications for sensitive data.

Why the other options are wrong

  • A. OAuth2 typically involves token-based authentication and often allows for single sign-on, which would not prompt for credentials each time.
  • B. Anonymous access would allow anyone to access the data without any credentials, which is inappropriate for sensitive financial data.
  • D. Windows authentication often integrates with Active Directory for seamless sign-on, which would not prompt for credentials each time.

Power BI Data Source Basic Authentication

Basic authentication for a Power BI data source requires the user to manually enter a username and password every time they attempt to access the data, even if already signed into Power BI.

  • Requires manual cred entry each time
  • No session persistence
  • Less secure than token-based methods
  • Directly uses username/password

Memory trick: Basic authentication makes you re-enter your secret every time.

More Deploy and maintain assets questions