0
0
MLOpsdevops~20 mins

Feast feature store basics in MLOps - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Feast Feature Store Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the primary purpose of Feast in MLOps?

Feast is a feature store used in machine learning projects. What is its main role?

ATo store and serve machine learning features consistently for training and serving.
BTo train machine learning models automatically without human input.
CTo monitor model performance in production environments.
DTo visualize data trends and generate reports for stakeholders.
Attempts:
2 left
💡 Hint

Think about what a feature store does in the ML workflow.

💻 Command Output
intermediate
1:30remaining
What is the output of this Feast CLI command?

Given the command feast feature-view list executed in a project with two feature views named user_features and transaction_features, what will be the output?

MLOps
feast feature-view list
Auser_features
BNo features found
CError: Command not recognized
D
user_features
transaction_features
Attempts:
2 left
💡 Hint

This command lists all registered feature views in the current Feast project.

Configuration
advanced
2:30remaining
Identify the correct Feast feature view YAML snippet

Which YAML snippet correctly defines a Feast feature view named user_activity with an entity user_id and two features clicks (int64) and page_views (int64)?

A
teuqrap.ytivitca_resu/atad/ :htap  
elif :epyt  
:ecruos_hctab
46tni :epytd    
sweiv_egap :eman -  
46tni :epytd    
skcilc :eman -  
:serutaef
di_resu -  
:seititne
ytivitca_resu :eman
B
name: user_activity
entities:
  - user_id
features:
  - name: clicks
    dtype: int64
  - name: page_views
    dtype: int64
batch_source:
  type: file
  path: /data/user_activity.parquet
C
feature_view:
  name: user_activity
  entities: user_id
  features:
    clicks: int64
    page_views: int64
  source: /data/user_activity.csv
D
feature_view:
  name: user_activity
  entity: user_id
  features:
    - clicks: int64
    - page_views: int64
  batch_source:
    type: file
    path: /data/user_activity.parquet
Attempts:
2 left
💡 Hint

Look for correct Feast YAML structure with name, entities, features, and batch_source.

🔀 Workflow
advanced
2:00remaining
What is the correct sequence to register and materialize features in Feast?

Arrange the steps in the correct order to register a new feature view and materialize its data in Feast.

A1,3,2,4
B2,1,3,4
C1,2,3,4
D3,2,1,4
Attempts:
2 left
💡 Hint

Think about defining first, then registering, then loading data, then using features.

Troubleshoot
expert
2:30remaining
Why does 'feast materialize' fail with a timestamp error?

You run feast materialize 2023-01-01T00:00:00 2023-01-02T00:00:00 but get an error saying Invalid timestamp format. What is the most likely cause?

AThe timestamps are missing timezone information and Feast expects UTC with 'Z' suffix.
BThe Feast CLI does not support materialize commands with timestamps.
CThe feature view is not registered, so materialize cannot run.
DThe timestamps are in the future and Feast rejects future dates.
Attempts:
2 left
💡 Hint

Check the timestamp format Feast expects for materialize commands.