Cuestionario vinculado a una guía · Medio Nivel

Prefect y Dagster para el cuestionario sobre orquestación de ML

Compare los flujos de Prefect y los activos de Dagster para trabajos de aprendizaje automático, incluidos los reintentos, el linaje, la programación, la implementación y el ajuste operativo.

Rutas de guía relacionadasPrefecto y Dagster para ML
Pregunta 1 de 8

¿Cómo define Prefect comúnmente un flujo?

Vista previa de cada pregunta8 preguntas

Las respuestas y explicaciones aparecen a medida que realiza el cuestionario.

  1. ¿Cómo define Prefect comúnmente un flujo?
    • A Python function that cannot call another flow
    • A model evaluation metric that schedules jobs
    • A decorated Python function that composes workflow logic
    • A graph of named data assets and their dependencies
  2. ¿Cómo representa Dagster un flujo de trabajo orientado a activos?
    • An invocation record for a scheduled workflow
    • Named data outputs and their production dependencies
    • A task execution state with no output lineage
    • A set of training hyperparameters
  3. ¿Por qué un reintento automático puede ser inseguro para algunos pasos del flujo de trabajo?
    • Prefect automatically detects non-idempotent operations and suppresses duplicate writes
    • A task retry never calls its Python function more than once
    • Setting a retry count of one prevents the first attempt from running
    • A retry can repeat an external side effect when the operation is not idempotent
  4. ¿Qué se debe registrar para respaldar el linaje de artefactos de ML?
    • Dataset identity, code revision, configuration, and artifact version
    • Only the schedule and run name
    • Only the UI layout used to launch jobs
    • Sólo la puntuación de precisión final
  5. What should teams compare in a representative orchestrator trial?
    • Only whether each workflow step is decorated
    • Only the preferred dashboard color scheme
    • Debugging, deployment, lineage, backfills, and operating requirements
    • Only validation accuracy for the trained model
  6. ¿Cuándo podría resultar útil el modelo de activos de Dagster?
    • When a task has no outputs to track
    • When teams need to track produced data and model outputs with dependencies
    • Only when serving models on phones
    • When the workflow should have no state
  7. What should happen to a training job that needs specialized compute?
    • The orchestrator should run all GPU training inside its own process
    • The training job should be hidden inside a schedule definition
    • The model data should be stored as a secret
    • Submit the job to suitable compute and track its outputs
  8. Which statement about Prefect and Dagster is accurate?
    • Choose based on workflow abstractions and team operating needs
    • One always runs faster for every ML workflow
    • Either tool guarantees model validity
    • Both remove the need to track data versions