Azure Data Fundamentals (DP-900) Exam Preparation: Relational data on Azure

Quiz tematico senza limite di tempo: 20 domande su Relational data on Azure, con una spiegazione dopo ogni risposta. Domande e risposte vengono mescolate ogni volta.

  • Corso
  • Canada
  • 80 domande
  • Verificato: 13 ottobre 2026
  • Verificato il 13 ottobre 2026
Inizia dalle lezioniAzure Data Fundamentals (DP-900): Lessons: circa 300 minuti di lettura. Ogni domanda del test è trattata nelle lezioni.

Quiz tematico 2: Relational data on Azure

  1. Domanda 1 di 20

    In a relational database table, what does each row represent?
    Mostra la risposta

    Risposta: B. A single instance of an entity

    Each table models a collection of entities, and each row holds one instance, such as one customer or one order.

  2. Domanda 2 di 20

    A customer has no middle name, so the MiddleName column in their row is empty. What is this empty value called in SQL?
    Mostra la risposta

    Risposta: B. NULL

    Every row in a table has the same columns, but some columns may have no value. An empty value is called NULL.

  3. Domanda 3 di 20

    What is the job of a primary key in a relational table?
    Mostra la risposta

    Risposta: A. It uniquely identifies each row in the table

    Each instance of an entity gets a primary key, such as an ID, that uniquely identifies it.

  4. Domanda 4 di 20

    An Order table has a CustomerID column that holds the ID of the customer who placed each order. What is CustomerID in the Order table?
    Mostra la risposta

    Risposta: D. A foreign key

    When one entity refers to another, the primary key of the related entity is stored as a foreign key.

  5. Domanda 5 di 20

    What is the main purpose of normalization?
    Mostra la risposta

    Risposta: B. To reduce duplicate data and enforce data integrity

    Normalization is a schema design process that minimizes data duplication and enforces data integrity, for example by storing each customer only once.

  6. Domanda 6 di 20

    A database refuses to save an order whose CustomerID does not match any customer in the Customer table. What is the database enforcing?
    Mostra la risposta

    Risposta: C. Referential integrity

    A relational database can enforce referential integrity, so a foreign key value must match an existing primary key in the related table.

  7. Domanda 7 di 20

    A LineItem table identifies each row by the combination of OrderNo and ItemNo. What kind of key is this?
    Mostra la risposta

    Risposta: A. A composite key

    A composite key uses a unique combination of more than one column, such as order number plus item number.

  8. Domanda 8 di 20

    CREATE, ALTER, DROP and RENAME belong to which group of SQL statements?
    Mostra la risposta

    Risposta: C. Data Definition Language (DDL)

    DDL statements create, change and remove database objects such as tables and views.

  9. Domanda 9 di 20

    A database administrator uses GRANT, DENY and REVOKE. Which group of SQL statements are these?
    Mostra la risposta

    Risposta: D. Data Control Language (DCL)

    DCL statements manage permissions: they grant, deny or remove a user's right to perform actions.

  10. Domanda 10 di 20

    Which SQL statement adds new rows to a table?
    Mostra la risposta

    Risposta: C. INSERT

    INSERT adds new rows. UPDATE changes existing rows, ALTER changes a table's structure and SELECT reads rows.

  11. Domanda 11 di 20

    A Customer table has 1,250 rows. Someone runs UPDATE Customer SET Country = 'Canada'; with no WHERE clause. How many rows are changed?
    Mostra la risposta

    Risposta: B. All 1,250 rows

    Without a WHERE clause, UPDATE changes every row in the table, and SQL does not ask "are you sure?" first.

  12. Domanda 12 di 20

    Which SQL dialect is used by Azure SQL Database, Azure SQL Managed Instance and SQL Server?
    Mostra la risposta

    Risposta: B. Transact-SQL (T-SQL)

    Microsoft SQL Server and the Azure SQL services use Transact-SQL. PL/SQL is Oracle's dialect and pgSQL is PostgreSQL's.

  13. Domanda 13 di 20

    Use the Product table above. How many rows does this query return? SELECT Name FROM Product WHERE Category = 'Tools' AND Price < 100;
    IDNamePriceCategoria
    1Hammer12.50Tools
    2Drill89.99Tools
    3Tape4.25Supplies
    4Gloves9.75Safety
    5Ladder149.00Tools
    6Vest24.00Safety
    Mostra la risposta

    Risposta: A. 2

    Both conditions must be true. Hammer (12.50) and Drill (89.99) are tools under 100, so 2 rows are returned. Ladder is a tool but costs 149.00.

  14. Domanda 14 di 20

    Which database object is a virtual table based on a SELECT query, which you can query much like a table?
    Mostra la risposta

    Risposta: A. A view

    A view is like a window on chosen rows from one or more tables. You can query and filter it like a table.

  15. Domanda 15 di 20

    An app often needs to rename products. A developer saves the UPDATE logic in the database with parameters for the product ID and new name. What has the developer created?
    Mostra la risposta

    Risposta: A. A stored procedure

    A stored procedure holds SQL statements that run on command, and parameters let the same logic work for any product.

  16. Domanda 16 di 20

    What is a cost of adding an index to a table?
    Mostra la risposta

    Risposta: B. It uses storage and must be kept up to date when data changes

    Indexes speed up searches, but they take storage space and must be maintained each time the data changes.

  17. Domanda 17 di 20

    Which Azure SQL option is an infrastructure as a service (IaaS) offering that gives you full control of the operating system and SQL Server?
    Mostra la risposta

    Risposta: C. SQL Server on Azure Virtual Machines

    SQL Server on Azure VMs is IaaS. You manage the operating system, SQL Server updates, backups and maintenance yourself.

  18. Domanda 18 di 20

    A company wants to move an on-premises SQL Server instance and all its databases to Azure with minimal app changes and near-100% compatibility, without managing virtual machines. Which option fits best?
    Mostra la risposta

    Risposta: B. Azure SQL Managed Instance

    Azure SQL Managed Instance runs a full SQL Server instance as PaaS with near-100% compatibility, and it automates backups and patching.

  19. Domanda 19 di 20

    A payroll database is busy at the end of each month, and a reporting database is busy in the middle of the month. Which Azure SQL Database option lets them share resources to reduce costs?
    Mostra la risposta

    Risposta: D. An elastic pool

    In an elastic pool, several databases share a pool of resources. This suits databases whose needs vary over time.

  20. Domanda 20 di 20

    A team runs a LAMP stack web app (Linux, Apache, MySQL, PHP) and wants a managed database in Azure with few app changes. Which service fits best?
    Mostra la risposta

    Risposta: A. Azure Database for MySQL

    Azure Database for MySQL is a PaaS version of MySQL Community Edition. MySQL is the leading open-source database for LAMP stack apps.

Test correlati