Related questions
Question 56 - ADA-C01 discussion
An Administrator has a warehouse which is intended to have a credit quota set for 3000 for each calendar year. The Administrator needs to create a resource monitor that will perform the following tasks:
1. At 80% usage notify the account Administrators.
2. At 100% usage suspend the warehouse and notify the account Administrators.
3. At 120% stop all running executions, suspend the warehouse, and notify the account Administrators.
Which SQL command will meet these requirements?
A.
create or replace resource monitor RM1 with credit_quota=3000 start_timestamp = '2022-01-01 00:00 CET' triggers on 80 percent do notify on 100 percent do suspend on 120 percent do suspend_immediate; alter warehouse WH1 set resource_monitor = RM1;
B.
create or replace resource monitor RM1 with credit_quota=3000 frequency = yearly start_timestamp = '2022-01-01 00:00 CET' triggers on 80 percent do notify on 100 percent do suspend on 120 percent do suspend_immediate; alter warehouse WH1 set resource monitor = RM1;
C.
create or replace resource monitor RM1 with credit_quota=3000 start_timestamp = '2022-01-01 00:00 CET' triggers on 80 percent do notify on 100 percent do notify and suspend on 120 percent do notify and suspend_immediate; alter warehouse WH1 set resource monitor = RM1;
D.
create or replace resource monitor RM1 with credit_quota=3000 frequency = yearly triggers on 80 percent do notify on 100 percent do suspend on 120 percent do suspend_immediate; alter warehouse WH1 set resource_monitor = RM1;
Your answer:
0 comments
Sorted by
Leave a comment first