Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Oracle MySQL 8.0 Database Developer 1Z0-909 Exam Questions

Page: 1 / 7 Total 65 questions

Want more questions? Get Premium Access.

Question 1

You are using buffered queries with PHP mysqli in a browser-based web application. Which three are true?

Correct Answer: D. Buffered queries should be used on large tables when the result size is unknown.; F. Buffered queries must be explicitly enabled using mysqliuseresult.; G. Large results can have a negative impact on performance.

Question 2

Which statement is true about the show errors command?

Correct Answer: A. It displays the total number of errors, warnings, and notes since the beginning of the current session.

Question 3

Examine these statements and output:

Now, examine this command:

Mysql> ROLLBACK;

What is true about the effect of the command?

Correct Answer: C. It undoes the insert command.

Question 4

Examine this statement and output:

You execute this statement:

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

What is the output?

Correct Answer: A. product->''$.varieties [4]. origin[1];;

Question 5

Examine this statement which has executed successfully:

Correct Answer: A. Execution performance can be improved by using like instead of RLIKE.

Question 6

You must reclaim memory used by a prepared statement named prep. Which two achieve this?

Correct Answer: C. DROP PROCEDURE prep;; D. SET @prep = NULL;

Question 7

Examine these statements:

SET collation_connection=utf8mb4_0900_as_cs;

SELECT STRCMPCAlice', UCASE ('Alice* )) ;

What is displayed?

Correct Answer: C. -1

Question 8

Examine these commands and output:

Which is true?

Correct Answer: D. It returns an error because the DROP TABLE statement did not drop the view.

Question 9

The meeting table stores meeting schedules with participants from five continents. The participants' details are stored in another table.

You need to adjust the start_time and duration columns for optimal storage. What datatype changes would achieve this?

Correct Answer: C. start_time DATETIME duration DATETIME

Question 10

Examine this statement and output:

CREATE TABLE geom (g GEOMETRY NOT NOLL, SPATIAL INDEX(g) ) ; Query OK, 0 rows affected, 1 warning (0.01 sec)

An attempt is made to add an SRID attribute to the column using the statement:

ALTER TABLE geom MODIFY COLUMN g geometry NOT NULL SRID 0;

Which is true?

Correct Answer: C. An error is generated because the index prevents changes to the column.