Real 1Z1-888 are Uploaded by VCEEngine provide 2022 Latest 1Z1-888 Practice Tests Dumps [Q19-Q41]

Share

Real 1Z1-888 are Uploaded by VCEEngine provide 2022 Latest 1Z1-888 Practice Tests Dumps.

All 1Z1-888 Dumps and MySQL 5.7 Database Administrator Training Courses Help candidates to study and pass the MySQL 5.7 Database Administrator Exams hassle-free!

NEW QUESTION 19
Examine the mydata table and SELECT statements:

You issue:
mysql> begin;
mysql> update mydata set a=0 where b=3;
How many rows are now protected by locks with the default InnoDB configuration?

  • A. one
  • B. one row and a next-key lock for supremum
  • C. five
  • D. one row and a gap-lock

Answer: C

 

NEW QUESTION 20
Consider the index information for the dept_emptable in the employee's schema:

Which two conclusions can be made based on the output of the query? (Choose two.)

  • A. The secondary indexes are optimized for unique key look-ups.
  • B. There is a redundant index on the emp_nocolumn.
  • C. There are three indexes on the table.
  • D. The selectivity of the dept_nocolumn is the best of the indexed columns.
  • E. The values on the emp_nocolumn must be unique.
  • F. There is a redundant index on the dept_nocolumn.

Answer: A,B

 

NEW QUESTION 21
You have been tasked with creating a QA MySQL instance on a DB host, which already has one large instance in /var/lib/mysql/running as the mysqluser. The MySQL configuration file for the existing instance includes:

The default instance was installed using the OS package manager. The latest binaries for both client and server are already in ENV PATH.
The new instance will run as a different user from the existing instance for security purposes.
You create the new data directory successfully and move on to initialize the new DATADIR.
You verify the output to confirm the operation's success:
[mysqlQA@linux /var/lib/]$ mysqld --initialize --datadir=/var/lib/mysql_QA 2>&1 | tail -n3
2018-05-03T12:16:10.928809Z 0 [ERROR] Could not open file '/var/log/mysqld.log' for error logging:
Permission denied
2018-05-03T12:16:10.928841Z 0 [ERROR] Aborting
[mysqlQA@linux /var/lib/]$
The initialization of the instance has failed.
What would you do to enable the initialization to succeed?

  • A. Change permissions on /var/log/mysqld.log to allow writes.
  • B. Use --no-defaults to ignore the existing config file in the default PATH.
  • C. Use mysql_install_db.
  • D. Pass --log-error=/var/lib/mysql_QA/mysqld.log.

Answer: C

Explanation:
mysql_install_db handles initialization tasks that must be performed before the MySQL server, mysqld, is ready to use.
Reference: https://dev.mysql.com/doc/refman/5.7/en/mysql-install-db.html

 

NEW QUESTION 22
What are three methods to reduce MySQL server exposure to remote connections? (Choose three.)

  • A. using the sql_mode=STRICT_SECURE after connections are established for encrypted communications
  • B. using SSL when transporting data over remote networks
  • C. setting --mysql_secure_configuration to enable paranoid mode
  • D. setting --skip-networking when remote connections are not required
  • E. setting specific GRANT privileges to limit remote authentication

Answer: B,D,E

 

NEW QUESTION 23
A MySQL database uses all InnoDB tables and is configured as follows;

You will be setting up a replication slave by using mysqldump. You will need a consistent backup taken from your running production server. The process should have minimal impact to active database connections.
Which two arguments will you pass to mysqldump to achieve this?

  • A. --master-data
  • B. --skip-opt
  • C. --single-transaction
  • D. --lock-all-tables
  • E. --create-apply-log

Answer: B,D

 

NEW QUESTION 24
You have a MySQL replication setup and you intentionally stop the SQL thread on the slave.

What are two reasons that you may stop the SQL thread on the slave while keeping the I/O thread running?

  • A. to allow a backup to be created under reduced load
  • B. to allow for point-in-time recovery on the slave
  • C. to prevent schema changes from propagating to the slave before they are validated
  • D. to allow the remaining events to be processed on the slave while not receiving new events from the master
  • E. to prevent any transaction experiencing a deadlock

Answer: A,B

 

NEW QUESTION 25
On a master server that is using statement-based replication, a table of log data has become very large. You decide to delete 100.000 rows.
Which two methods can be independently invoked to ensure that the delete is properly propagated to the slave? (Choose two.)

  • A. If the data modification is non-deterministic, the query optimizer will resolve any potential issues.
  • B. Use the limit clause to limit the deletion to 100.000 rows.
  • C. Change the replication mode to mixed before issuing any delete statements when the limit clause is used.
  • D. Use the limit clause in conjunction with the order 3Y clause.

Answer: C,D

 

