0% found this document useful (0 votes)
156 views11 pages

QCM

The document contains multiple choice questions about SQL statements and database technologies. It tests knowledge of data definition language (DDL) versus data manipulation language (DML), SQL statements like SELECT, INSERT, UPDATE, ALTER, and DROP. It also covers non-relational database types like graph, key-value, document and columnar stores. Additional questions cover Azure database services like Azure SQL, Cosmos DB, storage technologies and managing database security.

Uploaded by

Azaiez R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views11 pages

QCM

The document contains multiple choice questions about SQL statements and database technologies. It tests knowledge of data definition language (DDL) versus data manipulation language (DML), SQL statements like SELECT, INSERT, UPDATE, ALTER, and DROP. It also covers non-relational database types like graph, key-value, document and columnar stores. Additional questions cover Azure database services like Azure SQL, Cosmos DB, storage technologies and managing database security.

Uploaded by

Azaiez R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

1. Which statement is an example of Data Definition Language (DDL)?

 A. SELECT
 B. INSERT
 C. DELETE
 D. DROP

2. Which statement is an example of Data Definition Language (DDL)?


 A. SELECT
 B. JOIN
 C. UPDATE
 D. CREATE

3. Which statement is an example of Data Manipulation Language (DML)?


 A. REVOKE
 B. DISABLE
 C. INSERT
D. GRANT

4. Which statement is an example of Data Manipulation Language (DML)?


 A. REVOKE
 B. DISABLE
 C. CREATE
 D. UPDATE

5. Which statement should you use in a SQL query to change the inventory quantity of Product1 to 270?
 A. INSERT
 B. MERGE
 C. UPDATE
D. CREATE

6. You need to modify a view in a relational database by adding a new column.


Which statement should you use?
 A. MERGE
 B. ALTER
 C. INSERT
D. UPDATE

7. Which T-SQL statement should be used to instruct a database management system to use an index
instead of performing a full table scan?
 A. SELECT
 B. WHERE
 C. JOIN

8. Which clause should you use in a SELECT statement to combine rows in one table with rows in another
table?
 A. SET
 B. VALUES
 C. KEY
 D. JOIN

9. Your company needs to design a database that illustrates the relationships between utilization levels of
individual network devices across a local area network.
Which type of data store should you use?
 A. graph
 B. key/value
 C. document
 D. columnar
10. Your company needs to design a database that shows how changes in network traffic in one area of a
network affect network traffic in other areas of the network.
Which type of data store should you use?
 A. graph
 B. key/value
 C. document
 D. columnar

11. You have a data store that has the structure shown in the following exhibit .
Which type of data store is this?
 A. key/value
 B. object data
 C. graph
 D. time series
12. Which type of database contains nodes and edges?
 A. graph
 B. key/value
 C. columnar
 D. time series

13. Your company is designing a database that will contain session data for a website. The data will include
notifications, personalization attributes, and products that are added to a shopping cart.
Which type of data store will provide the lowest latency to retrieve the data?
 A. key/value
 B. graph
 C. columnar
 D. document

14. Your company is designing a data store that will contain student data. The data has the following
format. Which type of data store should you use?
 A. graph
 B. key/value
 C. object
 D. columnar

15. Which type of non-relational data store supports a flexible schema, stores data as JSON files, and
stores the all the data for an entity in the same document?
 A. document
 B. columnar
 C. graph
 D. time series

16. You need to recommend a non-relational data store that is optimized for storing and retrieving text files,
videos, audio streams, and virtual disk images. The data store must store data, some metadata, and a
unique ID for each file.
Which type of data store should you recommend?
 A. key/value
 B. columnar
 C. object
 D. document

17. Your company is designing a data store for internet-connected temperature sensors.
The collected data will be used to analyze temperature trends.
Which type of data store should you use?
 A. relational
 B. time series
 C. graph
 D. columnar
18. Your company is designing an application that will write a high volume of JSON data and will have an
application-defined schema.
Which type of data store should you use?
 A. columnar
 B. key/value
 C. document
 D. graph

