Online Exam Quiz

questionQuestion  1 to 30

Which statement is used to create a new table?

  • ALTER
  • INSERT
  • CREATE TABLE
  • UPDATE
Mark for review

What is the role of a data dictionary?

  • Stores table rows
  • Stores database schema metadata
  • Encrypts columns
  • Defines user roles
Mark for review

What is a clustered index?

  • Index on views
  • Index that defines data storage order
  • Unused index
  • Foreign key
Mark for review

What is database indexing used for?

  • Store large files
  • Optimize query performance
  • Hide data
  • Backup tables
Mark for review

Which of the following is a type of database testing?

  • Functional testing
  • Data integrity testing
  • UI testing
  • Smoke testing
Mark for review

What is meant by data redundancy?

  • Repeated data in UI
  • Repeated data entries in DB
  • Data cleanup
  • Normalized data
Mark for review

What happens when a DELETE statement has no WHERE clause?

  • Only one row is deleted
  • No rows deleted
  • All rows are deleted
  • Syntax error
Mark for review

What is a composite key?

  • One key from different columns
  • A unique key made from two or more columns
  • Duplicate key
  • Random string
Mark for review

What does the DISTINCT keyword do?

  • Returns only unique values
  • Counts rows
  • Sorts data
  • Encrypts data
Mark for review

When is data consistency checked?

  • Only during deployment
  • After schema creation
  • During and after transactions
  • Never
Mark for review

What is a flat file database?

  • File with compressed schema
  • UI test file
  • Plain text file storing data
  • SQL format data
Mark for review

Which constraint ensures that a column cannot have NULL values?

  • FOREIGN KEY
  • NOT NULL
  • CHECK
  • UNIQUE
Mark for review

What is a common challenge in database testing?

  • UI alignment
  • Inconsistent test data
  • Color mismatch
  • Element IDs
Mark for review

What does ACID stand for in database?

  • Access, Control, Isolation, Data
  • Atomicity, Consistency, Isolation, Durability
  • Audit, Check, Integrity, Durability
  • None of these
Mark for review

What is a stored procedure?

  • Static report
  • Predefined SQL logic stored in DB
  • Data type
  • View
Mark for review

What is the main goal of database testing?

  • UI validation
  • Network testing
  • Data integrity and consistency
  • Load testing
Mark for review

What is the difference between CHAR and VARCHAR?

  • CHAR is variable-length
  • VARCHAR uses more memory
  • CHAR is fixed-length, VARCHAR is variable-length
  • No difference
Mark for review

What is the use of CHECK constraint?

  • Auto-increment field
  • Enforces a condition on a column
  • Creates index
  • Sets primary key
Mark for review

What is the result of dividing by zero in SQL?

  • Error
  • Zero
  • NULL
  • Infinity
Mark for review

What is a surrogate key used for?

  • Replacing composite keys with a unique auto-generated key
  • Backup creation
  • Data migration
  • Foreign reference
Mark for review

Which command deletes a table?

  • REMOVE
  • TRUNCATE
  • DROP
  • ALTER
Mark for review

Which clause is used to limit the number of rows returned?

  • COUNT
  • HAVING
  • LIMIT
  • SUM
Mark for review

What is the purpose of rollback testing?

  • Validate delete statements
  • Ensure transactions revert correctly
  • Check logs
  • Test speed
Mark for review

What is the purpose of ETL testing in DB?

  • Code testing
  • GUI validation
  • Extract, Transform, Load data testing
  • Cloud migration
Mark for review

Which clause in SQL helps to filter records?

  • GROUP BY
  • HAVING
  • WHERE
  • ORDER BY
Mark for review

What is latency in database performance?

  • Query length
  • Delay in data access
  • Total rows
  • Index position
Mark for review

What is the purpose of a UNIQUE constraint?

  • Allows duplicate entries
  • Ensures only nulls
  • Enforces non-duplicate values
  • Blocks updates
Mark for review

What does DDL stand for?

  • Data Description Layer
  • Data Definition Language
  • Data Design Logic
  • Direct Data Link
Mark for review

Which statement is used to add new rows?

  • DELETE
  • UPDATE
  • INSERT INTO
  • ALTER
Mark for review

Which test verifies if a database restores correctly after failure?

  • Backup testing
  • Restore testing
  • Rollback test
  • Migration test
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review