Implementing Modular Components in Power Apps for Suitability Assessment Tool

PL-400 By islever Editorial Last updated

Create PCF code components Build Power Apps code apps

Short answer

C Use a component library to create modular, reusable components for the Suitability Assessment Tool that can be shared with other Power Apps.

Question

Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Background
City Power & Light is an energy and utilities company that has offices in Europe. The company subsidizes home improvements for domestic customers, to improve energy efficiency and to meet environmental commitments. The company also distributes and generates electricity for domestic and commercial customers. The company has 2,000 employees in multiple offices and in work-from-home locations.
City Power & Light uses a team of schedulers, assessors, field engineers, and customer support agents for home improvements in a program named Get Energy Fit.
Current Environment
Get Energy Fit Program
City Power & Light uses the following to manage the Get Energy Fit program:
• The company uses a Microsoft Excel spreadsheet named Planning Hub on Microsoft SharePoint Online to store information about customer appointments, customer details, and customer eligibility in the program.
• The company records sensitive customer information that includes the document identification numbers and the customer's financial information.
• The company uses an assessor to verify customer eligibility in the program and to perform a suitability assessment. The assessor completes the suitability assessment by using a paper and clipboard at the customer property and enters the data to the Planning Hub after the assessment is completed. The assessor also uploads photographs to an on-premises document library. The assessor completes the eligibility assessment by using an application written in React.
• Schedulers use Microsoft Outlook to schedule engineers and assessors for home improvement appointments. About 200 appointments are scheduled daily.
• Employees for the company submit funding claims on behalf of the customer by uploading evidence and compliance checks information to an application named the Claim Submission Portal.
Technical Environment
• Schedulers use Windows 11 desktop and laptop computers with the latest version of Microsoft Edge.
• Assessors use iOS and Android tablet devices.
• The Claim Submission Portal uses REST-based APIs for all operations and a dedicated testing environment. Authentication to the API is provided by using the following example header key and value pair:
o Authentication: 2C8D41431415E429C7FC7A74D8315
• The company uses Microsoft Azure for hosting multiple applications.
Requirements
Overview
City Power & Light plans to implement Microsoft Power Platform to improve the customer experience and increase delivery for the Get Energy Fit program.
Business Requirements
• Only team leaders and senior managers should have access to read personally identifiable information (PII).
• All development changes must be tested in a separate environment.
• The company requires out-of-the-box solutions, when possible.
• Sensitive credentials, such as user passwords and API secrets, must be stored securely.
• The Claim Submission Portal must allow citizen developers to create automated solutions.
• Customer and appointment information must be accessible to all applications.
Planning Hub Application
The company is planning to replace the Planning Hub spreadsheet with a new application. The new application has the following requirements:
• The application must support a component design that provides rapid changes requested by the schedulers.
• The data model for the application must capture the following information:
o Information about customers such as name, address, and other PII.
o The data and time for an assessor's or engineer's appointment. Schedulers must be able to view all appointments without filters.
o Records the details of the home improvements installed for the customer.
o Contains all the information and evidence for submission to the Claim Submission Portal.
• After an assessor uploads the funding application and all evidence after a home improvement has been complete, the company requires that the status of the application is set to Submit and should run the following:
o Retrieve the details about the customer and the improvement installed.
o Send an approval to a senior manager to review and approve in Microsoft Teams.
o Upload the information to the API endpoint.
o If the upload fails to complete, it should retry after a delay of 30 seconds up to three times. If an error occurs after three times, the application should send an email notification to the application support team.
o Must record the status on the funding application.
Suitability Assessment Tool
The company plans to implement a new application named the Suitability Assessment Tool for the assessors. The new application has the following requirements:
• Must integrate with Microsoft Power Platform.
• Assessors must be able to complete the eligibility assessment by using the Suitability Assessment Tool. The assessors must be able to upload photographs to the on-premises file share.
• Must be developed by using modular components that can be used by other applications.
• Must be optimized for use on tablet devices.
• All changes to the application must be completed in the Suitability Assessment Tool solution.
Reporting
The company has the following requirements for a reporting solution:
• The data source for the reporting solution must support incremental refreshes.
• The solution must report accurate data if an error occurs.
Issues
• A recent audit identified that all users can access the PII in the Planning Hub spreadsheet.
• After a developer deploys a change to the production environment, a user reports information is loaded incorrectly to the test system when processing a funding application.
• After deploying a change to the new eligibility assessment tool in the development environment, you observe that the changes do not appear in the development environment.
• After removing a column from the Planning Hub application and deploying the changes to the production environment, you observe that the column is still present.
• You deploy the customizations for the data model. Users report that the email address of the user who created the appointment is missing and that searches on the description information do not return any results.
You need to implement the Suitability Assessment Tool.
What should you use?
  1. Power App Component Framework (PCF) control
  2. view
  3. component library Correct Answer
  4. form

Key Takeaways

