Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 194 discussion

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

An online brokerage company requires a high volume trade processing architecture. You need to create a secure queuing system that triggers jobs. The jobs will run in Google Cloud and call the company's Python API to execute trades. You need to efficiently implement a solution. What should you do?

  • A. Use a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API.
  • B. Write an application hosted on a Compute Engine instance that makes a push subscription to the Pub/Sub topic.
  • C. Write an application that makes a queue in a NoSQL database.
  • D. Use Cloud Composer to subscribe to a Pub/Sub topic and call the Python API.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
lucaluca1982
Highly Voted 1 year, 8 months ago
A and D are both good. I go for A because we have high volume and easy to scale and optmize cost
upvoted 6 times
...
kajitsu
Most Recent 4 months, 4 weeks ago
Selected Answer: D
D is the answer.
upvoted 2 times
nadavw
3 months ago
There is no need for a composer to call a Python API only - it's an overkill.
upvoted 1 times
...
...
squishy_fishy
1 year, 1 month ago
Answer is D, at work we use solution A for low volume of Pub/Sub messages and Cloud function, and using D Composer for high volume Pub/Sub messages.
upvoted 3 times
...
musumusu
1 year, 9 months ago
Answer A: assume, Company wants to buy immediately in same second if stock goes down or up. Somehow, it is connected to PubSub as SINK connector, then immediately there is PUSH to subcriber (cloud function) that is connected to their python API (internal application) that makes the purchase.
upvoted 4 times
...
AzureDP900
1 year, 10 months ago
A. Use a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API.
upvoted 1 times
...
zellck
1 year, 12 months ago
Selected Answer: A
A is the answer.
upvoted 3 times
...
Selected Answer: A
Because trading platform requires securely transmission to queuing If you use cloud compose then we need some other job to trigger composer … would that be cloud composer api or cloud function …
upvoted 4 times
...
TNT87
2 years, 1 month ago
https://cloud.google.com/functions/docs/calling/pubsub
upvoted 1 times
...
TNT87
2 years, 2 months ago
Selected Answer: A
Ans A https://cloud.google.com/functions/docs/calling/pubsub#deployment
upvoted 4 times
...
YorelNation
2 years, 2 months ago
Selected Answer: A
A because D is stupidly high latency
upvoted 3 times
...
nwk
2 years, 2 months ago
Vote A, can't see the need for composer
upvoted 1 times
...
soichirokawa
2 years, 2 months ago
A might be enough. Cloud composer will be an overkill
upvoted 3 times
...
AWSandeep
2 years, 2 months ago
A. Use a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API.
upvoted 4 times
...
ducc
2 years, 2 months ago
Selected Answer: D
D is a more recommend way by Google, IMO.
upvoted 1 times
squishy_fishy
1 year, 1 month ago
I agree, at work use solution A for low volume of Pub/Sub messages and function, and using Composer for high volume Pub/Sub messages.
upvoted 2 times
...
...
PhuocT
2 years, 2 months ago
A. more sense to me.
upvoted 1 times
ducc
2 years, 2 months ago
Composer support exception and retry for complex pipeline. D might be correct
upvoted 2 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 ...