Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Oracle 1z0-909 Practice Exam with Questions & Answers

Questions 1

Examine this statement:

1z0-909 Question 1

Options:
A.

Inserting COMMIT; SET @m :=: before line 4

B.

user who creates the procedure needing the create and execute privileges

C.

user who creates the procedure needing the create routine privilege

D.

inserting USE ; before line 3

E.

Inserting DEFINER 'username '@' localhost' clause into the CREATE PROCEDURE statement

Oracle 1z0-909 Premium Access
Questions 2

Examine this statement which executes successfully:

SET @ir := 2;

Which query updates the value of @r to 0?

Options:
A.

SELECT 'Car' REGEXP('Ca?') >= 0 INTO @r;

B.

SELECT STRCMP(‘Car'/Ca?') >= 0 INTO @r;

C.

SELECT 'Car' LIKE 'Ca?' INTO @r;

D.

SELECT 'Car' RLIKE 'Ca?' INTO @r;

Questions 3

You must write a statement that combines the first_name and last_name columns from the

employees table as "last_name, first_name."

Which two statements will do this?

Options:
A.

SELECT last_name + ', ' + first_name FROM employees;

B.

SELECT CONCAT_WS(', ',last_name,first_name) FROM employees;

C.

SELECT GROUP_CONCAT(last_name, first_name) FROM employees;

D.

SELECT last_name, ‘ , ',first_name FROM employees;

E.

SELECT CONCAT(last name,', ',first_name) FROM employees;

Questions 4

A server hosts MySQL Server and Apache Webserver supporting a PHP/PDO based application.

The application must be migrated from PHP to their Java application server on another host. The MySQL instance remains on the original host.

Examine the PDO connection string used in the existing application:

Mysql:host-localhost;dbname=sales;unix_socket=/var/run/mysql.sock

Which two prevent Java from using the Unix socket?

Options:
A.

The X Dev API protocol must be enabled to use sockets in Connector/J driver.

B.

The socket is not implemented in Connector/J driver.

C.

The socket can only be accessed from the local host.

D.

socket is a reserved word in Java.

E.

Java treats the socket file as insecure.

Questions 5

Examine this statement and output:

1z0-909 Question 5

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.

Questions 6

Your session has sqi_mode set to default.

Examine this statement which executes successfully:

1z0-909 Question 6

Now examine this statement:

1z0-909 Question 6

Which two changes are required to the insert statement so that it inserts the correct data?

• std_id = 10301

• firstname = Mary

• lastname = O'Hagen

• birthdate = November 26, 1997

• reg_date = the current date

Options:
A.

Change DATE () to DAY ().

B.

Change "O'Hagen" to 'o\'Hagen'.

C.

Change date () to CURRENT_TIMESTAMP () .

D.

Change " NULL " to NULL.

E.

Change " NULL " to ' NULL ' .

F.

Change "O'Hagen" to "O\'Hagen".

Questions 7

Examine this bar graph based on columns from the players table:

1z0-909 Question 7

Which two statements would generate this bar graph?

Options:
A.

SELECT Name, Gender, Sport, REPEAT('# 'Y GPA*10) AS GPA_Graph FROM players ORDER BY GPA DESC;

B.

SELECT Name, Gender, Sport, LENGTH (GPA*10, '# ') AS GPA_Graph FROM players ORDER BY GPA DESC;

C.

SELECT Name, Gender, Sport, CHAR_LENGTH ('# ' GPA*10) AS GPA_Graph FROM players ORDER BY GPA DESC;

D.

SELECT Name, Gender, Sport, RPAD ('# ' GPA*10) AS GPA_Graph FROM players ORDER BY GPA DESC;

E.

SELECT Name, Gender, Sport, CONCAT ('# ' GPA*10) AS GPA_Graph FROM players ORDER BY GPA DESC;

Questions 8

Examine these my.cnf settings:

1z0-909 Question 8

Examine this entry from /data/slow.log

1z0-909 Question 8

Which option is also set in my.cnf?

Options:
A.

log_queries_not_using_indexes

B.

log__slow_admin_statements=1

C.

log_queries_not_using_indexes=ON

D.

log_throttle_queries_not_using_indexes=100

Questions 9

Examine these lines of Python code:

1z0-909 Question 9

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))

Questions 10

Examine these statements:

SET collation_connection=utf8mb4_0900_as_cs;

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

What is displayed?

Options:
A.

0

B.

ERROR: 1267 (HYOOO): Illegal mix of collations

C.

-1

D.

NULL

E.

1

Exam Code: 1z0-909
Certification Provider: Oracle
Exam Name: MySQL 8.0 Database Developer
Last Update: Jul 9, 2025
Questions: 65
PDF + Testing Engine
$164.99
$66
Testing Engine
$124.99
$50
PDF (Q&A)
$104.99
$42