Infosys Certified MySQL Administrator
Practice with real exam-pattern questions for Infosys Certified MySQL Administrator. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 Infosys Certified MySQL Administrator practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified MySQL Administrator certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
In a MYSQL Server to revoke all privileges assigned to user Tester, which of the following SQL queries is executed?
- ✓
REVOKE ALL FROM Tester@localhost;
Correct - B
REVOKE ALL, GRANT OPTION FROM Tester@localhost;
- C
REVOKE ALL PRIVILEGES FROM Tester@localhost;
- D
REVOKE * FROM Tester@localhost;
- ✓
- Question 2
Which of the following queries can be executed to view all the databases present in a MySQL Server?
(i)SHOW DATABASES;
(ii) SHOW SCHEMAS;
(iii) SELECT * FROM information_schema.schemata;
- ✓
only (i)
Correct - B
Both (i) & (ii)
- C
only (ii)
- D
All the above
- ✓
- Question 3
In a MySQL Server you are required grant SELECT, INSERT & DELETE as a database privilege to user Tester on Engineering database. Which of the following SQL queries is to be executed to accomplish this task?
- ✓
GRANT SELECT, INSERT, DELETE ON *.* TO Tester@localhost;
Correct - B
GRANT SELECT, INSERT, DELETE TO Tester@localhost;
- C
GRANT SELECT, INSERT, DELETE ON Engineering.* TO Tester@localhost;
- D
GRANT SELECT, INSERT, DELETE ON Engineering TO Tester@localhost;
- ✓
- Question 4
In a MySQL Server, you are required to provide UPDATE privilege on Status and Result columns of Process table in Testing database to user Tester. Which of the following SQL query is executed to accomplish this task?
- ✓
mysql> GRANT UPDATE ON Testing.Process TO 'Tester'@'localhost';
Correct - B
mysql> GRANT UPDATE ON Process.Status TO 'Tester'@'localhost'; mysql> GRANT UPDATE ON Process.Result TO 'Tester'@'localhost'
- C
mysql> GRANT UPDATE (Status, Result) ON Testing.Process TO 'Tester'@'localhost';
- D
none of the above
- ✓
- Question 5
Which of the following SQL queries must be executed to display privileges associated with the
Credit@localhostrole for Accountant user?- ✓
SHOW GRANTS FOR Accountant@localhost USING Credit@localhost;
Correct - B
SHOW GRANTS FOR Accountant@localhost;
- C
SHOW GRANTS FOR Accountant@localhost WITH Credit@localhost;
- D
SHOW GRANTS;
- ✓
- Question 6
Which of the following programs is used to export table definitions and contents?
- ✓
mysqldump
Correct - B
mysqladmin
- C
mysqlimport
- D
mysqlexport
- ✓
- Question 7
In which log file is the data changes received from a replication master server written to?
- ✓
error log
Correct - B
general query log
- C
binary log
- D
relay log
- ✓
- Question 8
A DBA of MySQL wants to add primary key on column ‘Order_No’ of table ‘Orders’. Which of the following solution(s) is/are valid for the above requirement?
(i). mysql> ALTER TABLE Orders DROP PRIMARY KEY;
mysql> ALTER TABLE Orders MODIFY Order_No INT NOT NULL;
mysql> ALTER TABLE Orders ADD PRIMARY KEY ( Order_No);
(ii). mysql> ALTER TABLE Orders DROP PRIMARY KEY;
mysql> ALTER TABLE Orders MODIFY Order_No INT PRIMARY KEY;
(iii). mysql> ALTER TABLE Orders DROP PRIMARY KEY;
mysql> ALTER TABLE Orders MODIFY Order_No INT NOT NULL PRIMARY KEY;
- ✓
only (i)
Correct - B
(i),(ii) & (iii)
- C
(i) & (iii)
- D
(i) & (ii)
- ✓
- Question 9
Which of the following databases can be accessed by a user Accountant in a MySQL Server?
- ✓
information_schema
Correct - B
mysql
- C
performance_schema
- D
sys
- ✓
- Question 10
In a MySQL Server, as a DBA you are required grant all privileges as a global privilege to user Accountant. Which of the following SQL queries is to be executed to accomplish this task?
- ✓
GRANT ALL on *.* TO Accountant@localhost;
Correct - B
GRANT * TO Accountant@localhost;
- C
GRANT --ALL-PRIVILEGES on *.* TO Accountant@localhost;
- D
GRANT ALL PRIVILEGES TO Accountant@localhost;
- ✓
More in IMS Academy
Infosys Certified WebSphere Application Server 8.5 Administrator
Infosys Certified Windows 11 Administrator - Associate
Infosys Certified Windows Server 2022 Administrator – Associate
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
Common questions, straight answers.
A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.
Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.
We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.
Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.
Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.