oracle.testkings.1z0-320.v2019-03-08.by.anna€¦ · 08/03/2019  · b. a cli-based wizard mysql...

27
https://www.gratisexam.com/ 1z0-320.50q Number : 1z0-320 Passing Score : 800 Time Limit : 120 min https://www.gratisexam.com/ 1z0-320 MySQL Cloud Service 2018 Implementation Essentials

Upload: others

Post on 18-Jul-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

1z0-320.50q

Number: 1z0-320Passing Score: 800Time Limit: 120 min

https://www.gratisexam.com/

1z0-320

MySQL Cloud Service 2018 Implementation Essentials

Page 2: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Exam A

QUESTION 1You get a Maintenance notification about your Oracle MySQL Cloud Service. What are the implications?

A. There are no maintenance operations planned. You need to do them manually.B. Depending on the planned outage, you may not be affected by it. You need to read the maintenance details in the support notice.C. You need to agree to the maintenance windows. If not, you are not affected by the outage.D. You can expect an outage of your MySQL Cloud Service during the planned time.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 2A keyfile has been generated as follows:# openssl rand 32 –hex >keyfile# cat keyfile6a1d325e6ef0577f3400b7cd624ae574f5186d0da2eeb946895de418297ed75b

You are required to do a backup on the MySQL database using MySQL Enterprise Backup with encryption.

Which option can perform the backup with the keyfile provided in order to encrypt the backup files?

https://www.gratisexam.com/

A. # mysqlbackup - - backup-image=/backups/image.enc - - encrypt - -key-file= keyfile - -backup-dir=/var/tmp/backup backup-to-imageB. # mysqlbackup- - encrypt - -key-file=keyfile - -backup-dir=/var/tmp/backup backupC. # mysqlbackup - - backup-image=/backups/image.enc - - encrypt- - encrypt-key=keyfile - - backup-dir=/var/tmp/backup backup-to-imageD. # mysqlbackup - - backup-image=/backups/image.enc - - encrypt - -key=keyfile - -backup-dir=/var/tmp/backup backup-to-imageE. # mysqlbackup- - encrypt - -key-file=keyfile - -backup-dir=/var/tmp/backup – timestamp backup

Page 3: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/mysql-enterprise-backup/4.1/en/meb-encryption.html

QUESTION 3You use MySQL Enterprise Monitor for a group of MySQL servers. In recent weeks, the MySQL Enterprise Monitor has slowed down significantly.

Which two preventative actions should you take if your number of monitored MySQL instances has changed?

A. Increase the disk space with at least 10% of the database size.B. Increase the necessary operating system swap space (Linux): mkswap /dev/sdx; swapon/dev/sdx, /etc/fstab.C. Increase the amount of RAM available to the JVM installed with Tomcat. The JVM memory settings are defined by the JAVA_OPTS line of the setenv file, which

sets the environment variables for Tomcat (--JvmMs/-Xms and –JvmMx/-Xmx).D. Tune the InnoDB Buffer Pool of the MySQL Enterprise Monitor Repository database. This can have a significant impact on performance

(innodb_buffer_pool_size).

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.6/en/innodb-buffer-pool.html

QUESTION 4Your newly created MySQL Cloud Service is not available from your application. Select the two correct options that apply.

A. You forgot to create the correct SSL/TLC certificate during the setup process.B. The ‘opc’ user can be used to access MySQL only with the created SSH-Key.C. Only ‘root’ is allowed to access from non-localhost.D. The MySQL instance is still in the “Creation” process.E. You forgot to enable port 3306.

Correct Answer: CESection: (none)Explanation

Page 4: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Explanation/Reference:

QUESTION 5You want to change the default behavior of MySQL Enterprise Monitor (MEM). New instances detected by a MEM agent should automatically monitor discoveredinstances.

How can you change the Advisor Setting?

A. Go to the configuration section (Users) and create a new user according to the existing users of your new MySQL instances.B. Go to the configuration section (Advisors) and edit the default settings of the MySQL Process Discovery according to the existing users of your new MySQL

instances.C. Go to the configuration section (Advisors) and create a new advisor rule for new MySQL instances based on the MySQL Advisor Wizard.D. Go to the configuration section (MEM) and configure the default login credentials.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Reference: https://docs.oracle.com/cd/E17952_01/mysql-monitor-3.0-relnotes-en/news-3-0-0.html

QUESTION 6The MySQL Cloud Service (CS) is a database offering from Oracle. Which three statements are correct?