19. What is a benefit of the Azure Cosmos DB Table API as compared to Azure Table storage?
 A. provides resiliency if an Azure region fails
 B. supports partitioning
 C. provides a higher storage capacity
 D. supports a multi-master model

20. You need to store data by using Azure Table storage.


What should you create first?
 A. an Azure Cosmos DB instance
 B. a storage account
 C. a blob container
 D. a table

21. You need to recommend a data store service that meets the following requirements:
✑ Native SQL API access
✑ Configurable indexes
What should you recommend?
 A. Azure Files
 B. Azure Blob storage
 C. Azure Table storage
 D. Azure Cosmos DB

22. When provisioning an Azure Cosmos DB account, which feature provides redundancy within an Azure
region?
 A. multi-master replication
 B. Availability Zones
 C. the strong consistency level
 D. automatic failover

23. Which storage solution supports role-based access control (RBAC) at the file and folder level?
 A. Azure Disk Storage
 B. Azure Data Lake Storage
 C. Azure Blob storage
 D. Azure Queue storage

24. You need to store data in Azure Blob storage for seven years to meet your company's compliance
requirements. The retrieval time of the data is unimportant. The solution must minimize storage costs.
Which storage tier should you use?
 A. Archive
 B. Hot
 C. Cool

25. You have an application that runs on Windows and requires access to a mapped drive.
Which Azure service should you use?
 A. Azure Files
 B. Azure Blob storage
 C. Azure Cosmos DB
 D. Azure Table storage
26. You manage an application that stores data in a shared folder on a Windows server.
You need to move the shared folder to Azure Storage.
Which type of Azure Storage should you use?
 A. queue
 B. blob
 C. file
 D. tableHide Solution

27. Which setting can only be configured during the creation of an Azure Cosmos DB account?
 A. geo-redundancy
 B. multi-region writes
 C. production or non-production account type
 D. API

28. Which Azure service provides the highest compatibility for databases migrated from Microsoft SQL
Server 2019 Enterprise edition?
 A. Azure SQL Database
 B. Azure Database for MySQL
 C. Azure SQL Managed Instance
 D. an Azure SQL Database elastic pool

29. Your company needs to ensure that an Azure virtual machine can connect to Azure SQL databases
without exposing the databases to the internet.
What should you use?
 A. Azure Application Gateway
 B. Azure Traffic Manager
 C. Azure DNS
 D. Azure Private Link

30. You have a transactional application that stores data in an Azure SQL managed instance.
When should you implement a read-only database replica?
 A. You need to generate reports without affecting the transactional workload.
 B. You need to audit the transactional application.
 C. You need to implement high availability in the event of a regional outage.
 D. You need to improve the recovery point objective (RPO).

31. You need to design and model a database by using a graphical tool that supports project-oriented
offline database development.
What should you use?
 A. Microsoft SQL Server Data Tools (SSDT)
 B. Microsoft SQL Server Management Studio (SSMS)
 C. Azure Databricks
 D. Azure Data Studio

32. You need to ensure that users use multi-factor authentication (MFA) when connecting to an Azure SQL
database.
Which type of authentication should you use?
 A. service principal authentication
 B. Azure Active Directory (Azure AD) authentication
 C. SQL authentication
 D. certificate authentication

33. What is a benefit of hosting a database on Azure SQL managed instance as compared to an Azure SQL
database?
 A. built-in high availability
 B. native support for cross-database queries and transactionsoted
 C. system-initiated automatic backups
 D. support for encryption at rest
34. When you create an Azure SQL database, which account can always connect to the database?
 A. the Azure Active Directory (Azure AD) account that created the database
 B. the server admin login account of the logical server
 C. the Azure Active Directory (Azure AD) administrator account
 D. the sa account

35. A team of developers has computers that run Windows 10 and Ubuntu Desktop.
The developers need to connect to and query an Azure SQL database from each of their computers.
The developers require code assistance features such as
IntelliSense.
What should the developers use?
 A. sqlcmd
 B. Microsoft SQL Server Management Studio (SSMS)
 C. Azure Data Studio
 D. Azure Data Explorer

