ETExamTower
Q8Data Store Management

A financial services company stores financial data in Amazon Redshift. A data engineer wants to run real-time queries on the financial data to support a web-based trading application. The data engineer wants to run the queries from within the trading application. Which solution will meet these requirements with the LEAST operational overhead?

← → navigate · a answer
Community votes
B
100% (12)
A
0% (0)
C
0% (0)
D
0% (0)
Discussion · 14
B 4
Selected Answer: B Real time queries with S3 are obviously BS. B it is: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
4
B. Use the Amazon Redshift Data API. Explanation: The Amazon Redshift Data API is a lightweight, HTTPS-based API that offers an alternative to using JDBC or ODBC drivers for running queries against Amazon Redshift. It lets you execute SQL queries directly from within your application without having to manage connections or drivers. This reduces operational overhead because there's no need to manage and maintain WebSocket or JDBC connections.
4
Amazon Redshift Data API: Provides a serverless and simple HTTP-based API to interact with Redshift. Ideal for web-based applications since it removes the need to manage persistent database connections (like JDBC or ODBC). Allows the trading application to send queries directly to Redshift using HTTPS requests, making integration with modern applications easy. Removes the complexity of managing database connection pooling in real time, which lowers operational overhead. Securely integrates with IAM roles and policies for authentication and access control.
B 3
Selected Answer: B Even if you don't know anything about them, you will still pick B because it sounds like the "LEAST operational overhead" :)
B 3
Selected Answer: B "The Amazon Redshift Data API enables you to easily access data from Amazon Redshift with all types of traditional, cloud-native, and containerized, serverless web service-based applications and event-driven applications." https://aws.amazon.com/de/blogs/big-data/using-the-amazon-redshift-data-api-to-interact-with-amazon-redshift-clusters/#:~:text=The%20Amazon%20Redshift%20Data%20API%20is%20not%20a%20replacement%20for,supported%20by%20the%20AWS%20SDK.
B 3
Selected Answer: B You can query a Redshift cluster with either JDBC/ODBC or Data API. The latter only requires you to maintain AWS SDK and IAM role, while the former needs network plumbing to access VPC, JDBC/ODBC driver, and database credentials possibly stored in Secret Manager
B 2
Selected Answer: B Inside application with minimal effort then using API would be correct
1
B. DATA API
B 1
Selected Answer: B B is correct
B 1
Selected Answer: B A) Redshift doesn't support WebSockets; C) It is much harder to manage DB connections than using Redshift Data API which will give you the ability to run SQL queries directly. D)
B 1
Selected Answer: B Most efficient choice
B 1
Selected Answer: B B is correct
B 1
Selected Answer: B “If your app talks to Redshift — think Data API, not JDBC!” (Data API = serverless way to query Redshift data from web/Lambda) B is correct
B 1
Selected Answer: B The Amazon Redshift Data API lets applications execute SQL statements directly over HTTPS, without persistent connections, VPC access, drivers, or connection pooling. It is a good fit for web-based applications that need to query Redshift with low operational overhead.