Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

Oracle 1z0-908 Exam Actual Questions

The questions for 1z0-908 were last updated on Nov. 16, 2024.
  • Viewing page 1 out of 36 pages.
  • Viewing questions 1-4 out of 142 questions

Topic 1 - Exam A

Question #1 Topic 1

Examine this statement, which executes successfully:

You want to improve the performance of this query:

Which change enables the query to succeed while accessing fewer rows?

  • A. ALTER TABLE world.city ADD SPATIAL INDEX (Name);
  • B. ALTER TABLE world.city ADD SPATIAL INDEX (Population);
  • C. ALTER TABLE world.city ADD INDEX (Population);
  • D. ALTER TABLE world.city ADD INDEX (Name);
  • E. ALTER TABLE world.city ADD FULLTEXT INDEX (Name);
  • F. ALTER TABLE world.city ADD FULLTEXT INDEX (Population);
Reveal Solution Hide Solution   Discussion   7

Correct Answer: C 🗳️

Question #2 Topic 1

Which three are characteristics of a newly created role? (Choose three.)

  • A. It can be dropped using the DROP ROLE statement.
  • B. It is stored in the mysql.role table.
  • C. It is created as a locked account.
  • D. It can be renamed using the RENAME ROLE statement.
  • E. It can be granted to user accounts.
  • F. It can be protected with a password.
Reveal Solution Hide Solution   Discussion   7

Correct Answer: AEF 🗳️

Question #3 Topic 1

You have configured GTID-based asynchronous replication with one master and one slave.
A user accidentally updated some data on the slave.
To fix this, you stopped replication and successfully reverted the accidental changes.
Examine the current GTID information:

You must fix GTID sets on the slave to avoid replicating unwanted transactions in case of failover.
Which set of actions would allow the slave to continue replicating without erroneous transactions?

  • A. RESET MASTER;
    SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;
  • B. SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-2312,bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb:1-9;
    SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;
  • C. RESET SLAVE;
    SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-3820;
    SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa—aaaaaaaaaaaa:1-10300;
  • D. RESET MASTER;
    SET GLOBAL gtid_purged-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-2312;
    SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;
  • E. RESET SLAVE;
    SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;
Reveal Solution Hide Solution   Discussion   1

Correct Answer: D 🗳️

Question #4 Topic 1

The data in this instance is transient; no backup or replication will be required. It is currently under performing.
The database size is static and including indexes is 19G.
Total system memory is 32G.
After profiling the system, you highlight these MySQL status and global variables:

The OS metrics indicate that disk is a bottleneck.
Other variables retain their default values.
Which three changes will provide the most benefit to the instance? (Choose three.)

  • A. innodb_flush_log_at_trx_commit=1
  • B. buffer_pool_size=24G
  • C. innodb_log_file_size=1G
  • D. sync_binlog=0
  • E. innodb_doublewrite=0
  • F. max_connections=10000
  • G. innodb_undo_directory=/dev/shm
Reveal Solution Hide Solution   Discussion   11

Correct Answer: ACF 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...