36. You are deploying a software as a service (SaaS) application that requires a relational database for
Online Transaction Processing (OLTP).
Which Azure service should you use to support the application?
 A. Azure Cosmos DB
 B. Azure HDInsight
 C. Azure SQL Database
 D. Azure Synapse Analytics

37. Which command-line tool can you use to query Azure SQL databases?
 A. sqlcmd
 B. bcp
 C. azdata
 D. Azure CLI

38. You have an e-commerce application that reads and writes data to an Azure SQL database.
Which type of processing does the application use?
 A. stream processing
 B. batch processing
 C. Online Analytical Processing (OLAP)
 D. Online Transaction Processing (OLTP)

39. When can you use an Azure Resource Manager template?


 A. to automate the creation of an interdependent group of Azure resources in a repeatable way
 B. to apply Azure policies for multi-tenant deployments
 C. to provision Azure subscriptions
 D. to control which services and feature administrators and developers can deploy from the Azure portal

40. You have an Azure SQL database that you access directly from the Internet.
You recently changed the public IP address of your computer.
After changing the IP address, you can no longer access the database. You can connect to other
resources in Azure.
What is a possible cause of the issue?
 A. role-based access control (RBAC)
 B. Dynamic Host Configuration Protocol (DHCP)
 C. Domain Name Service (DNS)
 D. a database-level firewall

41. Your company needs to implement a relational database in Azure. The solution must minimize ongoing
maintenance.
Which Azure service should you use?
 A. Azure HDInsight
 B. Azure SQL Database
 C. Azure Cosmos DB
 D. SQL Server on Azure Virtual Machines

42. You are writing a set of SQL queries that administrators will use to troubleshoot an Azure SQL
database.
You need to embed documents and query results into a SQL notebook.
What should you use?
 A. Microsoft SQL Server Management Studio (SSMS)
 B. Azure Data Studio
 C. Azure CLI
 D. Azure PowerShell

43. Which property of a transactional workload guarantees that each transaction is treated as a single unit
that either succeeds completely or fails completely?
 A. atomicity
 B. isolation
 C. durability
 D. consistency

44. You have a SQL query that combines customer data and order data. The query includes calculated
columns.
You need to create a database object that would allow other users to rerun the same SQL query.
What should you create?
 A. an index
 B. a view
 C. a scalar function
 D. a table

45. Your company recently reported sales from the third quarter.
You have the chart shown in the following exhibit. Which type of analysis is shown in the fourth quarter?
 A. predictive
 B. prescriptive
 C. descriptive
 D. diagnostic

46. You need to create an Azure resource to store data in Azure Table storage.
Which command should you run?
 A. az storage share create
 B. az storage account create
 C. az cosmosdb create
 D. az storage container create

47. Which Azure storage solution provides native support for POSIX-compliant access control lists (ACLs)?
 A. Azure Table storage
 B. Azure Data Lake Storage
 C. Azure Queue storage
 D. Azure Files

48. Which type of database is Azure Database for PostgreSQL?


 A. Platform as a service (PaaS)
 B. Infrastructure as a service (IaaS)
 C. Microsoft SQL Server
 D. on-premises

49. Which storage solution supports access control lists (ACLs) at the file and folder level?
 A. Azure Data Lake Storage
 B. Azure Queue storage
 C. Azure Blob storage
 D. Azure Cosmos DB
50. When you create an Azure SQL database, which account can always connect to the database?
A. the Azure Active Directory (Azure AD) account that created the database
B. the server admin login account of the logical server
C. the Azure Active Directory (Azure AD) administrator account
D. the sa accoun

51. You need to gather real-time telemetry data from a mobile application.
Which type of workload describes this scenario?
A. Online Transaction Processing (OLTP)
B. batch
C. massively parallel processing (MPP)
D. streaming

