Sketch the architecture of your SaaS: what each part (auth, plans, admin, jobs, deploy) does.
Show worked solution
A strong answer maps the SaaS to Larz primitives: auth (users/login/API keys), money (@paid/@metered/@plan for tiers, trials, subscriptions), admin (auto CRUD panel + revenue dashboard), ops (background jobs, scheduler, cache, email), and a production deploy (gunicorn, env config, security). It reflects that these are built-in features switched on, not services glued together.
Add a login-gated route and an API-key-gated route, and explain the difference.
Show worked solution
Good answers use @login_required (with req.user) for a human/browser route and @api_key_required for programmatic access, and explain that sessions serve browser users while API keys serve scripts/servers, often tied to a plan for metering. Bonus for noting the hardened security (scrypt, signed sessions) underneath and the option of 2FA via larz[auth].
Add a paid Pro tier with a free trial, and describe how you'd switch from mock to a real provider.
Show worked solution
Strong answers gate a premium route with @paid('$X/mo', trial_days=N), note that entitlements/trials/renewals are tracked by the framework (no if user.is_paid), and describe going live by passing a real provider (StripeProvider etc.) and pointing its webhook at /larz/webhook/
Write your go-live checklist for taking real payments safely.
Show worked solution
A good checklist includes: strong secret + real keys from env vars, HTTPS, gunicorn (not app.run()), a durable/backed-up database, real provider with verified webhooks tested in test mode first, rate limiter + bot filter + CSRF enabled, and health/metrics wired to monitoring. It reflects that money-native production needs the payment flow tested before flipping to live.