A. MySQL CS is based on an IaaS Oracle Linux image including full root privileges to the OS.B. Oracle MySQL Enterprise Tools & Plugins are available as optional services (installation Feature Pack I/II).C. MySQL CS is installed based on the Oracle Flexible Architecture Standard.D. MySQL CS is based on the MySQL Enterprise Product Suite.E. MySQL CS is based on the MySQL GPLv2 version from the Oracle Linux 6 with optimizations for the Cloud (Oracle Flexible Architecture Standard).F. MySQL CS configuration can be changed in /etc/my.cnf.

Correct Answer: BDFSection: (none)Explanation

Explanation/Reference:

Page 5: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

QUESTION 7Which three installation options are available for installing the MySQL Enterprise Monitor/Agent on Linux?

A. A GUI for installing MySQL Enterprise Monitor, Agent, and a MySQL Repository databaseB. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository databaseC. A script (with an option file) for installing MySQL Enterprise Monitor, Agent, and a MySQL Repository databaseD. A MySQL Enterprise Monitor to remotely deploy the MySQL Monitor AgentE. A browser-based wizard to remotely deploy the MySQL Monitor Agent

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 8Which three statements are true about MySQL Enterprise Backup?

A. It cannot backup encrypted tablespaces.B. It provides the ability to create incremental backups.C. It performs hot or warm backups.D. It performs logical backups.E. It enables you to take non-locking backups.

Correct Answer: BDESection: (none)Explanation

Explanation/Reference:

QUESTION 9Name three ways in which customers can receive notifications such as outages, configuration changes, database emergencies, and other information on theirDatabase as a Service instances.

A. EmailB. SMS

Page 6: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

C. Notification tab on the dashboardD. Browser pop-upsE. Direct support call from an Oracle representative

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 10What are two key differences between the use of ndbd and ndbmtd?

A. ndbd can be configured as ndbmtd by applying the option - - mtd.B. In the event of critical errors, ndbd generates a trace file with the name ndb_node_id_trace.log.trace_id, whereas ndbmtd generates a trace file with the name

pattern ndb_node_id_trace.log.trace_id_tthread_idC. ndbd is single-threaded mode; however, ndbmtd runs by default in multithreaded mode.D. ndbd is single-threaded mode.ndbmtd runs by default in single-threaded mode; you must configure it to use multithreads.E. In the event of critical errors, ndbd generates all trace in error log, whereas ndbmtd generates a trace file with the name pattern

ndb_node_id_trace.log.trace_id_tthread_id.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:

QUESTION 11When there are long-running queries, mysqbackup hangs there to wait for the completion of the queries. You know that the system has only user data on InnoDBand there is no DDL execution during the backup period. There is no update/alternation to tables with non-InnoDB storage engines.

https://www.gratisexam.com/

Page 7: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Which two ways allow the MySQL Enterprise Backup to be executed without being blocked or without locking?

A. Running mysqlbqckup from a remote machine enabled you to back up the database without locking.B. The locked phase at the end of a mysqlbackup run is short (maybe a few seconds) and does not disturb the normal processing of mysqld much. However, use -

-single-user-mode to back up the long-running queries to allow mysqlbackup to run successfully without locking.C. There is no extra option. MySQL Enterprise Backup does this automatically by kicking out the long-running queries.D. The locked phase at the end of a mysqlbackup run is short (maybe a few seconds), and does not disturb the normal processing of mysqld much. However, use

the - - only-innodb option to back up only InnoDB tables, to avoid blocking.E. The locked phase at the end of a mysqlbackup run is short (maybe a few seconds), and does not disturb the normal processing of mysqld much. However, use

the - -no-locking option to backup up the non-InnoDB files. Note that MyISAM, .frm, and other files copied under the --no-locking setting cannot be guaranteed tobe consistent, if they are updated during this final phase of the backup.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:Reference: https://docs.oracle.com/cd/E17952_01/mysql-enterprise-backup-3.10-en/mysql-enterprise-backup-3.10-en.pdf (page 62)

QUESTION 12You have three machines with MySQL Databases running on Linux platform.

Which backup procedures would allow online and remote backup of the MySQL Database on three machines to a connected Storage NFS?

A. 1. Mount the Remote Storage NFS volume to each of the three machines with proper privilege for the backup OS user to have all access.2. Install MySQL Enterprise Backup on machine which is used to start the backup.3. Start mysqlbackup on only one machine with the installation to back up the databases for the three machines to the mounted volume using - -backup-dir andby giving--hosts=machine1:port1, machine2:port2, machine3:port3.4. Validate the backups using the mysqlbackup program to ensure that the backups created are valid.

