Preserving Pipeline Logic via JSON Export in Azure Data Factory
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription that contains an Azure data factory named ADF1. From Azure Data Factory Studio, you build a complex data pipeline in ADF1. You discover that the Save button is unavailable, and there are validation errors that prevent the pipeline from being published. You need to ensure that you can save the logic of the pipeline. Solution: You view the JSON code representation of the resource and copy the JSON to a file. Does this meet the goal?
Community Votes
65% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The exam tests strict adherence to the stated goal ('save the logic') versus best practices (fixing errors). The trap is assuming 'saving' implies a successful publish or error-free state, whereas it simply means persisting the code definition.
This question tests the ability to preserve data pipeline logic when UI save functions are blocked by validation errors. The community consensus is that exporting the raw JSON allows you to retain the configuration, meeting the specific goal of saving the logic even if it bypasses standard validation.
Choosing Option B because users believe that copying JSON does not resolve validation errors or enable the Save button in the UI. They interpret 'meet the goal' as requiring a fully functional, validated pipeline rather than just preserving the code artifact.
Community Discussion (14 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
The primary objective stated in the scenario is to "ensure that you can save the logic of the pipeline." Since the UI prevents saving due to validation errors, the only way to persist the current work without publishing is to export the underlying ARM/Bicep/JSON definition. Copying this JSON to an external file effectively backs up the logic, allowing you to recover it later for debugging or version control. This technically meets the requirement of saving the logic, regardless of the validation status.Why the Other Options Are Wrong
Option B is incorrect because it conflates 'preserving code' with 'resolving errors.' The solution does not claim to fix the validation errors; it only claims to save the logic. In certification exams, if a method achieves the literal outcome requested (saving the JSON content), it is considered correct, even if it is not the ideal troubleshooting step (like fixing the syntax).Community Comment Notes
Many candidates chose B, arguing that the solution is incomplete because errors remain. However, comments [2], [3], and [5] correctly highlight that the question asks about saving logic, not fixing errors. Comment [8] notes that while Git integration is the best practice for source control, manual JSON export is a valid technical workaround for immediate preservation.Official Reference
Exam Strategy
Focus strictly on the verb in the goal statement. If the goal is to 'save' or 'preserve,' any method that results in the data being stored externally is valid. Do not assume the goal includes 'fixing' or 'publishing' unless explicitly stated.