Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Point out the correct statement :
  1.    The full-text index includes only one character-based column in the table
  2.    The full-text index includes more than one character-based columns in the table
  3.    The full-text index includes one or more character-based columns in the table
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> The full-text index includes one or more character-based columns in the table


Each full-text index indexes one or more columns from the table, and each column can use a specific language.


Question 2. Which of the following is not a XML storage option ?
  1.    Native storage as XML data type
  2.    Mapping between XML and relational storage
  3.    Small object storage
  4.    None of the Mentioned
 Discuss Question
Answer: Option C. -> Small object storage


XML uses large object storage which uses varchar(max) and varbinary(max).


Question 3. Full-text search is an ________ component of the SQL Server Database Engine
  1.    slower
  2.    optimal
  3.    faster
  4.    none of the mentioned
 Discuss Question
Answer: Option B. -> optimal


Full-text queries perform linguistic searches against text data in full-text indexes.


Question 4. The choice of XML technology, native XML versus XML view, generally depends upon the following factors:
  1.    Storage options
  2.    Query capabilities
  3.    Indexing
  4.    All of the Mentioned
 Discuss Question
Answer: Option D. -> All of the Mentioned


Different XML choices may also have different performance characteristics.


Question 5. Point out the correct statement :
  1.    HierarchyID data type maps the data as a hashmap, so when traversing the binary tree structure
  2.    In real scenarios, you always need to create indexes using HierarchyID data type
  3.    In HierarchyID, we create indexes in order to make the traversal efficient
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> In HierarchyID, we create indexes in order to make the traversal efficient


In order to make the query execution efficient, we create indexes.


Question 6. The space use of XML indexes can be found in the table-valued function named?
  1.    sys.dm_db_index_physical_stats
  2.    sys.dm_db_index_phy_stats
  3.    sys.dm_db_index_plan_stats
  4.    sys.dm_db_index_table_stats
 Discuss Question
Answer: Option A. -> sys.dm_db_index_physical_stats


sys.dm_db_index_physical_stats provides information, such as the number of disk pages occupied, average row size in bytes, and number of records, for all index types.


Question 7. Statement for dropping XML index is :
  1.    DROP INDEX
  2.    DELETE INDEX
  3.    REMOVE INDEX
  4.    None of the Mentioned
 Discuss Question
Answer: Option A. -> DROP INDEX


The DROP INDEX (Transact-SQL) Transact-SQL statement can be used to drop existing primary or secondary XML and non-XML indexes.


Question 8. Different xml modes available for xml clauses are :
  1.    RAW
  2.    AUTO
  3.    PATH
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned


Within the FOR XML clause,we specify an XML mode: RAW, AUTO, EXPLICIT or PATH.


Question 9. SQL Server lets you define how many types of secondary XML indexes?
  1.    3
  2.    4
  3.    5
  4.    6
 Discuss Question
Answer: Option A. -> 3


Secondary indexes are PATH, VALUE, and PROPERTY.


Question 10. What is every identifier in an XQuery called ?
  1.    Name
  2.    QName
  3.    Qidt
  4.    Qnam
 Discuss Question
Answer: Option B. -> QName


A QName is made up of a namespace prefix and a local name. In this implementation, the variable names in XQuery are QNames and they cannot have prefixes.


Latest Videos

Latest Test Papers