B. 1. Mount the Remote Storage NFS volume to each of the three machines with proper privilege for the backup OS user to have all access.2. Install MySQL Enterprise Backup on all three machines.3. Start mysqlbackup on all machines to back up the database to the mounted volume using - -backup-dir.4. Validate the backup using the mysqlbackup program to ensure that the backup created is valid.

C. 1. Mount the Remote Storage NFS volume to each of the three machines with proper privilege for the backup OS user to have all access.2. Install MySQL Enterprise Backup on the machine that is used to start the backup.3. Start mysqlbackup on only one machine with the installation to back up the databases for the three machines to the mounted volume using - - backup-dir andby specifying -- config-files=my1.cnf, my2.cnf, my3.cnf.my1.cnf, my2cnf, and my3.cnf are the MySQL Database Configuration files on the three machines.4. Validate the backup by using the mysqlbackup program to ensure that the backup created is valid.

D. 1. Mount the Remote Storage NFS volume to each of the three machines with proper privilege for the backup OS user to have all access.

Page 8: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

2. Install MySQL Workbench on a separate machine, which is used to connect to the three machines to back up and restore.3. Startup MySQL backup from MySQL Workbench to back up the three databases.4. Validate the backup by using MySQL Workbench to ensure that the backup created is valid.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 13Which two statements are true about MySQL Enterprise Firewall?

A. On Windows systems, MySQL Enterprise Firewall is controlled and managed by using the Windows Internet Connection Firewall control panel.B. The firewall functionality is dependent upon SHA-256 and ANSI-specific functions built in to the mysql.firewall table. These functions cannot be deleted, even by

the root user.C. MySQL Enterprise Firewall is available only in MySQL Enterprise versions 5.7.10.and later.D. Server-side plug-ins named MYSQL_FIREWALL_USERS and MYSQL_FIREWALL-WHITELIST implement INFORMATION_SCHEMA tables that provide views

into the firewall data cache.E. System tables named firewall_users and firewall_whitelist in the mysql database provide persistent storage of firewall data.F. MySQL Enterprise Firewall shows only notifications blocked connections, which originated outside of your network’s primary domain.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:Reference: https://planet.mysql.com/entry/?id=5989808

QUESTION 14Your customer wants you to install and configure MySQL on the customer’s Oracle Linux 6 server with tarball binaries in the /app/mysql1/directory, where the bindirectory is found at /app/mysql/bin and a data directory at /app/data.

What are two correct and required server configurations, excluding redundant configuration entries, to build a MySQL instance supporting your customer’srequirement?

A. The configuration datadir=/app/mysql/data is needed.B. The configuration basedir=/app/mysql/bin is needed.

Page 9: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

C. The configuration log-bin=/app/data is needed.D. The configuration datadir=/app/data is needed.E. The configuration innodb_log_group_home_dir=/datadir is needed.F. The configuration basedir=/app/mysql is needed.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:

QUESTION 15Which statement will display the status of the partitioning plug-in?

A. SHOW STATUS PLUGINS WHERE Name= ‘PARTITIONING’;B. SHOW PLUGINS WHERE Name= ‘partition’;C. SELECT PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_STATUS FROM INFOMRATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME= ‘partition’;D. USE SYS SCHEMA; SHOW PLUGINS STATUS;

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.7/en/partitioning.html

QUESTION 16Identify three levels in which MySQL Enterprise Monitor provides access control.

A. MySQL Enterprise Operations: the right to start/stop/restart/update MySQL Enterprise Monitor ServicesB. Asset visibility: the rights to access data collected from hosts or MySQL instancesC. Application administration: the rights to view or change the MySQL Enterprise Monitor configurationD. Specific data access: the rights to view specific types of potentially sensitive dataE. MySQL Enterprise Operations: the right to deploy the necessary MySQL Enterprise Agent

Correct Answer: BCDSection: (none)

Page 10: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/mysql-monitor/3.4/en/mem-acl-users-roles-ref.html

QUESTION 17After installing MySQL 5.7, you initialize the data directory with the - -initialize command. Identify two places in which you would find the root password.

A. As root, execute the SHOW PASSWORD command by using the SHA-256 password encryption plug-in.B. The root password will be displayed on the screen via a [Warning] message.C. The root password will be inserted in the error log set by the - -log error= [file_name] variable.D. You will find it as a root_pw variable stored in the mysql.install table.E. The root password is not given and is blank. You must manually set the root password.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:

QUESTION 18A MySQL installation has the following required architecture components: client programs, MySQL utilities, and MySQL Server.

Which client program would you use to emulate client load?

A. mysqlslapB. mysqlshowC. mysqlimportD. mysqlcheckE. mysqladmin

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.7/en/mysqlslap.html