The trap is choosing PCF for any custom need; however, PCF is for individual controls, whereas Component Libraries are for reusable app structures/modules.

This PL-400 question requires selecting the correct implementation method for a reusable Power App. The correct answer is Component Library, which supports modular design across multiple applications.

Common mistake: Candidates often choose PCF (Option A) because they associate 'custom' or 'integrated' needs with coding. However, PCF creates a single control, not a reusable application module. The requirement for 'modular components used by other applications' points to Component Libraries.

Expert Analysis

The question asks for the specific technology to implement the Suitability Assessment Tool, a new application for assessors using iOS and Android tablets. The critical requirements are that it must integrate with Microsoft Power Platform, be optimized for tablet use, and crucially, be developed using modular components that can be used by other applications.

While the suggested answer (A) argues for PCF controls due to custom logic needs, this misinterprets the architectural requirement. PCF controls are granular UI elements (like a custom map or gauge) used within forms or views, not a framework for building an entire application's structure from reusable modules. A single PCF control does not constitute a "component" in the sense of a reusable screen or layout block across different apps.

Option C, Component Library, is the correct choice because it directly addresses the requirement for modularity and reusability. In Power Apps, Component Libraries allow developers to create encapsulated sets of screens, variables, and functions that can be referenced and reused across multiple Canvas Apps. This fits the scenario perfectly: the Suitability Assessment Tool needs modular parts that other applications can also utilize. Furthermore, while PCF is powerful for complex data entry, Component Libraries are the standard solution for sharing UI patterns and business logic blocks across a suite of apps, satisfying the "modular components" constraint more broadly than a single control type.

Comments supporting C highlight the keyword "modular components" and distinguish between low-code reuse (Component Libraries) and pro-code customization (PCF). The vote majority favoring C aligns with the emphasis on reusability across applications rather than just customizing a single form field.

Exam Strategy

When you see keywords like 'reusable', 'modular', or 'shared across applications' in Power Apps questions, prioritize Component Libraries over PCF or individual controls. Reserve PCF for scenarios requiring deep integration with external systems or complex custom rendering within a single form or view. Always map the scope of 'reuse' to the architecture: component-level vs. app-level.

Frequently Asked Questions

What is the main difference between a PCF control and a Component Library?

A PCF control is a custom UI element (like a button or input field) built with code for use in a specific form or view. A Component Library is a collection of screens, variables, and functions that can be reused across multiple Canvas Apps.

Why is Component Library better than PCF for this specific scenario?

The requirement specifies 'modular components that can be used by other applications.' Component Libraries allow you to build and share entire logical blocks or screens across different apps, whereas PCF is limited to individual control instances.

More PL-400 FAQ →

Discussion 7 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 7

  1. chrisch 👍 5 Answered C
    The answer is correct: Since the Suitability Assessment Tool must be built with reusable, modular components, the best choice is C. Component Library.
  2. itmaxuser 👍 3 Answered C
    C. component library Using a component library allows the creation of reusable components that can be utilized across multiple applications. It aligns with the goal of modularity and enables the assessors to complete the eligibility assessment while maintaining flexibility for other applications to use the same components.
  3. sugaSri 👍 2 Answered A
    The Suitability Assessment Tool has several key requirements that point directly to using PCF controls: 🔧 Why Power Apps Component Framework (PCF) is the right choice: Requirement How PCF Meets It Integrates with Power Platform PCF is a native extensibility option for Power Apps and Dataverse. Upload photographs to on-premises file share PCF allows custom logic and integration with external systems, including on-premises file shares via gateways or APIs. Modular components reusable in other apps PCF controls are reusable across multiple apps and solutions. Optimized for tablets PCF controls are responsive and can be designed for touch interfaces. All changes in a solution PCF controls are packaged and deployed via solutions in Power Platform.
  4. TheRealTrompie99 👍 2 Answered A
    I think it should be A
  5. Skada 👍 2 Answered A
    why not PCF?
Show 2 more comments
  1. yarucca 👍 1
    Key Differences: Component Library vs. PCF Feature Component Library PCF (Power Apps Component Framework) Use Case Reusable components in Canvas Apps Custom controls for Model-Driven Apps & Canvas Apps Customization Level Low-code (drag & drop components) Pro-code (TypeScript, HTML, CSS) Integration with Power Platform Native integration Requires additional coding & debugging Ideal For Standard UI components (forms, buttons, galleries) Highly customized controls (charts, maps, advanced UI interactions) Works in Canvas Apps Model-Driven & Canvas Apps Best for Rapid development with Power Apps Advanced UI needs beyond out-of-the-box controls
  2. alevalli9 👍 1 Answered C
    Keywords that make me choose C. - Modular components that can be used by other applications - Out-of-the-box solutions when possible A PCF is a custom development.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All PL-400 Questions

Access 85 questions with complete answers and detailed explanations.

View Full PL-400 Practice Test →

← Back to PL-400 Study Guide