Search Header Logo

Alchemy Day - 2

Authored by swaas 3

Other

University

Used 4+ times

Alchemy Day - 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Alembic primarily used for?

Query optimization

Database schema migrations

Database backups

Data visualization

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Alembic is written and maintained by the creators of:

Django ORM

SQLAlchemy

Flask-SQLAlchemy

PostgreSQL

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a feature of Alembic?

Version control for database schema

Command-line driven

Auto-detection of all schema changes including column renames

Works with MySQL, PostgreSQL, SQLite

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command initializes Alembic in a project?

alembic start

alembic init alembic

alembic setup

alembic create

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What file stores Alembic’s main configuration, including database URL?

alembic.ini

versions/

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where are migration scripts stored by default?

alembic.ini

alembic/env.py

alembic/versions/

db/migrations/

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in a migration script applies schema changes?

apply()

upgrade()

migrate()

execute()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?