Courseiva
Demonstrate the capabilities of Power AutomatemediumMultiple ChoiceObjective-mapped

PL-900 Practice Question: Demonstrate the capabilities of Power Automate

Exhibit

{
  "definition": {
    "triggers": {
      "When_a_new_email_arrives": {
        "type": "ApiConnection",
        "inputs": {
          "host": {
            "connectionName": "shared_office365"
          },
          "apiVersion": "1.0",
          "method": "get",
          "path": "/v1.0/mail/mailFolders/Inbox/messages",
          "queries": {
            "$filter": "hasAttachments eq true",
            "$top": 1
          }
        }
      }
    }
  }
}

Refer to the exhibit. A Power Automate flow uses the 'When a new email arrives' trigger with a filter for emails that have attachments. The trigger sometimes fires even when the incoming email has no attachment. What is the most likely reason?

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 $filter parameter is not supported by the trigger type.

The most likely reason is that the $filter parameter is not supported by the trigger type. In Power Automate, the 'When a new email arrives' trigger for Office 365 Outlook uses server-side filtering via OData $filter. However, the 'hasAttachments' property is not a valid filtering property for the Mail API, so the filter is ignored. Instead, use an action to check for attachments after the trigger fires.

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 filter is applied after the trigger fires.

    Why it's wrong here

    This is incorrect because the filter is applied server-side before the trigger fires. The issue is not the timing but that the 'hasAttachments' property is not a supported filter property.

  • The trigger is configured to ignore the filter.

    Why it's wrong here

    This is incorrect. The trigger does not intentionally ignore the filter; rather, the filter property 'hasAttachments' is not supported for server-side filtering in the Mail API.

  • The filter should be on 'attachmentCount' instead of 'hasAttachments'.

    Why it's wrong here

    This is incorrect. Using 'attachmentCount' is also not a supported filter property. The core problem is that the $filter parameter does not support these attachment-related properties for the 'When a new email arrives' trigger.

  • The $filter parameter is not supported by the trigger type.

    Why this is correct

    This is correct. The 'When a new email arrives' trigger uses server-side OData $filter, but 'hasAttachments' is not a valid filterable property in the Mail API, so the filter is ignored. A common workaround is to add a condition after the trigger to check for attachments.

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 →

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.