How do you change the tablespace quota for a user on Autonomous Database on Shared Infrastructure? (Choose the best answer.)
Click on the arrows to vote for the correct answer
A. B. C. D.C.
The correct answer is D. Execute alter user MTHEO quota unlimited on tablespace DATA.
Explanation: To change the tablespace quota for a user on an Autonomous Database on Shared Infrastructure, you can use the ALTER USER command with the QUOTA clause. This clause allows you to specify the maximum amount of space that a user can consume in a particular tablespace. The syntax for the command is as follows:
ALTER USER [username] QUOTA [quota] ON [tablespace];
Where:
Option A is incorrect because it only changes the quota for the entire tablespace and not for a specific user. Option B is incorrect because the ALTER TABLESPACE command cannot be used to set quotas for individual users. Option C is incorrect because it uses the DBMS_CLOUD_ADMIN package, which is not relevant for changing tablespace quotas.
Therefore, option D is the correct answer because it uses the ALTER USER command with the QUOTA clause to set the new quota for the user "MTHEO" to unlimited on the tablespace "DATA".