Courseiva
Demonstrate the capabilities of Power AppsmediumMultiple ChoiceObjective-mapped

PL-900 Demonstrate the capabilities of Power Apps Practice Question

A Power Apps app uses a Dataverse table with a choice column 'Priority' (Low, Medium, High, Critical). The app must display the priority as a color-coded badge in a gallery. Which method is most efficient?

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 the Switch function in the gallery's Fill property to map each choice value to a color.

The Switch function in the gallery's Fill property directly maps each priority choice value to a color without requiring additional tables, flows, or nested conditions. Option A adds an unnecessary lookup table, option B involves an external flow which is overkill for simple color mapping, and option D uses multiple If conditions which is less efficient and harder to maintain than a Switch function.

Answer analysis

Option-by-option breakdown

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

  • Add a second table with colors and use LookUp in the gallery.

    Why it's wrong here

    Adds complexity and network calls; not efficient for simple mapping.

  • Create a Power Automate flow to update a color field on the record.

    Why it's wrong here

    Overly complex; color should be derived in UI, not stored.

  • Use the Switch function in the gallery's Fill property to map each choice value to a color.

    Why this is correct

    Switch function is efficient and built-in for conditional formatting.

  • Use an If function with multiple conditions to set the Fill property.

    Why it's wrong here

    If function works but Switch is more readable and efficient for multiple values.

About these practice questions

This PL-900 question is part of Courseiva's 904-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 PL-900 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-900 exam.