exam questions

Exam Professional Data Engineer All Questions

View all questions & answers for the Professional Data Engineer exam

Exam Professional Data Engineer topic 1 question 55 discussion

Actual exam question from Google's Professional Data Engineer
Question #: 55
Topic #: 1
[All Professional Data Engineer Questions]

Your organization has been collecting and analyzing data in Google BigQuery for 6 months. The majority of the data analyzed is placed in a time-partitioned table named events_partitioned. To reduce the cost of queries, your organization created a view called events, which queries only the last 14 days of data. The view is described in legacy SQL. Next month, existing applications will be connecting to BigQuery to read the events data via an ODBC connection. You need to ensure the applications can connect. Which two actions should you take? (Choose two.)

  • A. Create a new view over events using standard SQL
  • B. Create a new partitioned table using a standard SQL query
  • C. Create a new view over events_partitioned using standard SQL
  • D. Create a service account for the ODBC connection to use for authentication
  • E. Create a Google Cloud Identity and Access Management (Cloud IAM) role for the ODBC connection and shared ג€eventsג€
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jvg637
Highly Voted 4 years, 10 months ago
C = A standard SQL query cannot reference a view defined using legacy SQL syntax. D = For the ODBC drivers is needed a service account which will get a standard Bigquery role.
upvoted 54 times
...
[Removed]
Highly Voted 4 years, 10 months ago
Answer: CD
upvoted 10 times
...
Yad_datatonic
Most Recent 2 weeks ago
Selected Answer: AD
To ensure applications can connect to BigQuery via an ODBC connection, take these two actions: A. Create a new view over events using standard SQL to replace the legacy SQL view, ensuring compatibility with ODBC, and D. Create a service account for the ODBC connection to authenticate and access the data. These steps ensure the applications can query the last 14 days of data efficiently and securely. Avoid unnecessary changes like creating new tables or custom IAM roles.
upvoted 1 times
...
Smakyel79
2 months, 1 week ago
Selected Answer: AD
A. Legacy SQL views are not compatible with ODBC connections, which require standard SQL. Creating a new view in standard SQL ensures compatibility for the applications connecting via ODBC. D. ODBC connections to BigQuery require authentication, typically via a service account with the appropriate permissions. Setting up a service account ensures secure and reliable access.
upvoted 1 times
...
Vullibabu
1 year, 1 month ago
I think question should be rewrite slightly like which 3 actions should you take rather than 2 .. Then answer would be A,D and E..No ambiguity then
upvoted 1 times
...
task_7
1 year, 1 month ago
Selected Answer: BD
ODBC connections require standard SQL, not legacy SQL. Service account for the ODBC connection
upvoted 1 times
...
Bahubali1988
1 year, 4 months ago
This dump is full of wrong answers - not sure which one to go for.
upvoted 2 times
...
alihabib
1 year, 6 months ago
CD..... C because, ODBC drivers dont support switch b/w legacy SQL & google SQL, hence better to create a new view from recent partitioned table & D as Google best practice for role binding
upvoted 1 times
...
baht
1 year, 7 months ago
the answer is C & D
upvoted 1 times
...
musumusu
1 year, 11 months ago
answer: A & D Confusion here: Legacy SQL vs Standard, BQ supports legacy SQL but ODBC or Most RDBMS connection doesn't support Legacy SQL, so in this case we need to create a new view on existing view or replace the existing one by changing syntax. For ODBC, you just need a service account to authenticate as its external service connection. Option E is not necessary.
upvoted 2 times
musumusu
1 year, 11 months ago
Go for B, create a new view from the table, If you modify the syntex in option A, its also mean you created a new view on table :P
upvoted 1 times
...
...
PolyMoe
2 years ago
Selected Answer: DE
D. Create a service account for the ODBC connection to use for authentication. This service account will be used to authenticate the ODBC connection, and will be granted specific permissions to access the BigQuery resources. E. Create a Cloud IAM role for the ODBC connection and shared events. This role will be used to grant permissions to the service account created in step D, and will allow the applications to access the events view in BigQuery. Creating a new view over events using standard SQL may also be beneficial to improve performance and compatibility with the applications, but is not required for the ODBC connection to work.
upvoted 4 times
...
samdhimal
2 years ago
INFO: - The majority of the data analyzed is placed in a time-partitioned table named events_partitioned. - To reduce the cost of queries, your organization created a view called events, which queries only the last 14 days of data. - The view is described in legacy SQL. QUESTION: Next month, existing applications will be connecting to BigQuery to read the events data via an ODBC connection. You need to ensure the applications can connect. Which two actions should you take? (Choose two.) -> First and foremost we need to understand the information. So our actual data is stored in events_partitioned table. The organization is currently using view called events to reduce the cost. -> Since the view called events only has last 14 days of data we cannot use that view. -> We also cannot use that view because standard SQL is not used to describe the view. In order to connectt ODBC we need a view described by standard SQL.
upvoted 3 times
samdhimal
2 years ago
A. Create a new view over events using standard SQL -> Wrong, events view contains only last 14 days of data and also it uses Legacy SQL. B. Create a new partitioned table using a standard SQL query -> Partitioned Table is not helpful in this situation.Hence, I am ruling it out. C. Create a new view over events_partitioned using standard SQL -> Correct this is exactly what we need. 1.We need to create a new view over events_partitioned. 2. We need to use Standard SQL. This is a valid option. D. Create a service account for the ODBC connection to use for authentication. - Correct answer because we are required to authenticate before ODBC connection. E. Create a Google Cloud Identity and Access Management (Cloud IAM) role for the ODBC connection and shared ג€eventsג€ - This option is of no use in this scenario
upvoted 1 times
...
...
GCPpro
2 years ago
CE is the correct answer
upvoted 1 times
...
MisuLava
2 years, 5 months ago
Selected Answer: CD
needed a service account for ODBC drivers standard SQL vs legacy SQL.
upvoted 2 times
...
Smaks
2 years, 6 months ago
Selected Answer: CE
1. Create Services account from IAM & Admin 2. Add Services account permission Roles as "BigQuery Admin" or any custom Role. Other options are not related ' to ensure the applications can connect'
upvoted 4 times
Smaks
2 years, 6 months ago
typo - D; E
upvoted 4 times
...
...
Arkon88
2 years, 11 months ago
Selected Answer: CD
As stated by jvg637 C = A standard SQL query cannot reference a view defined using legacy SQL syntax. D = For the ODBC drivers is needed a service account which will get a standard Bigquery role.
upvoted 1 times
...
medeis_jar
3 years, 1 month ago
Selected Answer: CD
As stated by jvg637 C = A standard SQL query cannot reference a view defined using legacy SQL syntax. D = For the ODBC drivers is needed a service account which will get a standard Bigquery role.
upvoted 3 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago