Pass the Oracle MySQL Developer 1z0-909 Questions and answers with CertsForce

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

Examine this statement and output:

Question # 11

What causes the error?

Options:

A.

The engine is disabled.


B.

The set local_infile option has not been enabled.


C.

The database user does not have sufficient privilege.


D.

The database server process does not have sufficient privilege.


E.

The database client process does not have sufficient privilege.


F.

The database server is running in read-only mode.


Expert Solution
Questions # 12:

Which two differences exist between the timestamp and date time data types?

Options:

A.

timestamp has larger range of values.


B.

timestamp uses less storage space.


C.

timestamp stores more decimal points in seconds


D.

timestamp converts the value based on the session time zone.


E.

timestamp stores the interval between two dates.


Expert Solution
Questions # 13:

Examine this statement:

DECLARE not_found CONDITION FOR SQLSTATE '02000';

In which two statements can not found be used?

Options:

A.

in a leave statement to exit a loop


B.

in an if statement


C.

in a while loop


D.

in a handler declaration


E.

in a signal statement


Expert Solution
Questions # 14:

Examine the structure of the emp table:

Question # 14

Examine the structure of the emp_vu1 view based on the emp table:

Question # 14

Now, examine this statement:

mysq1> INSERT INTO emp_vul VALUES ('Alice',20000) ;

What is true about executing the statement?

Options:

A.

It inserts a row in the emp table.


B.

It returns an error because an insert operation is not allowed on views.


C.

It inserts a row in the view only.


D.

It returns an error because the PRIMARY ACCOUNT column is not selected for the view definition.


Expert Solution
Questions # 15:

Examine these commands which execute successfully in the sequence shown in Sessions S1 and S2:

Question # 15

Now, examine this statement that execute successfully in s1:

S1> SELECT * FROM emp;

Which is true about the result of the select statement?

Options:

A.

The inserted row is returned because the transaction is auto committed in S2.


B.

The inserted row is not returned because the isolation level is READ COMMITTED in S2.


C.

The inserted row is not returned because the transaction still active in s2.


D.

The inserted row is returned because the isolation level is RPEATABLE READ in S1.


Expert Solution
Questions # 16:

Examine these lines of Python code:

Question # 16

You must add a line of code to complete the code to return data to the variable d. Which line will do this?

Options:

A.

d = cursor.execute(query)


B.

d = cursor.execute(query, (hire_start, hire_end) )


C.

d = cursor.fetch(query % (hire_start, hire_end))


D.

d = cursor.fetch(query, (hire_start, hire_end))


E.

d = cursor . f etchall (query)


F.

d = cursor.fetchall(query, (hire_start, hire_end))


Expert Solution
Questions # 17:

Which two statements are true about AUTO_INCREMENT?

Options:

A.

AUTO_INCREMENT values allocated to a transaction that is rolled back are not reused.


B.

A table can have multiple AUTO_INCREMENT columns.


C.

A server restart always resets the AUTO_INCREMENT value to largest value in the AUTO_INCREMENT column plus 1.


D.

The decimal data type supports AUTO_INCREMENT.


E.

An AUTO_INCREMENT column must be indexed.


Expert Solution
Questions # 18:

Examine this statement and output:

Question # 18

You execute this statement:

SELECT JSON_SEARCH(product,'one','IT') FROM fshop ;

What is the output?

Options:

A.

product->''$.varieties [4]. origin[1];;


B.

''$.varieties[4]. origin[1]''


C.

product->varieties[3]. origin[0]''


D.

''$.varieties [3]. origin[0]''


Expert Solution
Questions # 19:

Examine this statement and output:

Question # 19

Which is true?

Options:

A.

The underlying table's index on the Name column is not chosen because of low selectivity.


B.

myview cannot be automatically indexed.


C.

myview was defined with the temptable processing algorithm.


D.

Column Name in myview can be indexed if the is_updatable attribute is true.


Expert Solution
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions