The IT Security team has identified that there is an ongoing credential stuffing attack on many of their organization’s system. What is the BEST way to find recent and ongoing login attempts to Snowflake?
A.
Call the LOGIN_HISTORY Information Schema table function.
B.
Query the LOGIN_HISTORY view in the ACCOUNT_USAGE schema in the SNOWFLAKE database.
C.
View the History tab in the Snowflake UI and set up a filter for SQL text that contains the text "LOGIN".
D.
View the Users section in the Account tab in the Snowflake UI and review the last login column.
Key word here : way to find recent and ongoing login attempts .
So can't be the B answer, as there is lag (2 or 3 hours) in the account_usage view.
Answer is A.
Selected Answer: A
If TIME_RANGE_END is not specified, the function returns the most recent login events.
If the time range does not fall within the last 7 days, an error is returned.
select *
from table(information_schema.login_history_by_user())
order by event_timestamp;
select *
from table(information_schema.login_history(TIME_RANGE_START => dateadd('hours',-1,current_timestamp()),current_timestamp()))
order by event_timestamp;
Key word here : way to find recent and ongoing login attempts .
So can't be the B answer, as there is lag (2 or 3 hours) in the account_usage view.
Answer is A.
the most up to date data is here :
https://docs.snowflake.com/en/sql-reference/functions/login_history
so it is response A
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
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.
GLEM
Highly Voted 1 year, 4 months agoMSIDDIQUI18
Most Recent 3 weeks, 4 days agojjordan
11 months, 1 week agojjordan
11 months, 1 week agohillcat111
1 year, 4 months agovictorleonis
1 year, 5 months agoGLEM
1 year, 4 months agoqqcvd
1 year, 5 months ago