52. You have a dedicated SQL pool in Azure Synapse Analytics that is only used actively every night for
eight hours.
You need to minimize the cost of the dedicated SQL pool as much as possible during idle times.
The solution must ensure that the data remains intact. What should you do on the dedicated SQL pool?
 Scale down the data warehouse units (DWUs).
 B. Pause the pool.
 C. Create a user-defined restore point.
 D. Delete the pool

53. Which Azure Data Factory component initiates the execution of a pipeline?
 a control flow
 B. a trigger
 C. a parameter
 D. an activity

54. Your company has a reporting solution that has paginated reports. The reports query a dimensional
model in a data warehouse.
Which type of processing does the reporting solution use?
 stream processing
 B. batch processing
 C. Online Analytical Processing (OLAP)
 D. Online Transaction Processing (OLTP)

55. What is the primary purpose of a data warehouse?


 to provide answers to complex queries that rely on data from multiple sources
 B. to provide transformation services between source and target data stores
 C. to provide read-only storage of relational and non-relational historical data
 D. to provide storage for transactional line-of-business (LOB) applications

56. What should you use to build a Microsoft Power BI paginated report?
 Charticulator
 B. Power BI Desktop
 C. the Power BI service
 D. Power BI Report Builder

57. Which scenario is an example of a streaming workload?


 A. sending transactions that are older than a month to an archive
 B. sending transactions daily from point of sale (POS) devices
 C. sending telemetry data from edge devices
 D. sending cloud infrastructure metadata every 30 minutes

58. A bar chart showing year-to-date sales by region is an example of which type of analytics?
 A. predictive
 B. prescriptive
 C. descriptive
 D. diagnostic

59. You need to perform hybrid transactional and analytical processing (HTAP) queries against Azure
Cosmos DB data sources by using Azure Synapse Analytics.
What should you use?
 A.Synapse pipelines
 B. a Synapse SQL pool
 C. Synapse Link
 D. Synapse Studio

60. What should you create in Power BI Desktop?


 A. a waterfall chart cascade
 B. a ribbon chart
 C. a bar chart
 D. a decomposition tree

61. You need to develop a solution to provide data to executives. The solution must provide an interactive
graphical interface, depict various key performance indicators, and support data exploration by using
drill down.
What should you use in Microsoft Power BI?
 a view
 B. a report
 C. a dataflow
 D. Microsoft Power Apps

62. You have a quality assurance application that reads data from a data warehouse.
Which type of processing does the application use?
 A. Online Transaction Processing (OLTP)
 B. batch processing
 C. Online Analytical Processing (OLAP)
 D. stream processing

63. Which Azure Data Factory component provides the compute environment for activities?
 A. SSIS packages
 B. an integration runtime
 C. a control flow
 D. a pipeline

64. You need to use Transact-SQL to query files in Azure Data Lake Storage Gen 2 from an Azure Synapse
Analytics data warehouse.
What should you use to query the files?
 Azure Functions
 B. Microsoft SQL Server Integration Services (SSIS)
 C. PolyBase
 D. Azure Data Factory

65. Which Azure Storage service implements the key/value model?*


 A. Azure Queue
 B. Azure Files
 C. Azure Table
 D. Azure Blob

77. In an analytical data model, which type of table contains entities that are used to aggregate numeric
values, where each entity is represented by a row with a unique key value?
 A. bridge
 B. dimension
 C. fact
78. Which type of Azure resource supports the serverless configuration of an Azure SQL database?
 A. SQL Server on Azure Virtual Machines
 B. an Azure SQL Database elastic pool
 C. a single database in Azure SQL Database
 D. Azure SQL Managed Instance

79. Your company needs to ensure that an Azure virtual machine can connect to Azure SQL databases
without exposing the databases to the internet.
What should you use?
 A. Azure Application Gateway
 B. Azure Traffic Manager
 C. Azure DNS
 D. Azure Private Link

80. You need to store data in Azure Blob storage for seven years to meet your company's compliance
requirements. The retrieval time of the data is unimportant. The solution must minimize storage costs.
Which storage tier should you use?
 A. Archive
 B. Hot
 C. Cool