NEW QUESTION 26
You have the following in your my.cnf configuration file:
[mysqld]
default_authentication_plugin=sha256_password
You want to create a new user who will be connecting from the IP address 192.0.2.10, and you want to use the authentication plug-in that implements SHA-256 hashing for user account passwords.
Which two statements would create a user named webdesign for this IP address with the password of imbatman using a SHA_256 password hash? (Choose two.)

  • A. CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED WITH sha256_password BY
  • B. 'imbatman';
    CREATE USER WITH sha256_password 'sha256_user'@'192.0.2.10' IDENTIFIED AS
  • C. 'imbatman';
    CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED BY SHA265 AS 'imbatman';
  • D. 'webdesign' USING 'imbatman';
    CREATE USER 'webdesign'@'192.0.2.10' WITH mysql_native_password USING SHA265 BY
  • E. sha256_password 'imbatman';
    CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED BY 'iambatman';
  • F. CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED AS sha256_user WITH

Answer: C,E

Explanation:
Explanation/Reference: https://dev.mysql.com/doc/refman/8.0/en/sha256-pluggable-authentication.html

 

NEW QUESTION 27
Which statement is true about using Microsoft Windows Cluster as a platform for MySQL?

  • A. It is a shared-nothing architecture.
  • B. It is provided by means of IP-level disk replication.
  • C. It implements High Availability by using the NET Connector's load balancing capabilities.
  • D. It relies on the shared disk architecture being visible to both servers.

Answer: D

 

NEW QUESTION 28
You have a MySQL instance with the following variables in the /etc/my.cnf file:

You issue these statements:
USE prices;
UPDATE sales.january SET amount=amount+1000;
An hour after excluding the statements, you realize that you made a mistake and you want to go to the binary log and look at the statements again.
Which statement is true? (Choose two.)

  • A. The statement would fail because you cannot update more than one row at a time when using ?
    binlogformat = ROW.
  • B. The changes caused by the UPDATE statement are logged to the binary log because the instance is using --binlog-format = ROW
  • C. Nothing is logged because you are executing an UPDATE statement that will cause changes to more than one row, and you do not have the --binlog-format value set to STATEMENT.
  • D. Nothing was written to the binary log because you cannot perform a calculation in a query without enclosing the statement in single quotation marks.
  • E. You would receive an error on the statement because you cannot update a different database that what is specified with the USE statement.

Answer: C,D

 

NEW QUESTION 29
These details are shown when logged in to an account:

Which set of statements would match the accounts shown?

  • A. mysql> CREATE_USER ''@'' IDENTIFIED WITH authentication_pam ACCOUNT LOCK; mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets'; mysql> GRANT PROXY ON 'employee'@'localhost' TO ''@'';
  • B. mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets'; mysql> CREATE USER ''@'' IDENTIFIED BY 'valid_password' WITH PROXY
    'employee'@'localhost';
  • C. mysql> CREATE USER 'robert'@'localhost' IDENTIFIED BY 'secret_password'; mysql>CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets';
  • D. mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets'; mysql> GRANT PROXY ON 'employee'@'localhost' TO 'robert'@'localhost';

Answer: A

 

NEW QUESTION 30
A MySQL Server has been running an existing application successfully for six months. The my.cnf is adjusted to contain this additional configuration:

The MySQL Server is restarted without error.
What effect will the new configuration have on existing account?

  • A. They will have to change their password the next time they login to the server.
  • B. They all connect via the secure sha256_passwordalgorithm without any configuration change.
  • C. They will have their passwords updated on start-up to sha256_passwordformat.
  • D. They are not affected by this configuration change.

Answer: D

 

NEW QUESTION 31
This output is from a SHOW SLAVE STATUS:

What would cause the SQL_Delay variable to have a value of 360?

  • A. The master has performed a large transaction, which will take 360 seconds to complete on the slave.
  • B. The slave was configured for delayed replication with a delay of six minutes.
  • C. The network latency between the master and the slave is 360 milliseconds.
  • D. The slave will need an estimated 360 seconds to update the remaining contents from the relay log.

Answer: B

Explanation:
https://docs.oracle.com/cd/E17952_01/mysql-5.7-en/show-slave-status.html

 

NEW QUESTION 32
You have created a backup of the 'sales' database with the command:

Which two procedures can be used to restore the 'orders' table from the backup?

  • A.
  • B.
  • C.
  • D.

Answer: A,C

 

NEW QUESTION 33
You attempt to connect to a MySQL Server by using the mysql client program. However, you receive this notice:

What would you run to fix the issue?

  • A. the mysql client with the --ignore-password-hashing option
  • B. the install plugin command for the mysql_cleartext_password plugin
  • C. the mysql_secure_installation script to update server security settings
  • D. the mysql_upgrade script
  • E. the mysql client with the --enable-cleartext-plugin option

Answer: C

 

