Courseiva
Question 4 of 881
Develop Azure compute solutionsmediumMultiple ChoiceObjective-mapped

AZ-204 Develop Azure compute solutions Practice Question

You are developing an Azure Logic App that processes files from an FTP server. The workflow must run every 10 minutes and process only new files. You need to ensure that files are not processed more than once. What should you use?

⚠ Common exam trap

The trap here is that candidates often incorrectly assume that the 'When a file is added or modified' trigger is required for deduplication, but the plain 'When a file is added' trigger already has built-in state tracking. Using 'or modified' would also process modified files, which is not desired.

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 FTP trigger 'When a file is added' with a recurrence of 10 minutes.

The 'When a file is added' FTP trigger in Azure Logic Apps automatically tracks processed files using a built-in 'trigger state' mechanism. When combined with a recurrence schedule (e.g., every 10 minutes), it ensures that only new files since the last run are processed, preventing duplicate processing without external state management.

Answer analysis

Option-by-option breakdown

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

  • Use the FTP trigger 'When a file is added' with a recurrence of 10 minutes.

    Why this is correct

    Correct. The 'When a file is added' trigger with a recurrence of 10 minutes uses built-in state management to process only new files, preventing reprocessing.

  • Use the 'When a file is added' trigger and store processed file names in a SQL database.

    Why it's wrong here

    This works but introduces unnecessary complexity and overhead.

  • Use the FTP trigger 'When a file is added or modified' with a recurrence of 10 minutes.

    Why it's wrong here

    Incorrect. The 'When a file is added or modified' trigger would also process modified files, not just new ones, contradicting the requirement.

  • Use the Sliding Window trigger and set the window size to 10 minutes.

    Why it's wrong here

    Sliding Window is for time windows, not file-level tracking.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-204 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 AZ-204 exam.