You are using buffered queries with PHP mysqli in a browser-based web application. Which three are true?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
DFG
Explanation
:
Q: 2
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
BE
Explanation
:
Q: 3
The collection col contains all episodes for all seasons for a TV show.
Examine this document which has an example of the details for each episode:
Which query returns all expisode names from the first season?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Explanation
:
Q: 4
Examine this statement which has executed successfully:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 5
Examine these statements:
SET collation_connection=utf8mb4_0900_as_cs;
SELECT
STRCMPCAlice',
UCASE ('Alice* )) ;
What is displayed?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 6
The continent column in the country table contains no null values.
Examine this output:
A)
B)
C)
D)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 7
Examine this event's metadata:
Now examine this command:
DROP USER
'userl'e'localhost';
Which effect will the command have on the event?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Explanation
:
Q: 8
Examine these commands and output:
Which is true?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Explanation
:
Q: 9
Which select statement returns true?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Explanation
:
Q: 10
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?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 11
Which change will prevent negative ages to be inserted into the people table?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Explanation
Thank you for your visit.
Q: 12
What is an advantage of using mysqli in PHP programs rather than using PHP Data Objects (PDO)?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 13
Examine the structure of the emp table:
Examine the structure of the emp_vu1 view based on the emp table:
Now, examine this statement:
mysq1> INSERT INTO emp_vul VALUES ('Alice',20000) ;
What is true about executing the statement?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 14
Examine this statement and output:
What causes the error?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Explanation
:
Q: 15
Which two differences exist between the timestamp and date time data types?