Microsoft Fabric Data Engineer Associate DP-700 Practice Question

During a nightly pipeline, a Fabric notebook that processes Parquet files fails with the error "ImportError: cannot import name 'fastparquet'". In interactive tests, the same notebook succeeds after you manually run a cell that executes %pip install fastparquet and then restart the Spark session. You need a long-term solution that ensures the package is available every time the notebook runs as part of the pipeline without requiring manual intervention. What should you do?

  • Restart the Spark session at the end of the notebook run to make the package available in the next execution.

  • Create a Fabric environment that includes the fastparquet package and attach the environment to the notebook.

  • Change the notebook language from Python to Scala so the Spark runtime automatically loads fastparquet.

  • Add %pip install fastparquet to the first cell of the notebook so it runs before any import statements.

Microsoft Fabric Data Engineer Associate DP-700
Monitor and optimize an analytics solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot