ExamGecko
Question list
Search
Search

Question 104 - SnowPro Core discussion

Report
Export

A company's security audit requires generating a report listing all Snowflake logins (e.g.. date and user) within the last 90 days. Which of the following statements will return the required information?

A.
SELECT LAST_SUCCESS_LOGIN, LOGIN_NAME FROM ACCOUNT_USAGE.USERS;
Answers
A.
SELECT LAST_SUCCESS_LOGIN, LOGIN_NAME FROM ACCOUNT_USAGE.USERS;
B.
SELECT EVENT_TIMESTAMP, USER_NAME FROM table(information_schema.login_history_by_user())
Answers
B.
SELECT EVENT_TIMESTAMP, USER_NAME FROM table(information_schema.login_history_by_user())
C.
SELECT EVENT_TIMESTAMP, USER_NAME FROM ACCOUNT_USAGE.ACCESS_HISTORY;
Answers
C.
SELECT EVENT_TIMESTAMP, USER_NAME FROM ACCOUNT_USAGE.ACCESS_HISTORY;
D.
SELECT EVENT_TIMESTAMP, USER_NAME FROM ACCOUNT_USAGE.LOGIN_HISTORY;
Answers
D.
SELECT EVENT_TIMESTAMP, USER_NAME FROM ACCOUNT_USAGE.LOGIN_HISTORY;
Suggested answer: D

Explanation:

To generate a report listing all Snowflake logins within the last 90 days, theACCOUNT_USAGE.LOGIN_HISTORYview should be used.This view provides information about login attempts, including successful and unsuccessful logins, and is suitable for security audits4.

asked 23/09/2024
Russell James
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first