当前位置:网站首页>MySQL 8.0 OCP 1z0-908 certification examination question bank 1
MySQL 8.0 OCP 1z0-908 certification examination question bank 1
2022-07-26 08:35:00 【YaoYuan ace】
Examination questions :85
Through the score :62%
Official examination instructions :https://education.oracle.com/ Product catalog -ouexam-pexam_1z0-908/pexam_1Z0-908
Q1.Examine this command, which executes successfully:
mysqlbackup --user=dba --password --port=3306 --with-timestamp --backup- dir=/export/backups backup-and-apply-log
Which statement is true?
A)The backup accesses the MySQL server files by using a pre-existing connection.
B)The database server is put into a read-only state for the duration of the backup. C)An offline backup of InnoDB tables is taken.
D)The backup can be impacted when DDL operations run during the backup.
Answer:D
See 《MySQL8.0 for Database Administrators studentGuide 2》243 page
While the non-InnoDB backup runs:
— Prior to version 8.0.16, the database cannot be modified
— As of version 8.0.16, only non-InnoDB tables cannot be modified and InnoDB tables allow DML operations but not DDL operations
Q2.You reconfigure and start a slave that was not replicating for several days.
The configuration file and CHANGE MASTER command are correct. Examine the GTID information from both master and slave:
Master:
Gtids_executed:
aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-321,
bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-50,
Cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237
Gtids_purged: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-100,
bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-10,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237
Slave:
Gtids_executed:
aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-160,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237
Gtids_purged: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-70,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237
Which statement is true?
A)Replication will fail because the master does not have the required transaction with bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb GTIDs in its binary logs.
B)Replication will fail because the master has already purged transactions with cccccccc-cccc-cccc-cccc-cccccccccc GTIDs.
C)Replication will fail because of inconsistent numbers in cccccccc-cccc-cccc-cccc-cccccccccccc GTIDs.
D)Replication will fail because the slave has purged more aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa transactions than the master.
E)Replication will work.
Answer:A
Q3.Which two authentication plugins require the plain text client plugin for authentication to work?
A)Windows Native authentication B)PAM authentication
C)LDAP SASL authentication D)LDAP authentication E)SHA256 authentication F)MySQL Native Password
Answer:BD
https://dev.mysql.com/doc/refman/8.0/en/cleartext-pluggable-authentication.html
Q4.You want to log only the changes made to the database objects and data on the MySQL system. Which log will do this by default?
A)error log
B)slow query log
C) general query log
D)binary log
E)audit log
Answer:D
Q5.You have an installation of MySQL 8 on Oracle Linux. Consider the outputs:
Mysql>SHOW GLOBAL VARIABLES
WHERE Varisble_name=’tmpdir‘ OR Variable_name =’ tmp_table_size;
+------------------+-----------+
| Variable_name |Value |
+------------------------+-----+
|tmp_tabe_size | 16777216|
|tmpdir | /tmp |
+-------------------+----------+
Shell>cd/var/lib/mysql Shell>ls -1|grep temp
Drwxr-x---.2 mysql mysql 4096 Dec 11 14:05 #innodb_temp
Which statement is true about disk temporary tables for this installation? A)Temporary tables are created in tmpdir only if configured to use MyISAM. B)Temporary tables are created in tmpdir only after they reach tmp_table_size. C)Temporary tables will use the InnoDB temporary tablespace located in datadir. D)Only internal temporary tables from the optimizer will be created in tmpdir.
E)Temporary tables will use the InnoDB temporary tablespace located in /tmp. Answer:C
exceed tmp_table_size and max_heap_table_size The minimum temporary table is created on disk . Tmpdir Temporary files are created under the directory , The default is /tmp
InnoDB The temporary table created by the user and the internal temporary table on the disk are in MySQL Data directory named ibtmp1 The presence of Created in the time table space file , Is the global temporary table space .#innodb_temp Under the directory is the session temporary table space See official documentation : 15.6.3.5 Temporary Tablespaces Choose two from the other question bank , Just add A.
Q6.Which two actions will secure a MySQL server from network-based attacks?
A)Use MySQL Router to proxy connections to the MySQL server.
B)Place the MySQL instance behind a firewall.
C)Use network file system (NFS) for storing data.
D)Change the listening port to 3307.
E)Allow connections from the application server only.
Answer:BE
need OCP Please add me to the certification examination materials qq Group
边栏推荐
- 2022-7-7 personal qualifying 4 competition experience
- Flutter WebView jitter
- 23.5 event listeners of application events and listeners
- mysql函数汇总之日期和时间函数
- Nodejs2day(nodejs的模块化,npm下载包,模块加载机制)
- 利用模m的原根存在性判断以及求解
- Spark persistence strategy_ Cache optimization
- Flutter compilation fails
- 2022年收益率最高的理财产品是哪个?
- 为什么要在时钟输出上预留电容的工位?
猜你喜欢
随机推荐
2022-7-6 personal qualifying 3 competition experience
2022-7-7 personal qualifying 4 competition experience
Leetcode and query question summary
Date and time function of MySQL function summary
23.8 using the applicationrunner or commandlinerunner to implement applicationrunner and commandlinerunner
Seq2seq and attention model learning notes
On some concepts involved in journal papers compilation + journal query methods
Shell programming
Flutter WebView three fingers rush or freeze the screen
Redis进阶
22-07-16 personal training match 3 competition experience
Awk operation
1、 Redis data structure
【EndNote】文献模板编排语法详解
vim跨行匹配搜索
23.9 application exit application exit
第三天作业
Beauty naked chat for a while, naked chat over the crematorium!
六、品达通用权限系统__pd-tools-log
Number of briquettes & Birthday Candles & building blocks