Azure Data Fundamentals (DP-900) Exam Preparation: Relational data on Azure
Themaquiz zonder tijdslimiet: 20 vragen over Relational data on Azure, met een uitleg na elk antwoord. Vragen en antwoorden worden elke keer gehusseld.
Themaquiz 2: Relational data on Azure
-
Vraag 1 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 2 van 20
Toon antwoord
Antwoord: B. NULL
Every row in a table has the same columns, but some columns may have no value. An empty value is called NULL.
-
Vraag 3 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 4 van 20
Toon antwoord
Antwoord: D. A foreign key
When one entity refers to another, the primary key of the related entity is stored as a foreign key.
-
Vraag 5 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 6 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 7 van 20
Toon antwoord
Antwoord: A. A composite key
A composite key uses a unique combination of more than one column, such as order number plus item number.
-
Vraag 8 van 20
Toon antwoord
Antwoord: C. Data Definition Language (DDL)
DDL statements create, change and remove database objects such as tables and views.
-
Vraag 9 van 20
Toon antwoord
Antwoord: D. Data Control Language (DCL)
DCL statements manage permissions: they grant, deny or remove a user's right to perform actions.
-
Vraag 10 van 20
Toon antwoord
Antwoord: C. INSERT
INSERT adds new rows. UPDATE changes existing rows, ALTER changes a table's structure and SELECT reads rows.
-
Vraag 11 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 12 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 13 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 14 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 15 van 20
Toon antwoord
Antwoord: A. A stored procedure
A stored procedure holds SQL statements that run on command, and parameters let the same logic work for any product.
-
Vraag 16 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 17 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 18 van 20
Toon antwoord
Antwoord: 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.
-
Vraag 19 van 20
Toon antwoord
Antwoord: D. An elastic pool
In an elastic pool, several databases share a pool of resources. This suits databases whose needs vary over time.
-
Vraag 20 van 20
Toon antwoord
Antwoord: 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.
Toetsenbord: 1–4 om te antwoorden, Enter voor de volgende vraag.