exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 62 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 62
Topic #: 1
[All Professional Cloud Developer Questions]

You have an application running in App Engine. Your application is instrumented with Stackdriver Trace. The /product-details request reports details about four known unique products at /sku-details as shown below. You want to reduce the time it takes for the request to complete.
What should you do?

  • A. Increase the size of the instance class.
  • B. Change the Persistent Disk type to SSD.
  • C. Change /product-details to perform the requests in parallel.
  • D. Store the /sku-details information in a database, and replace the webservice call with a database query.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
certificationguru
Highly Voted 3 years, 2 months ago
I agree with this, answer is C
upvoted 9 times
...
__rajan__
Most Recent 7 months, 1 week ago
Selected Answer: C
C is correct.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
Option C is the correct answer. By changing /product-details to perform the requests in parallel, you can reduce the time it takes for the request to complete by making multiple requests at the same time rather than sequentially. This will allow you to retrieve the information for all four products more quickly. Option A is not a good solution because increasing the size of the instance class may not necessarily reduce the time it takes for the request to complete. Option B is not a good solution because changing the Persistent Disk type to SSD will not have any impact on the time it takes for the request to complete. Option D is not a good solution because storing the /sku-details information in a database and replacing the webservice call with a database query will not necessarily reduce the time it takes for the request to complete, and it will add unnecessary complexity to the application.
upvoted 1 times
...
N8dagr8
1 year, 7 months ago
Selected Answer: C
C feels right
upvoted 1 times
...
tomato123
1 year, 8 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
kinoko1330
1 year, 8 months ago
Selected Answer: C
Vote C
upvoted 1 times
...
syu31svc
2 years, 9 months ago
App Engine is serverless so A and B are eliminated Between C and D, I'd take C. https://cloud.google.com/appengine/docs/standard/java/datastore/queries: "This solution is no longer recommended"
upvoted 1 times
syu31svc
2 years, 9 months ago
On 2nd thought, App Engine has instance classes: https://cloud.google.com/appengine/docs/standard So I'll change my answer to A
upvoted 1 times
syu31svc
2 years, 9 months ago
Pardon my fickle-mindedness Back to C as options A & B are wrong as they do not have a direct correlation with the issue and there is nothing to suggest they need to be increased.
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