NEW QUESTION 34
You want to create the first configuration file for a new installation of MySQL.
- You will start mysqldmanually (not automate it to start when the host machine starts or execute as a service).
- You will stop mysqldusing mysqladmin.
- You will interact with mysqldby using only the command-line client mysql.
Which option identifies a maximal set of sections where you can put the "max_allowed_packet=16M" parameter without creating a problem?

  • A. [mysqld] and [mysqladmin]
  • B. [mysqladmin]
  • C. [mysqld]
  • D. [mysql] and [mysqladmin]
  • E. [mysql] and [mysqld]
  • F. [mysql]
  • G. [mysql] and [mysqld] and [mysqladmin]

Answer: F

Explanation:
https://dev.mysql.com/doc/refman/8.0/en/program-variables.html

 

NEW QUESTION 35
These details are shown when logged in to an account:

Which set of statements would match the accounts shown?

  • A. mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets';mysql> CREATE USER ''@'' IDENTIFIED BY 'valid_password' WITH PROXY 'employee'@'localhost';
  • B. mysql> CREATE_USER ''@'' IDENTIFIED WITH authentication_pam ACCOUNT LOCK;mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets';mysql> GRANT PROXY ON 'employee'@'localhost' TO ''@'';
  • C. mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets';mysql> GRANT PROXY ON 'employee'@'localhost' TO 'robert'@'localhost';
  • D. mysql> CREATE USER 'robert'@'localhost' IDENTIFIED BY 'secret_password';mysql>CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets';

Answer: B

 

NEW QUESTION 36
An admin attempts to enforce stronger security by using these commands:

The admin then leaves the system running with the specified changes. What are two remaining security concerns?

  • A. The validate_password plug-in has not been loaded.
  • B. The name of the dictionary file is too obvious.
  • C. validate_password_policy cannot be set without restarting the MySQL instance.
  • D. The dictionary file word list is too short.
  • E. validate_password_dictionary_file cannot be set without restarting the MySQL instance.
  • F. The dictionary file is an insecure location.

Answer: B,F

 

NEW QUESTION 37
You have a server that has very limited memory but has a very large table.
You will use mysqldumpto back up this table.
Which option will ensure mysqldumpwill process a row at a time instead of buffering a set of rows?

  • A. --single-transaction
  • B. --tab
  • C. --quick
  • D. --skip-buffer

Answer: C

Explanation:
Explanation/Reference: http://dev.mysql.com/doc/refman/4.1/en/mysqldump.html

 

NEW QUESTION 38
You have the following in your my.cnf configuration file:
[mysqld]
default_authentication_plugin=sha256_password
You want to create a new user who will be connecting from the IP address 192.0.2.10, and you want to use the authentication plug-in that implements SHA-256 hashing for user account passwords.
Which two statements would create a user named webdesign for this IP address with the password of imbatman using a SHA_256 password hash? (Choose two.)

  • A. CREATE USER WITH sha256_password 'sha256_user'@'192.0.2.10' IDENTIFIED AS 'webdesign' USING 'imbatman';
  • B. CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED AS sha256_user WITH sha256_password 'imbatman';
  • C. CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED BY 'iambatman';
  • D. CREATE USER 'webdesign'@'192.0.2.10' WITH mysql_native_password USING SHA265 BY 'imbatman';
  • E. CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED BY SHA265 AS 'imbatman';
  • F. CREATE USER 'webdesign'@'192.0.2.10' IDENTIFIED WITH sha256_password BY 'imbatman';

Answer: C,E

 

NEW QUESTION 39
Consider the table people with the definition:

The application uses a query such as:
SELECT * FROM people WHERE YEAR(Birthday) = 1980;
The query is not using an index.
Which two methods can be used to allow the query to use an index? (Choose two.)

  • A. Change the WHEREclause to Birthday BETWEEN 1980-01-01 AND 1980-12-31.
  • B. Add a functional index for YEAR(Birthday).
  • C. Add a generated column calculating YEAR(Birthday)and index that column.
  • D. Add FORCE INDEX (Birthday)to the query.
  • E. Execute ANALYZE TABLEto update the index statistics.

Answer: A,D

 

NEW QUESTION 40
What is the best method for monitoring Group Replication conflict resolution?

  • A. the SHOW STATUS command
  • B. the SHOW PROCESSLIST command
  • C. the INFORMATION_SCHEMA tables
  • D. the INNODB Lock Monitor details
  • E. the PERFORMANCE_SCHEMA tables

Answer: E

Explanation:
Reference:
https://dev.mysql.com/doc/refman/8.0/en/group-replication-monitoring.html

 

NEW QUESTION 41
......

Valid Way To Pass Oracle's 1Z1-888 Exam with : https://www.vceengine.com/1Z1-888-vce-test-engine.html