Knowledge Check Q's Flashcards
(60 cards)
How many major editions does MySQL offers?
- Five
- One
- Three
- Two
Two
Explanation:
MySQL offers two major editions:
For developers and small teams, the MySQL Community Edition binaries and source code are available at no cost. is available for free and includes all the core features needed.
For larger enterprises, the MySQL Commercial Edition Commercial Edition provides advanced features, management tools, and
dedicated technical support.
What does the Oracle commercial licensing option Allows businesses
to do ?
- Allows businesses to use MySQL Enterprise Edition for free
- Allows businesses to use MySQL in their products with other 3rd party commercial products
- Allows businesses to pay a reduced price for MySQL Community Edition
- Allows businesses to use MySQL code in their products and keep their code private.
- Allows businesses to use MySQL code in their products and keep
their code private.
Explanation:
Oracle provides a commercial licensing option. This license allows businesses to use MySQL in their products without having to disclose their source code, as required by GPL v2.
When is MySQL Enterprise Support available ?
- 8 hours a day 5 days a week
- 8 hours a day 7 days a week
- 24 hours a day 5 days a week
- 24 hours a day, 7 days a week
- 24 hours a day, 7 days a week
Explanation:
MySQL Support is available 24 hours a day, 7 days a week. This ensures that whenever there is an issue, Oracle support can provide the needed help without any delay.
MySQL Shell offers support for which one of the following languages
- PHP
- GO
- Java
- Python
- Python
Explanation:
MySQL Shell offers multi language support for JavaScript, Python, and SQL. These naturally scriptable languages makes coding flexible and efficient. They allow developers to use their preferred programming language for everything from automating database tasks to writing complex queries
Which of the followings is true about MySQL Workbench Enterprise ?
- It install MySQL server.
- It adds security features to the MySQL system.
- It backups MySQL instances.
- It simplifies MySQL database migrations.
- It simplifies MySQL database migrations.
Explanation:
MySQL Workbench Enterprise simplifies database migrations with powerful tools that makes it easy to move databases between platforms. It streamlines the process of moving databases between systems, reducing time and errors.
MySQL HeatWave offers which services?
- Automatic replication to the Oracle Database
- Backup to GitHub
- Migration to AWS Arora
- A fully managed MySQL service
- A fully managed MySQL service
Explanation:
MySQL HeatWave offers a fully managed MySQL service. It provides deployment, backup and restore, high availability, resizing, and read replicas all the features you need for efficient database management.
How often are MySQL Innovation versions released?
- Every month
- Every quarter
- Every year
- Every two years
- Every quarter
Explanation:
MySQL Long term support versions are released every two years.
Innovation versions are released quarterly.
Which installation method requires that you manually configure the service user?
- yum packages
- RPM packages
- binary archive
- MySQL Installer
- binary archive
Explanation:
The yum and RPM package installers install and configure MySQL on
Linux. The MySQL Installer installs and configures MySQL on Windows. The binary
archive only contains the necessary files but does not perform any configuration.
The MySQL service user requires which permissions?
- Root privileges
- System privileges
- Shell privileges
- Data directory privileges
- Data directory privileges
Explanation:
The MySQL service user needs only privileges to run the process and access the network and relevant directories in the file system. You should not grant permissions beyond that, so that the service cannot be exploited by malicious users.
Which is true of the data directory?
- It is configured automatically when you install MySQL from binary archive
- It is a mandatory setting in the my.cnf file
- It is empty until you create a user database
- It contains the my.cnf and temporary files
- It is a mandatory setting in the my.cnf file
Explanation:
The data directory setting datadir specifies the default location of system and user databases, and is one of the settings for file locations. Other settings include locations for temporary files and configuration files.
Which is true of upgrades?
- You can upgrade MySQL while the server is running
- You can upgrade MySQL while the server is offline by replacing the binaries with new versions
- You must reinstall MySQL completely and restore from backup when upgrading from Community edition to Enterprise edition
- The Upgrade Checker utility is only available in Enterprise Edition
- You can upgrade MySQL while the server is offline by replacing the binaries with new versions
Explanation:
Upgrading is an offline operation, perfomed in place by replacing existing binaries with the new version. This process also works when upgrading to Enterprise Edition. The Upgrade Checker utility is available in MySQL Shell, and can be used on any MySQL version and edition up to and including the version of MySQL Shell. Copyright © 2025, Oracle and/or its affiliates
What is the Default Storage Engine in MySQL?
A. InnoDB
B. MyISAM
C. NDB Cluster
D. Memory
A. InnoDB
Which of the following data types store string values?
1. Double
2. BIT
3. ENUM
4. DECIMAL
- ENUM
Which of the following is true for PRIMARY indexes?
A. They speed up insert operations
B. You can have multiple PRIMARY indexes on a table
C. PRIMARY index values are replicated to every secondary index
D. You can have multiple rows with the same value in the PRIMARY index
C. PRIMARY index values are replicated to every secondary index
The JOIN clause in SQL does which of the following?
A. Concatenates two or more column values to a single output column
B. Connects rows from two or more tables in single output column
C. Jumps to the next row if a value is null (Jump Only If Null)
D. Generates to the next row if a value is null (Jump Only If Null)
Copyright
B. Connects rows from two or more tables in single output column
Explanation: The JOIN clause uses a condition to decide which row in the table named on the left side is connected to which row on the right side.
You can use MySQL Partitioning to do which of the following?
A. Specify how big each table can be based on where it is stores
B. Specify how big each column can be based on how many partitions there are
C. Specify a physical file for each row based on a rule
D. Specify the storage engine for a particular database
C. Specify a physical file for each row based on a rule
Explanation: MySQL Partitioning enables you to select the physical location of
rows based on a rule that specifies some condition in each row.
The HeatWave service web based console allows you to do which one of the following services?
- Write SQL code
- Install MySQL Shell
- Connect to MySQL Workbench
- Deploy your instances and manage their backups
- Deploy your instances and manage their backups
Explanation:
The HeatWave service is a fully managed MySQL. Through the web based console, you can deploy your instances and manage their backups, enable high availability, resize your instances, create read replicas and perform many common administration tasks without writing a line of SQL.
From which of the following cloud services can use HeatWave
- Google Cloud Platform (GCP)
- Salesforce Cloud
- IBM Cloud
- Amazon Web Services (AWS)
- Amazon Web Services (AWS)
Explanation:
HeatWave is not just available in Oracle Cloud Infrastructure. You can use HeatWave from your applications in Amazon Web Services AND Microsoft Azure too, and at a great price.
DPR, HIPAA, FERPA, and GLBA impose which type of compliance that MySQL can implement?
- Administrative
- Regulatory
- Performance
- Financial
- Regulatory
Explanation:
The acronyms in the question refer to legal provisions in multiple jurisdictions, all of which provide regulatory frameworks which must be complied with by applicable organizations.
Which product can mitigate the risk of SQL Injection attacks?
- MySQL Enterprise Firewall
- MySQL Enterprise Audit
- Oracle Enterprise Manager
- MySQL Shell
- MySQL Enterprise Firewall
Explanation:
MySQL Enterprise Firewall enables you to create an allow list of statements, and it blocks statements that do not match that allow list. SQL injection attacks attempt to insert SQL statements within user interfaces, and if those statements are not in the allow list then they are prevented from executing.
What is the default MySQL authentication plugin used to encrypt passwords?
- caching_sha256_password
- mysql_native_password
- caching_sha2_password
- plaintext
- caching_sha2_password
Explanation:
MySQL encrypts passwords before storing them in the database. The caching_sha2_password plugin uses a secure one way encryption algorithm to create passwords that cannot easily be decrypted, even if the database is compromised.
Kerberos, PAM, and FIDO are supported by which MySQL Enterprise feature?
- Auditing
- Firewall
- Authentication
- Manager
- Authentication
Explanation:
MySQL Enterprise Authentication brings together a set of plugins that support authentication with external infrastructure based on LDAP, Kerberos, or using the Pluggable Authentication Module (PAM) framework in Linux.
Dynamic privileges are assigned:
- In the my.cnf configuration file
- In the mysqld auto.cnf configuration file
- By the server, a plugin, or a component at load time
- Implicitly when a transaction requires them
- By the server, a plugin, or a component at load time
Explanation:
Dynamic privileges are granted by the server at runtime, either during the startup process or by plugins and components as they are loaded. They may also be granted explicitly with GRANT statements. They are not specified in configuration files.
Which two formatting options are supported by MySQL Enterprise Audit?
- Text
- JSON
- XML
- YAML
- SQL
- JSON
- XML
Explanation:
The supported audit log file formats are XML and JSON.
The default is XML. However, this can be changed at server startup by setting the audit_log_format variable.