Database Administrator
BeginnerWrite SQL queries, install and configure databases, perform backups, manage users, and design basic schemas.
Your Progress0 / 50 questions
2 questions free per topic
Unlock all 50 questions with Pro
Topics
1SQL Fundamentals & Query Writing
2 free / 10 questions
1
SQL Fundamentals & Query Writing
2 free / 10 questions
- 1What are the different types of SQL JOINs, and when would you use each one?
- 2What is the difference between the WHERE clause and the HAVING clause in SQL?
- Can you explain the logical order of execution of a SQL SELECT statement?Pro
- When should you use a subquery versus a JOIN to retrieve related data, and what are the performance implications of each approach?Pro
- What are window functions in SQL, and how do they differ from regular aggregate functions? Provide practical examples.Pro
- What are Common Table Expressions (CTEs) and recursive CTEs? When are they useful in database administration?Pro
- What are the SQL transaction isolation levels, and what concurrency problems does each one prevent?Pro
- You are given a slow-running query that joins five tables and returns a large result set. Walk through your systematic approach to diagnosing and optimizing it.Pro
- Explain the ACID properties of database transactions and describe a real-world scenario where violating each property would cause a serious problem.Pro
- How would you write a SQL query to detect and handle duplicate records in a large production table without causing downtime?Pro
Unlock 8 more questions
Get full access with Pro
2Database Installation & Configuration
2 free / 10 questions
2
Database Installation & Configuration
2 free / 10 questions
- 1What are the key differences between popular relational database management systems like PostgreSQL, MySQL, and SQL Server, and how do you choose between them?
- 2Walk through the key steps you would follow when installing a new PostgreSQL or MySQL instance on a Linux server.
- What is the difference between a database instance, a database, and a schema? How do these concepts relate to each other?Pro
- How do you determine the appropriate memory configuration settings for a database server, and what are the key memory parameters to tune?Pro
- Explain the purpose and structure of the main configuration files in PostgreSQL or MySQL. Which parameters should a DBA review immediately after installation?Pro
- What are tablespaces, and how do you use them to manage storage in a database environment?Pro
- How do you approach patching and upgrading a database system while minimizing risk and downtime?Pro
- How would you design and configure a multi-environment database setup with development, staging, and production environments?Pro
- What is connection pooling, why is it important for database performance, and how would you configure it?Pro
- How would you automate the provisioning and configuration of new database servers using infrastructure-as-code principles?Pro
Unlock 8 more questions
Get full access with Pro
3Backup & Recovery Basics
2 free / 10 questions
3
Backup & Recovery Basics
2 free / 10 questions
- 1What are the different types of database backups, and when would you use each one?
- 2What is the difference between logical and physical database backups?
- How do you design a backup schedule for a production database, and what factors influence your decisions?Pro
- Explain how point-in-time recovery works and walk through the steps to perform one.Pro
- How do you verify that your database backups are valid and restorable? What testing procedures should be in place?Pro
- How do you use pg_dump and pg_restore effectively for PostgreSQL backup and restoration tasks?Pro
- What is Write-Ahead Logging and WAL archiving in PostgreSQL, and why are they important for backup and recovery?Pro
- A developer accidentally runs a DELETE statement without a WHERE clause on a critical production table. Describe your recovery process step by step.Pro
- Design a comprehensive backup strategy for a company with a 500 GB production database that requires an RPO of 15 minutes and an RTO of 1 hour.Pro
- What security measures should be implemented to protect database backups, and why is backup security often overlooked?Pro
Unlock 8 more questions
Get full access with Pro
4User Management & Security Basics
2 free / 10 questions
4
User Management & Security Basics
2 free / 10 questions
- 1What is the principle of least privilege, and how do you apply it to database user management?
- 2What are the different authentication methods available in PostgreSQL, and when would you use each one?
- How do you create and manage database roles and users? What is the difference between a role and a user in PostgreSQL?Pro
- How do you configure SSL/TLS encryption for database connections, and why is it important?Pro
- What is Row-Level Security in PostgreSQL, and how do you implement it to restrict data access?Pro
- What are the most common database security vulnerabilities, and how do you protect against SQL injection?Pro
- How do you audit database access and track changes to sensitive data?Pro
- Design a comprehensive role-based access control system for a web application database that serves multiple teams with different data access requirements.Pro
- How would you conduct a security audit of an existing database environment and what common issues would you look for?Pro
- How do you implement data masking and anonymization to protect sensitive data in non-production environments?Pro
Unlock 8 more questions
Get full access with Pro
5Data Types & Schema Design
2 free / 10 questions
5
Data Types & Schema Design
2 free / 10 questions
- 1What are the main categories of data types in SQL databases, and how do you choose the right data type for a column?
- 2What is database normalization, and can you explain the first three normal forms with examples?
- What are primary keys, foreign keys, and other constraints, and why are they important for data integrity?Pro
- What are database indexes, how do they work, and what are the trade-offs of creating them?Pro
- When should you denormalize a database schema, and what are common denormalization techniques?Pro
- How do you design a schema to efficiently handle one-to-many and many-to-many relationships?Pro
- How do you handle time-series data and temporal data patterns in a database schema?Pro
- Design a database schema for an e-commerce platform, explaining your choices for tables, relationships, data types, and constraints.Pro
- How do you manage database schema changes and migrations in a production environment?Pro
- What are the differences between UUID, auto-incrementing integer, and other primary key strategies? What are the trade-offs for each?Pro
Unlock 8 more questions
Get full access with Pro
Mock Interview
Test your knowledge with an AI-powered mock interview session.
Start Mock InterviewText
Voice (Pro)
Quick Stats
- Total Questions50
- Topics5
- DifficultyBeginner