exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 23 discussion

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

Your solution is producing performance bugs in production that you did not see in staging and test environments. You want to adjust your test and deployment procedures to avoid this problem in the future.
What should you do?

  • A. Deploy fewer changes to production
  • B. Deploy smaller changes to production
  • C. Increase the load on your test and staging environments
  • D. Deploy changes to a small subset of users before rolling out to production
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
ghitesh
Highly Voted 4 years, 11 months ago
Question Statement: You want to adjust your test and deployment procedures to avoid this problem in the future So based on this, I think the option "C" is correct, since it is the only one talking about doing changes in the test environment.
upvoted 83 times
Sephethus
6 months, 1 week ago
There is no indication given anywhere that the load is the problem or that the bugs are a result of load and not some other issue encountered when using a specific feature.
upvoted 2 times
alihabib
3 weeks ago
"Performance" bug is a result of Load
upvoted 1 times
...
...
VedaSW
4 years, 2 months ago
C. Increase the load on your test and staging environments. As you have pointed out in "Question Statement", I do not see C covering "deployment procedures". Test and Staging environment is more on testing, but not about deployment procedure to production. So, the only option that cover test and deployment is D. (Yes, kind of unacceptable to have the users to do "testing", but we make it "ok" by calling it "canary deployment")
upvoted 20 times
francescogugliottagm
1 year, 2 months ago
With canary deployment we expose the new version to a small portion of users. With this approach maybe we don't see performance bugs in the canary release, since we don't have the 100% of traffic on the canary. But when we migrate the 100% of traffic to the new release (previous canary) we can see performance bugs.
upvoted 9 times
...
...
Urban_Life
3 years ago
The answer is D
upvoted 9 times
...
RegisFTM
2 years, 11 months ago
"Your solution is producing performance bugs in production..." - I don't see how "D" would help to detect performance bugs. - "C" looks more adequate.
upvoted 19 times
...
...
Eroc
Highly Voted 5 years, 1 month ago
A wouldn't prevent the bugs, it would just avoid them. B would help with root-cause analysis because it'd be a smaller change to review. C would test the performance of the system at its peak processing rates, so this assumes the bugs in production only occur because of usage. D would allow you to test the new code against smaller user sets to see if it occurs then, and if it still does you know it is not because of more user responses. So it's a tossup between C and D, D would be the cheaper/quicker answer so I'd choose D first then C if it's because of usage.
upvoted 38 times
nitinz
3 years, 9 months ago
D, canary rollout
upvoted 7 times
michael_m
2 years, 4 months ago
It has nothing to do with the "performance bugs"
upvoted 1 times
...
...
michael_m
2 years, 4 months ago
According to the question, [Your solution is producing "performance" bugs in production], so I think it is about the load. Plus canary test will not reproduce the bugs related to high load, I vote for C
upvoted 2 times
...
Sreekey
4 years, 4 months ago
The question is about the performance of the existing Code that they did not detect in Test environments . This is not about new API release . In order to test the performance they should increase the load in test environment and hence answer C.
upvoted 18 times
...
AzureDP900
2 years, 2 months ago
C is the best
upvoted 2 times
...
...
deep316
Most Recent 1 week, 4 days ago
Selected Answer: C
Bugs are related to performance. So you would need to perform performance testing thoroughly.
upvoted 1 times
...
Daniaw
1 week, 5 days ago
Selected Answer: D
C could be correct but this can help identify performance bottlenecks, but it might not fully replicate the complexity and unpredictability of real-world production traffic. So D is the most correct one.
upvoted 1 times
...
alihabib
3 weeks ago
Selected Answer: C
"Performance" bug, not a "Development" Bug, so it more aligns with C, to increase the load to determine performance related bugs
upvoted 1 times
...
drinkwater
4 weeks, 1 day ago
I think the right answer here is D. It applies a best best practice of the release managment like canary deplyments. Why is not C; adding more load in staging and testing environments can help identify some performance issues, it is often impossible to replicate the exact conditions of a production environment.
upvoted 1 times
...
Ekramy_Elnaggar
1 month, 1 week ago
Selected Answer: C
Guys, you need to focus on the KEYWORDS in any question, it will help you to determine the best answer. The keyword for this question is "Performance", it is very clear that the load test on stage was not planned correctly (i.e/ lower than it should), so the performance bugs didn't appear, but when it comes to production with much bigger load the issues appear.
upvoted 1 times
...
nareshthumma
2 months ago
C & D both works but D make sense
upvoted 1 times
...
dfizban
2 months, 1 week ago
Selected Answer: D
It's D
upvoted 1 times
...
maxdanny
3 months, 3 weeks ago
Selected Answer: C
C because The performance issues in production might not have been seen in staging or test environments because the load (number of users, transactions, data volume, etc.) in those environments is not representative of the load in production. By increasing the load on your test and staging environments to match or exceed production levels, you can better simulate real-world conditions and catch performance issues before deployment
upvoted 2 times
...
Hungdv
4 months, 2 weeks ago
I will choose D. C: The question does not say the error caused by the load.
upvoted 1 times
...
Haigk
6 months ago
Selected Answer: D
Without overthinking the wording, canary (and similar) deployment methodologies are often recommended in Google documentation, whereas increasing load in dev environments aren't. (My $0.02...)
upvoted 3 times
...
a2le
6 months, 3 weeks ago
Selected Answer: C
Me too! I can't see how a "performance bug" might be mitigated via a canary deployment. However, I see that C doesn't cover the "deployment" part of the question, then I deduce that the question is ambiguously formulated.
upvoted 1 times
...
Robert0
7 months ago
Selected Answer: C
Although all answers can be good practices, I think only option C address the problem described.
upvoted 1 times
...
santoshchauhan
9 months, 2 weeks ago
Selected Answer: D
D. Deploy changes to a small subset of users before rolling out to production. This approach, known as canary releasing or canary deployment, involves rolling out changes to a small group of users before deploying them to the entire user base. It is a very effective way to catch performance issues that might not have been apparent during testing. C. Increase the load on your test and staging environments: This is definitely a good practice, as it can help simulate production-like conditions more closely. However, it may still not capture all real-world scenarios and user behaviors that can lead to performance issues.
upvoted 1 times
...
Patrick2708
1 year ago
C looks good to me
upvoted 2 times
...
MahAli
1 year ago
Selected Answer: C
Canary deployment is perfect to test new feature but to do stress testing, I do development for 25 years, when we want to resolve performance and scalability issues we do stress and load testing in pre prod environment, something you can't do by exposing the new feature to subset of users.
upvoted 6 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