easyMultiple ChoiceObjective-mapped
PL-900 Practice Question: Refer to the exhibit
Exhibit
<!DOCTYPE html>
<html>
<head>
<title>My Portal</title>
<link rel="stylesheet" href="https://myportal.cdn.powerappsportals.com/theme.css">
</head>
<body>
<div id="main">
{% include 'Header' %}
<h1>Welcome</h1>
</div>
</body>
</html>Refer to the exhibit. A Power Pages developer is creating a custom page template using Liquid. The template includes a reference to a CSS file hosted on the portal's CDN. However, the CSS does not apply when the page is viewed. What is the most likely cause?
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
✓
The CSS file URL is incorrect; it should be a relative path to the web file.
The exhibit shows a Liquid template that includes a direct CDN URL for a CSS file. In Power Pages, custom CSS files should be referenced using a relative path to the web file stored in the portal, not the full CDN URL. The CDN URL may be blocked by Content Security Policy (CSP) or inaccessible. Therefore, the most likely cause is that the CSS file URL is incorrect (option B). Option A is incorrect: missing DOCTYPE declaration could cause rendering issues but would not prevent the CSS from loading. Option C is incorrect: while the header web template could override styles, the immediate issue is the incorrect URL. Option D is incorrect: the Liquid syntax for including the header appears correct, so this does not prevent CSS from applying.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The page template is missing a DOCTYPE declaration.
Why it's wrong here
Missing DOCTYPE declaration can cause quirks mode but would not prevent CSS from loading; the browser would still apply the stylesheet.
- ✓
The CSS file URL is incorrect; it should be a relative path to the web file.
Why this is correct
The CSS file URL should be a relative path to the web file stored in the portal; using the direct CDN URL is likely blocked or incorrect.
- ✗
The header web template is overriding the CSS.
Why it's wrong here
While the header web template could override CSS, the immediate issue is the incorrect URL, making this less likely.
- ✗
The Liquid syntax for including the header is wrong.
Why it's wrong here
The Liquid syntax for including the header appears correct, so this would not prevent CSS from applying.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PL-900 question from scratch — 904 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.