Page 11: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

QUESTION 19You have the MySQL 5.7 database running. MySQL Enterprise Backup 3.12 is installed and it is used to back up the MySQL 5.7 database. The backup has failed.Identify the reason.

A. MySQL Enterprise Backup 3.x does not support MySQL 5.7. MySQL Enterprise Backup 4.x or later is required to back up MySQL 5.7.B. MySQL Workbench must be installed with MySQL Enterprise Backup to enable the backup to run successfully.C. MySQL 5.7 is supported in MySQL Enterprise Backup 3.x with the MySQL 5.7 extension pack.D. MySQL 5.7 is supported in MySQL Enterprise Backup 3.x providing that the MySQL 5.7 is pre-registered in the MySQL Enterprise Backup configuration file.E. mysqlbackup with MySQL Enterprise Backup 3.x must be executed once with the - -upgrade on MySQL 5.7 database to allow the mysql.backup_progress and

mysql.backup_history tables to be patched.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 20Which three statements describe MySQL Cloud Service Backup?

A. MySQL Enterprise Backup can be used to send backups to Oracle Cloud Storage Service.B. MySQL Enterprise Backup can be used to import/export data from on-premises MySQL installations.C. MySQL Cloud Service offers backup based on Oracle RMAN with optimized row locking.D. MySQL Cloud Service Backup is an optimized backup based on mysqldump with optimized row locking.E. MySQL Cloud Service Backup provides the point-in-time recovery functionality.

Correct Answer: CDESection: (none)Explanation

Explanation/Reference:

QUESTION 21The MySQL server looks for option files in standard locations. The server might read multiple files from different locations. For a Linux installation, which twomethods would you use to view the options file lookup locations, the order in which they are read, and groups?

A. $ mysql - - print-defaults

Page 12: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

B. SHOW GLOBAL VARIABLES;C. $ mysqld - -help - -verbose | grep-A1 “Default options”D. $ mysqld --help

Correct Answer: CDSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.7/en/option-files.html

QUESTION 22A Cloud customer already has many database instances configured and running in the cloud, however, they are reporting that they are unable to create any moreinstances.What could be the problem?

A. The customer does not have proper user rights.B. The customer account might have reached its compute quota.C. The customer reached the database instance limit of 32.D. The customer has not kept up with their patching requirements; new instances cannot be created unless the majority or the template of existing instances are

up-to date.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 23Which two ports need to be opened on a network firewall to allow an outside client (on the other side of the firewall) to be able to access a MySQL instance insidethe firewall?

A. Port 13306/tcp [MySQL], when using TCP/IP via a command-line clientB. Port 3306/tcp [MySQL], when tunneling is not used from within MySQL WorkbenchC. Port 18443/tcp [MySQL], when connecting from MySQL Workbench to a Windows MySQL serverD. Port 22/tcp [SSH], when using TCP/IP over SSH

Correct Answer: BD

Page 13: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Section: (none)Explanation

Explanation/Reference:

QUESTION 24MySQL is installed on a Linux server and has the following configuration:

[mysqld]User=mysqlDatadir=/data/mysql

https://www.gratisexam.com/

Which two methods should you use to change the default options to use the authentication plug-in that implements SHA-256 hashing for user account passwords?

A. Create user by using CREATE USER ‘newuser’ @’localhost’ SET PASSWORD AS ‘Sh@256Pa33’;B. Add --default_authentication_plugin=sha256_password on the command line when you invoke the server.C. Add default_authentication_plugin=sha256_password under [mysqld] in the configuration file.D. Create user by using CREATE USER ‘newuser’@’localhost’ IDENTIFIED WITH ‘Sh@256Pa33’;

Correct Answer: BDSection: (none)Explanation

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

QUESTION 25You want to monitor SQL statements, which are executed on the MySQL server, in MySQL Enterprise Monitor (MEM).

Select three possible ways.

A. Configure a MySQL Connector that sends information directly to MySQL Enterprise Service Manager.B. Route MySQL SQL statements through a MySQL Monitor Proxy.

Page 14: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

C. Configure the Performance Schema statement digests with MySQL Server 5.6.14 or later.D. Configure MySQL to replicate data via the MySQL binlog to MEM.E. Configure the MySQL Router to send normalized SQL statements to MEM.

Correct Answer: ACDSection: (none)Explanation

Explanation/Reference:

