$R6RN116
$R6RN116
Email *
0 of 0 points
Name *
Mobile No *
781040756
CDAC Mumbai(Kharghar)
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 1/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
AUTO_INCREMENT
UNSIGNED
IDENTIFY
DESCRIBE
When you see SQL statements to create or modify the structure of a 1/1
database, SQL is being used as :
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 2/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
A MySQL subquery is called an inner query while the query that contains the
subquery is called an outer query
Correct answer
Different views can be created on the same table for different users.
A view can hide the complexity that exists in multiple table join.
Correct answer
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 3/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Which index maintenance task discards the entire index and recreates it? 0/1
Refresh
Remake
Reorganize
Rebuild
Correct answer
Rebuild
When compared to relational databases, NoSQL databases are more scalable and
provide superior performance.
Non-Relational databases require that schemas be defined before you can add
data.
NoSQL databases are built to allow the insertion of data with a predefined
schema
Correct answer
When compared to relational databases, NoSQL databases are more scalable and
provide superior performance.
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 4/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Foreign keys refer to the primary key in another table to link the two tables
together
Foreign keys refer to a foreign key in another table to link the two tables together
Embedded Query
Subquery
Secondary Query
Join Query
Which operator is used to test whether or not a value lies within a specific 1/1
range?
LIKE
BETWEEN
IN
FOR
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 5/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
How can a constraint be placed on a table where a field will contain the 0/1
value "Rohan" if nothing is provided?
Correct answer
The names of columns can be altered in a query's result by using the 0/1
____________ keyword.
NAMED
RENAME
ALIAS
AS
Correct answer
AS
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 6/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Correct answer
Only 1
Only 2
Depends on no of Columns
Depends on DBA
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 7/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
To iterate the cursor and return more documents, which one of the 0/1
following keyword in the mongo shell would we type?
Cursor
it
next
more
Correct answer
next
In MongoDB, field names cannot start with the dollar sign ($) character
BSON documents cannot have more than one field with the same name
Correct answer
BSON documents cannot have more than one field with the same name
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 8/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Correct answer
What does "OPEN cursor_name" statement would do when working with 1/1
cursors in MYSQL (cursor_name is any string value eg: OPEN
rowsToProcess)
Fetches the next row for the SELECT statement associated with the specified
cursor
Declares a cursor
Closes a cursor
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6sB… 9/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
To get all the rows that are common in both tables based on the condition 0/1
specified, use ______________.
Self Join
Inner Join
Outer Join
Full Join
Correct answer
Inner Join
In MySQL, if you would like to throw your own exceptions, you can do so by 0/1
changing SQLSTATE using _______________ keyword.
SIGNAL
SQLEXCEPTION
DECLARE
END
Correct answer
SIGNAL
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 10/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
SQL server
MongoDB
Cassandra
Hbase
Correct answer
SQL server
Failed operations are ignored, and the transaction continues with the
successful operations
if any of the operations fails, then those operations are flagged for review at the end
of the transaction.
If any of the operations fails, then the entire group of operations is deleted from the
database?
if any of the operations fails, then the entire group of operations fail.
Correct answer
if any of the operations fails, then the entire group of operations fail.
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 11/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
MySQL removes the temporary table automatically when the session ends or
the connection terminated
A temporary table can have the same name as a normal table in a database.
Correct answer
For which of the following MySQL Triggers are not supported? 1/1
delete
update
insert
views
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 12/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
When you use an aggregate function without a groupby clause, how many 0/1
results do you expect?
One
Two
Zero
Correct answer
One
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 13/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Option 1 Option 2
Option 3 Option 4
Correct answer
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 14/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Option 1
Which code returns the only column pgdac, pgdbda and pgdesd from the 0/1
cdac table?
Correct answer
Correct answer
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 15/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Which of the these tasks can you accomplish using SQL as a DML? 1/1
What is the difference between a PRIMARY KEY and a UNIQUE KEY? 0/1
Primary key can store null value, where as a unique key cannot store null value
Primary key has unique and not null value, where as a unique key has unique values
Primary key has unique values whereas a unique key has unique and not null
value
Correct answer
Primary key has unique and not null value, where as a unique key has unique values
SAVEPOINT
COMMIT
ROLLBACK
REVOKE
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 16/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
MyISAM
InnoDB
CSV
FEDERAL
Correct answer
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 17/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
IF boolean_expression { statement_block} FI
The standard user and application program and statement interface(API) 1/1
of a relational database is the
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 18/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
Which of the following function returns the current date and time? 1/1
CURRENT_TIMESTAMP
TIMESTAMP
CURDATE
CURTS
Which of the following command is used to insert data into collection in 1/1
MongoDB?
db.COLLECTION_NAME.update(document)
db.COLLECTION_NAME.insert(document)
db.COLLECTION_NAME.create(document)
db.COLLECTION_NAME.insertOne(document)
SQL:2000
SQL:2003
SQL:2005
Correct answer
SQL:2003
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 19/20
8/24/22, 11:29 PM Database Technologies(DBT) Mock CCEE
The ___command can be used to show the metadata regarding the table 0/1
created.
SHOW
EXPLAIN
FIND
DESC
Correct answer
DESC
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy
Forms
https://docs.google.com/forms/d/e/1FAIpQLSeRptBpd6vOwIiuPwRnD2Tx9_FIIjPLwS3hLDj6lKMDVV7UWQ/viewscore?viewscore=AE0zAgDfBO6s… 20/20