
Collations & Caching - 5
Authored by Sydney Cucchiara
Instructional Technology
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DATA_RETENTION_TIME_IN_DAYS is set to 1 at the account level, 30 on DB_A, and 15 on DB_A.SchemaA.
You create a table in DB_A.SchemaA without specifying a retention time. What will the table use?
1 day
15 days
30 days
Answer explanation
If no time travel value is set on an object,
it will inherit the value used by the
closest enclosing object.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Using the default collation method, in
what order will the following values be
listed in the results if you do an ORDER
BY on the column?
Hot Dogs
Hot dogs
hamburgers
pizza
Mac 'n Cheese
anchovies
Answer explanation
With UTF-8, upper-case letters will
always be sorted before lower-case.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
You issue this query:
SELECT * FROM my_table;
Followed by this query:
SELECT * from my_table;
Which cache will help increase the
speed of this query?
Answer explanation
The data cache. The query result cache
would not be used in this instance,
because the queries are not identical
(FROM versus from).
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
You run this query on a cold
warehouse:
SELECT
col1, col2, col3
FROM
my_table
WHERE
col1 > 128.02
What cache, if any, will be used?
Answer explanation
The metadata cache will be used by the
query optimizer, to prune out micro-
partitions that are not relevant to the
query.
However, if the query was run previously,
none of the micro-partitions relevant to
the query were changed, the persisted
result is still available, and the user’s role
has the right privileges to the objects in
the query, the query results cache will be
used instead.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In the query profile shown below, which
cache is being referred to?
Answer explanation
"Percentage scanned from cache"
refers to the data cache.
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Rate each of the following statements as
TRUE or FALSE:
A. Virtual warehouse costs are always
decreased by setting a very short
auto-suspend time.
B. The metadata cache is used in every
query that has a WHERE clause.
C. Data cache use is all-or-nothing.
D. The timer on the query result cache
resets every time someone uses the
result.
Evaluate responses using AI:
OFF
Answer explanation
A. FALSE – shutting down the virtual
warehouse clears the data cache, so
shutting a warehouse down too
quickly can reduce use of that cache
B. TRUE – even if the query cannot be
pruned, the metadata is examined
C. FALSE – you can use as much of the
data cache as is relevant to your
query
D. TRUE – it resets to 24 hours
7.
OPEN ENDED QUESTION
3 mins • 1 pt
What are the three types of cache?
Evaluate responses using AI:
OFF
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Security Awareness
Quiz
•
Professional Development
10 questions
Day 4 Huddle
Quiz
•
Professional Development
12 questions
WILL VS GOING TO
Quiz
•
Professional Development
6 questions
PC QUIZ
Quiz
•
Professional Development
6 questions
Branch Returns Guide
Quiz
•
Professional Development
10 questions
Authentic and Non-authentic material
Quiz
•
Professional Development
10 questions
Oil and Gas 1
Quiz
•
Professional Development
10 questions
Redes Sociales
Quiz
•
3rd Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...