QUESTION 26You have a MySQL Server instance (running with Port# 3306) monitored by the Service Manager in MySQL Enterprise Monitor. You cloned the MySQL Databaseinstance and configured it to be a replicated MySQL instance as Slave using Port# 3316 on the same machine as the Master Server. The replication configuration isworking correctly. The Master and Slave Servers are running.

You are trying to add the newly created MySQL Slave instance to the Monitor. The Service Manager in MySQL Enterprise Monitor notifies you that the new instanceis successfully added; however, it is not added correctly at the newly added configuration points to the old Master monitored items. The Monitor shows only onemonitored MySQL instance for Master and Slave.

Identify two reasons for this problem.

A. The SLAVE and MASTER instances are started with the same configured value for the option - - monitor_server_uuid.B. The MASTER and SLAVE are grouped as one instance for monitoring.C. The mysql.inventory table on SLAVE is cloned with the same content as MASTER, which has the same server UUID.D. The mysql.instance table on SLAVE is cloned with the same content as MASTER, which has the same server UUID.E. All the MySQL instances (Master and Slave) have the same server_uuid in <datadir>/auto.cnf.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:

QUESTION 27Identify the MySQL plug-in that is provided only with MySQL Enterprise Edition and servers to increase performance and high availability.

A. the MySQL memcached plug-in

Page 15: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

B. the MySQL PAM Authentication plug-inC. the MySQL Thread Pool plug-inD. the MySQL No-Login Authentication plug-inE. the MySQL Firewall plug-inF. the MySQL Semisynchronous replication plug-in

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 28The user ‘OS-user’@’localhost’ was created to monitor connections and shut down the server, and was granted the following privileges:GRANT PROCESS, SHUTDOWN ON *.* to ‘OS-user’@’localhost’;Identify three commands that the OS-user can execute.

A. SHOW STATUS;B. SHUTDOWN;C. SHOW BINLOG EVENTS;D. SHOW PROCESSLIST;E. KILL PROCESS;

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:

QUESTION 29MySQL Enterprise provides query analyzing metrics for SQL statements. Which four MySQL environments will provide QUAN metrics?

A. All MySQL (when MySQL connectors with Aggregator is used for the application)B. MySQL 5.5.9 (and later)C. MySQL 5.7.9 Community (and later)D. MySQL 5.6.14 Commercial (and later)

Page 16: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

E. All MySQL (with MySQL Enterprise Monitor Proxy)

Correct Answer: BCDESection: (none)Explanation

Explanation/Reference:

QUESTION 30Which four options are valid reasons for using a PRIMARY KEY in a table?

A. Eliminating the need for accessing the database cacheB. Preventing duplicate keysC. Maintaining a history of row insertions or updatesD. Automatic storage of data in a sorted orderE. Increasing performance when using SELECT statementsF. Auto-generating values via AUTO_INCREMENTG. Exporting data faster with mysqldump

Correct Answer: BEFGSection: (none)Explanation

Explanation/Reference:

QUESTION 31When creating a FOREIGN KEY constraint, what SQL variable must be specified?

A. UNIQUE PRIMARY KEY values for both child and parent tablesB. a REFERENCE in the child table to the parent tableC. the SET_FOREIGN_KEY variable in the my.cnf fileD. an INDEX on the FOREIGN KEYE. a TRIGGER on the child table for cascading DELETE statements

Correct Answer: ESection: (none)

Page 17: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Explanation

Explanation/Reference:Reference: https://docs.microsoft.com/en-us/sql/relational-databases/tables/primary-and-foreign-key-constraints

QUESTION 32Consider the following SQL statement which is using the InnoDB storage engine and with global AUTOCOMMIT=1.

BEGIN;CREATE TABLE t1 (c1 INT);CREATE TABLE t2 (c1 INT);ROLLBACK;

What is the result after issuing the ROLLBACK command?

A. Both the tables, t1 and t2, are created.B. Only the t1 table is created.C. Both the tables, t1 and t2, are not created because there is an explicit ROLLBACK.D. Only the t2 table is created.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 33For accessing a new default MySQL Cloud Service (CS) cloud environment, you used the “Create SSH Keys function” during the guided MySQL CS setup. Youwant to use Putty from your Windows Client. Identify the correct steps.

A. You open Port 22 on your MySQL CS Instance and configure Putty with the provided private key.B. Convert the private key to ppk format first, and use the new private key for authentication.C. Use the provided private key for authentication.D. Open Port 22 on your MySQL CS Instance and convert the private key to ppk format. This new private key can be used for authentication.

Correct Answer: DSection: (none)Explanation

Page 18: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Explanation/Reference:

QUESTION 34Identify three characteristics of the JSON data type.

A. Key or array references enable quick read-access to look up document elements directly.B. It is based on the TEXT data type.C. It validates the JSON syntax on insert or merge.D. it supports indexing directly against the JSON-defined column.E. Comparisons of JSON values are not case-sensitive.F. A set of SQL functions substantially support the SQL utilization of the data type.

Correct Answer: ACDSection: (none)Explanation

Explanation/Reference:

QUESTION 35You have a backup image file that is backed up using MySQL Enterprise Backup with the - - compress option:/home/mysql/backup/full/mybackup/myimage.img

mysqlbackup.cnf is shown as follows:[mysqlbackup]backup-dir=/home/mysql/backup/full/mybackupbackup-image=/home/mysql/backup/full/mybackup/myimage.img

You are required to perform a database restore to a new machine to provision the database.

Which command can provision the new database in the datadir as /home/mysql/data/MEB?

A. #mysqlbackup - -defaults-file= config/mysqlbackup.cnf - -port=3306 - -host= 127.0.0.1\- - user= mysqlbackup - -password - - uncompress - - backup-dir=/home/mysql/backup/full/myrestore\- -datadir=/home/mysql/data/MEB image-to-dir-and-apply-log

B. #mysqlbackup - -defaults-file= config/mysqlbackup.cnf - -port=3306 - -host= 127.0.0.1\- - user= mysqlbackup - -password - - uncompress - - backup-dir=/home/mysql/backup/full/myrestore\- -datadir=/home/mysql/data/MEB apply-log-and-copy-back

C. #mysqlbackup - -defaults-file= config/mysqlbackup.cnf - -port=3306 - -host= 127.0.0.1\

Page 19: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

- - user= mysqlbackup - -password - - uncompress - - backup-dir=/home/mysql/backup/full/myrestore\- -datadir=/home/mysql/data/MEB copy-back-and-apply-log

D. #mysqlbackup - -defaults-file= config/mysqlbackup.cnf - -port=3306 - -host= 127.0.0.1\- - user= mysqlbackup - -password - - uncompress - - backup-dir=/home/mysql/backup/full/myrestore\- -datadir=/home/mysql/data/MEB restore-and-apply-log

E. #mysqlbackup - -defaults-file= config/mysqlbackup.cnf - -port=3306 - -host= 127.0.0.1\- - user= mysqlbackup - -password - - uncompress - - backup-dir=/home/mysql/backup/full/myrestore\- -datadir=/home/mysql/data/MEB image-to-dir

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 36Which statement would create an index by using the first 10 characters of the name column in the customer table (assuming that name is a nonbinary string type?)

A. CREATE SUB INDEX part_of_name ON (customer, name, 10);B. CREATE INDEX (10) ON (customer.name);C. CREATE INDEX part_of_name ON customer (name(10));D. CREATE PARTIAL INDEX part-of_name ON customer (name, 10);E. CREATE INDEX part_of_name ON customer.name LIMIT 10 CHAR;

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.7/en/create-index.html

QUESTION 37The MySQL Enterprise Monitor Agent requires a user configured in each MySQL instance that is being monitored with suitable privileges to collect informationabout the server.Identify the correct statement.

A. MySQL Enterprise Monitor creates the required users automatically.B. Monitoring metrics need super and root privileges because they are not available for a less-privileged user.

Page 20: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

C. The super privilege is required when starting, stopping, or restarting monitored MySQL databases.D. The super privilege is required when creating and populating the inventory table, as well as running statements such as SHOW MASTER LOGS OR SHOW

ENGINE INNODB STATUS.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/mysql-monitor/4.0/en/mem-agent-rights.html

QUESTION 38You are having performance issues with MySQL instances. Those servers are monitored with MySQL Enterprise Monitor (MEM). How would you proceed?

A. Sort the “Exec” column and check for SQL queries with high QRTi values.B. Sort the “Exec” column and check for SQL queries with low QRTi values.C. Look for queries with low total latency times in the Latency section in the times series graph (Query Analyzer.)D. Look for queries with big prolonged spikes in row activity/access graph in the times series graph (Query Analyzer.)

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 39The replication for a Master and Slave MySQL Servers is up and running. The disk space for Master Server is continuously growing.

The binlog size keeps growing. Identify two methods to fix the issue.

A. Execute the PURGE BINARY LOGS statement without argument.B. On the Master server, disable binlog by removing the - - log –bin option.C. Delete all binlog files manually on the file system to release storage spaces.D. Set the expire_logs_days system variable to expire binary log files automatically after a given number of days.E. To safely purge binary log files, perform the following steps:

1. On each slave server, use SHOW SLAVE STATUS to check which log file it is reading.2. Obtain a listing of the binary log files on the master server with SHOW BINARY LOGS.3. Determine the earliest log file among all the slaves. This is the target file. If all the slaves are up-to-date, this is the last log file on the list.

Page 21: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

4. Make a backup of all the log files you are about to delete. (This step is optional, but always advisable.)5. Purge all log files up to but not including the target file by using the PURGE BINARY LOGS statement.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:

QUESTION 40Which command would you use to create a user named jenny for the localhost server with the hashed password SecretPass123!?

A. CREATE USER ‘jenny’@localhost’ IDENTIFIED WITH HASH PASSWORD (‘SecretPass123!’);B. CREATE USER ‘jenny’@localhost’ IDENTIFIED BY SHA (‘SecretPass123!’, ‘256’);C. CREATE USER ‘jenny’@localhost’ WITH HASHED (password, ‘SecretPass123!’);D. CREATE USER ‘jenny’@localhost’ IDENTIFIED WITH sha_256PASSWORD by ‘SecretPass123!’;

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.7/en/adding-users.html

QUESTION 41You want to prevent any unauthorized users from gaining access to the personal information of your employees, which is stored in the EMPLOYEE table in aMySQL database. How would you use the MySQL Enterprise Edition Firewall to prevent the following SQL injection attack from exposing the salaries of all youremployees?

SELECT fl_name, salary FROM EMPLOYEE WHERE fl_name= ‘JHacker’ OR 1=1;

A. Create a blacklist of the SQL commands, which would restrict access to the EMPLOYEE table by using the DETECTING mode.B. Create a FIREWALL STORED PROCEDURE to block any external user from executing this SQL statement.C. Create a list of approved SQL users by using the INTERROGATION mode.D. Create a whitelist of approved SQL commands by using the RECORDING mode, and enable protection by changing it to PROTECTION mode.

Correct Answer: DSection: (none)

Page 22: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Explanation

Explanation/Reference:

QUESTION 42Which three options describe the setup of MySQL High Availability solutions?

A. Setting up three machines configured as follows:Machine A with 2 x Data NodesMachine B with 2 x mysqld nodeMachine C with 2 x ndb_mgmd node

B. setting up Master and Slave with MySQL Semi-Sync Replication PluginC. creating an NFS volume with multiple running MySQL Server Instances attaching the same NFS Volume with the same datadirD. setting up three machines configured as follows:

Machine 1: Data Node and mysqld nodeMachine 2: Data Node and mysqld nodeMachine 3: ndb_mgmd

E. providing the Active/Passive setup of MySQL Server running on two machines with Shared Storage together with OS clustering to provide storage and Virtual IPfailover

Correct Answer: CDESection: (none)Explanation

Explanation/Reference:

QUESTION 43An existing MySQL Database environment has been doing backup and restore in a logical way by using the mysqldump and mysql client utilities. When the backupis started using mysqldump with single-transaction mode, the existing application has long wait time. When the restore is required, it takes more than three hours torestore.

What are two benefits of using mysqlbackup from MySQL Enterprise Backup in this situation?

A. MySQL Enterprise Backup does not back up system data so that it is much faster.B. MySQL Enterprise Backup provides tape backup integration by default. It has the virtual tape option, which allows backup to tape device directly without extra

third-party software integration.C. mysqlbackup can back up tables with the InnoDB engine without blocking. The backup is hot with InnoDB. Together with Incremental Backup, mysqlbackup

from MySQL Enterprise Backup shortens the backup windows.

Page 23: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

D. mysqlbackup utilities dump the full database into a SQL file, which is imported into the mysql client in single-thread mode. mysqlbackup restores data fromphysical backups. Physical backup methods are faster than logical methods because they involve only file coping without conversion.

E. mysqlbackup from MySQL Enterprise Backup allows logical backup with concurrency built in to get faster backup speed and restoration speed.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:

QUESTION 44The replication setup for Master and Slave MySQL 5.6 instances is configured and running correctly without using Global Transaction ID (GTID).You are required to perform a replication change to implement GTID for the MASTER and SLAVE configuration.

Which two steps would you perform?

A. Restart MySQL (MASTER and SLAVE) with the following options enabled:- - gtid_mode=ON- - log-bin- -log-slave-updates- - enforce-gtid-consistency

B. On the SLAVE, alter the mysql master connection setting with:> CHANGE MASTER TO>MASTER_HOST = host,>MASTER_PORT = port,>MASTER_USER = user,>MASTER_PASSWORD= password,>MASTER_AUTO_POSITION=1

C. On the SLAVE, alter the mysql master connection setting with:> ALTER system CHANGE MASTER TO>MASTER_HOST = host,>MASTER_PORT = port,>MASTER_USER = user,>MASTER_PASSWORD= password,>MASTER_AUTO_POSITION=1

D. Enable GTID by executing the following on MASTER and SLAVE:>set global GTID_ENALBED=on;

E. Execute the following on SLAVE to enable GTID:>start slave io_thread - -gtid-mode=on;

Page 24: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-howto.html

QUESTION 45You have the following mysqlbackup-inc.cnf config file:

Which two commands allow MySQL Enterprise Backup to perform incremental backup based on the last full backup?

A. # mysqlbackup --defaults-file=mysqlbackup-inc.cnf --port=3306 --host=127.0.0.1 –-user=mysqlbackup –-password –-with-timestamp backupB. # mysqlbackup –-defaults-file=mysqlbackup-inc.cnf –-port=3306 –-host=127.0.0.1 –-user=mysqlbackup –-password –-incremental backup-to-imageC. # mysqlbackup –-defaults-file=mysqlbackup-inc.cnf –-port=3306 –-host=127.0.0.1 –-user=mysqlbackup –-password backup-incrementalD. # mysqlbackup –defaults-file=mysqlbackup-inc.cnf –-port=3306 –-host=127.0.0.1 –-user=mysqlbackup –-password backup-to-incrementalE. # mysqlbackup –-defaults-file=mysqlbackup-inc.cnf –-port=3306 –-host=127.0.0.1 –-user=mysqlbackup –-password incremental

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Reference https://downloads.mysql.com/docs/mysql-enterprise-backup-3.8-en.a4.pdf

QUESTION 46A MySQL server (Linux-based installation, Port 3306, default) needs to be monitored. The MySQL server and the MySQL Enterprise Monitor (MEM) are located indifferent security zones, which are protected with a firewall. Which port must be opened for MEM agentless monitoring?

Page 25: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

A. Port 21/tcp (ftp) from MySQL Enterprise Monitor to MySQL serverB. Port 18443/tcp (Tomcat) from MySQL server to MySQL Enterprise MonitorC. Port 22/tcp (SSH) from MySQL Enterprise Monitor to MySQL serverD. Port 3306/tcp (MySQL) from MySQL Enterprise Monitor to MySQL server

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 47When working with the Linux operating system on a database cloud instance (non-RAC), which user accounts are available for database and non-databaseadministration?

A. admin, ora-cloud, and oracleB. administrator, opc, and oracleC. root, opc-administrator, and oracle through sudoD. cloud-admin, oracle, and rootE. opc, oracle, and root (through sudo)

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

QUESTION 48Identify three features of MySQL Enterprise Backup.

A. You can edit the output file produced by a MySQL Enterprise Backup.B. You can back up individual tables or individual tablespaces with MySQL Enterprise Backup while your server instance is online.C. You can run the output file produced by a MySQL Enterprise Backup through a MySQL session because the output file consists of SQL statements.D. You can back up data that has changed since the last backup with incremental backup.E. You can validate the results of a MySQL Enterprise Backup to ensure that your backup has integrity.

Page 26: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

Correct Answer: ADESection: (none)Explanation

Explanation/Reference:

QUESTION 49You have a text file named “xyz.csv” exported from another system.

You are asked to import data to a MySQL Database table named “country”.The table definition is as follows:

Identify the action that imports the data from Workbench or MySQL Client to the database correctly.

A. Use the LOAD DATA INFILE syntax to load data into the database table.B. Use mysqlimport to load the mycountry.csv data file with the --csv option specified.C. Create a DIRECTORY LINK object on the database and use INSERT into mycountry SELECT * from mycountry.csv.D. Convert the data into MDI and restore the MySQL data from it.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

Page 27: Oracle.Testkings.1z0-320.v2019-03-08.by.Anna€¦ · 08/03/2019  · B. A CLI-based wizard MySQL Enterprise Monitor, Agent, and a MySQL Repository database C. A script (with an option

https://www.gratisexam.com/

QUESTION 50What command should be used to execute a stored procedure named run_daily_report with the parameter 2016/12/31?

A. SELECT SP run_daily_report (‘2016/12/31’) from mysql.procedures;B. CALL run_daily_report (‘2016/12/31’);C. EXECUTE PROC run_daily_report INCLUDE PARAMETER (‘2016/12/31’);D. UPDATE PROCEDURE run_daily_report WHERE VARIABLE = (“2016/12/31’);

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Reference: https://dev.mysql.com/doc/refman/8.0/en/call.html

https://www.gratisexam.com/