Jump to another module Cost & Performance Optimisation (part 1 of 2) Cost & Performance Optimisation (part 2 of 2) Developing Code for Data Processing using Python and SQL Data Governance Ensuring Data Security and Compliance (part 1 of 2) Ensuring Data Security and Compliance (part 2 of 2) Debugging and Deploying (part 1 of 2) Debugging and Deploying (part 2 of 2) Monitoring and Alerting Data Ingestion & Acquisition Data Transformation, Cleansing, and Quality (part 1 of 2) Data Transformation, Cleansing, and Quality (part 2 of 2) Data Modelling Data Sharing and Federation Question 2 of 35 All questionsA Databricks user who is new to the platform is attempting to troubleshoot lengthy execution times for pipeline logic they are developing. Currently, the user executes code one cell at a time and uses display() calls to verify that, as new transformations are added to an operation, the code produces logically correct results. To measure average execution time, the user runs every cell interactively several times.
Which adjustment will provide a more accurate measurement of how the code is likely to perform in production?
A A. Scala is the only language that can be accurately tested using interactive notebooks; because the best performance is achieved by using Scala code compiled to JARs, all PySpark and Spark SQL logic should be refactored. B B. The only way to meaningfully troubleshoot code execution times in development notebooks Is to use production-sized data and production-sized clusters with Run All execution. C C. Production code development should only be done using an IDE; executing code against a local build of open source Spark and Delta Lake will provide the most accurate benchmarks for how code will perform in production. D D. Calling display() forces a job to trigger, while many transformations will only add to the logical query plan; because of caching, repeated execution of the same logic does not provide meaningful results. E E. The Jobs UI should be leveraged to occasionally run the notebook as a job and track execution time during incremental code development because Photon can only be enabled on clusters launched for scheduled jobs.
Previous Check answer
A –E selectEnter check answerF flag← → move? all shortcuts