A company uses Amazon Redshift for its data warehouse. The company must automate refresh schedules for Amazon Redshift materialized views. Which solution will meet this requirement with the LEAST effort?
A.
Use Apache Airflow to refresh the materialized views.
B.
Use an AWS Lambda user-defined function (UDF) within Amazon Redshift to refresh the materialized views.
C.
Use the query editor v2 in Amazon Redshift to refresh the materialized views.
D.
Use an AWS Glue workflow to refresh the materialized views.
the company can automate the refresh schedules for materialized views with minimal effort. This approach leverages the built-in capabilities of Amazon Redshift, reducing the need for additional services, configurations, or custom code. It aligns with the principle of using the simplest and most straightforward solution that meets the requirements, minimizing operational overhead and complexity
Amazon Redshift can automatically refresh materialized views with up-to-date data from its base tables when materialized views are created with or altered to have the autorefresh option. For more details, refer to the documentation here, https://docs.aws.amazon.com/redshift/latest/dg/materialized-view-refresh.html.
You can set autorefresh for materialized views using CREATE MATERIALIZED VIEW. You can also use the AUTO REFRESH clause to refresh materialized views automatically.
AWS Lambda allows running code in response to triggers without needing to provision or manage servers. However, creating a UDF within Amazon Redshift to call a Lambda function for this purpose involves writing custom code and managing permissions between Lambda and Redshift.
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.
magnorm
2 months, 2 weeks agopypelyncar
3 months, 1 week agod8945a1
4 months, 1 week agoChristina666
5 months ago[Removed]
5 months, 2 weeks agoFuriouZ
5 months, 3 weeks agoGiorgioGss
5 months, 4 weeks agokj07
6 months agoconfusedyeti69
6 months agodamaldon
6 months, 1 week agorralucard_
7 months, 2 weeks ago