81. What is a characteristic of batch processing?


 A. The data ingested during batch processing must be processed as soon as the data is received.
 B. Large datasets must be split into batches of less than 1 GB before the data can be processed.
 C. There is a noticeable time delay between ingesting data and obtaining the data processing results. Most Vo
 D. Batch processing can only process data that is structured.

82. You have an Azure Cosmos DB account that uses the Core (SQL) API.
Which two settings can you configure at the container level? Each correct answer presents a complete
solution.
NOTE: Each correct selection is worth one point.
 A. the throughput
 B. the read region
 C. the partition key
 D. the API

83. At which two levels can you set the throughput for an Azure Cosmos DB account? Each correct answer
presents a complete solution. NOTE: Each correct selection is worth one point.
 A . database
 B. item
 C. partition
 D. container

84. What are two uses of data visualization? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.


 A Represent trends and patterns over time
 B. Implement machine learning to predict future values
 C. Communicate the significance of data
 D. Enforce business logic across reports

85. Which two Azure services can be used to provision Apache Spark clusters? Each correct answer presents
a complete solution.
NOTE: Each correct selection is worth one point.
 A. Azure Time Series Insights
 B. Azure HDInsight
 C. Azure Databricks
 D. Azure Log Analytics
86. Which two activities can be performed entirely by using the Microsoft Power BI service without relying on
Power BI Desktop? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
 A. report and dashboard creation
 B. report sharing and distribution
 C. data modeling
 D. data acquisition and preparation

87. What are two benefits of platform as a service (PaaS) relational database offerings in Azure, such as
Azure SQL Database? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
 A. access to the latest features
 B. complete control over backup and restore processes
 C. in-database machine learning services
 D. reduced administrative effort for managing the server infrastructureted

88. You need to create an Azure Storage account.


Data in the account must replicate outside the Azure region automatically.
Which two types of replication can you use for the storage account? Each correct answer presents a
complete solution.NOTE: Each correct selection is worth one point.
 A. zone-redundant storage (ZRS)
 B. read-access geo-redundant storage (RA-GRS)
 C. locally-redundant storage (LRS)
 D. geo-redundant storage (GRS)

87. What are two characteristics of real-time data processing? Each correct answer presents a complete
solution.NOTE: Each correct selection is worth one point.
 A. Data is processed periodically
 B. Low latency is expected
 C. High latency is acceptable
 D. Data is processed as it is created

88. You need to query a table named Products in an Azure SQL database.
Which three requirements must be met to query the table from the internet? Each correct answer presents
part of the solution.
NOTE: Each correct selection is worth one point.
 A. You must be assigned the Reader role for the resource group that contains the database.
 B. You must have SELECT access to the Products table.
 C. You must have a user in the database.
 D. You must be assigned the Contributor role for the resource group that contains the database.
 E. Your IP address must be allowed to connect to the database. Most Voted

89. Which three objects can be added to a Microsoft Power BI dashboard? Each correct answer presents a
complete solution.
NOTE: Each correct selection is worth one point.
 A. a report page
 B. a Microsoft PowerPoint slide
 C. a visualization from a report
 D. a dataflow
 E. a text box

90. What are three characteristics of an Online Transaction Processing (OLTP) workload? Each correct
answer presents a complete solution.
NOTE: Each correct selection is worth one point.
 A. denormalized data
 B. heavy writes and moderate reads
 C. light writes and heavy reads
 D. schema on write
 E. schema on read
 F. normalized data

91. You need to query a table named Products in an Azure SQL database.
Which three requirements must be met to query the table from the internet? Each correct answer presents
part of the solution.
NOTE: Each correct selection is worth one point.
 A. You must be assigned the Reader role for the resource group that contains the database.
 B. You must have SELECT access to the Products table.
 C. You must have a user in the database.
 D. You must be assigned the Contributor role for the resource group that contains the database.
 E. Your IP address must be allowed to connect to the database.

You might also like