exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 11 question 9 discussion

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

Dress4Win has end-to-end tests covering 100% of their endpoints.
They want to ensure that the move to the cloud does not introduce any new bugs.
Which additional testing methods should the developers employ to prevent an outage?

  • A. They should enable Google Stackdriver Debugger on the application code to show errors in the code.
  • B. They should add additional unit tests and production scale load tests on their cloud staging environment.
  • C. They should run the end-to-end tests in the cloud staging environment to determine if the code is working as intended.
  • D. They should add canary tests so developers can measure how much of an impact the new release causes to latency.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
examtaker11
Highly Voted 4 years, 8 months ago
C- I would run the same test suite in cloud) to see what breaks
upvoted 28 times
Jphix
3 years, 9 months ago
Going with B. "Final answer" lol. C is a good answer except that they're asking for an additional testing method. Since they're already testing endpoints specifically, you'd literally be running the exact same test after migration. That said, for B, I'm still at a loss of why we'd need to do additional unit testing--best explanation is that some of the applications will have needed to be retooled for PaaS offerings if they're doing more than a lift-and-shift, thereby actually changing the underlying code; but the production-level load testing is like the most GCP thing you can do here
upvoted 9 times
...
mesodan
2 years, 8 months ago
I would go with B. "Additional" seems to be the keyword here so adding unit tests and production scale load tests to the ones they already have makes more sense.
upvoted 2 times
...
Smart
4 years, 8 months ago
Agree, however, I think running at production-scale would not only show what breaks but also when it breaks? I go with B
upvoted 6 times
...
...
FAB1010
Highly Voted 4 years, 3 months ago
Question mention that "end-to-end tests covering 100% of their endpoints", "ensure that the move to the cloud does not introduce any new bugs", and "additional testing methods should the *developers* employ to *prevent an outage*" A - Not Correct. Developer can debug the problem, but cannot *prevent* the outage. B - Correct. Developers are responsible for writing unit tests. They already have end-to-end tests for *endpoints* but nothing mentioned about the unit tests. Cloud will auto-scale but you need to define your auto-scaling configuration (desired count, max count etc) and production scale load test will help you to configure the auto-scaling policies C - Not Correct. They already have end-to-end test. Running it on staging environment will not prevent an outage D - Not Correct. Answers says "an impact the new release causes to latency" but question ask for preventing an outage and so this one is ruled out
upvoted 21 times
...
bigzero
Most Recent 5 months, 2 weeks ago
D they already has 100% covering end-to-end testing, that means unit tests was finished before this so, additional test remains canary in production environment
upvoted 1 times
...
Jconnor
11 months ago
B is testing scale, C is testing the code is working as intended in the cloud. the question is for bugs, not for scale. It should be C, but I understand why everyone goes for B. Neurodivergents will go for C.
upvoted 1 times
...
RitwickKumar
2 years, 2 months ago
Selected Answer: B
Note the ask "prevent an outage". One of the way to test outage scenarios is through load testing. Option B covers this where as option C only covers checking the intended behaviour.
upvoted 2 times
...
[Removed]
2 years, 7 months ago
Testing pipeline: Unit ---- Integration --- end-to-end If choose B, add additional unit tests. It should be continue to do Integrationt test and end-to-end test. But it just has a unit test, then go to produciton scale load test. C should be better, becasue it has finished end-to-end tests before, so for move to the cloud, it should be test the end-to-end in cloud preproduction enviroment to check whethere it's also working fine on cloud. https://cloud.google.com/architecture/building-production-ready-data-pipelines-using-dataflow-developing-and-testing#end-to-end_tests
upvoted 1 times
...
joe2211
2 years, 11 months ago
Selected Answer: B
vote B
upvoted 2 times
...
rottzy
3 years ago
end-to-end is already present, go for additional tests
upvoted 1 times
...
amxexam
3 years, 1 month ago
It should be B as for all those going with C if you do all staging you will still leave out the performance test that scales the application which is covered in B that means even if the application works well but will not scale properly will lead to an outage, which we are asked to prevent.
upvoted 1 times
...
victory108
3 years, 3 months ago
B. They should add additional unit tests and production scale load tests on their cloud staging environment.
upvoted 3 times
...
MamthaSJ
3 years, 3 months ago
Answer is B
upvoted 4 times
...
Ausias18
3 years, 7 months ago
Answer is B (but C... uff... is also possible, but as the question says end-to-end is already done)
upvoted 3 times
...
lynx256
3 years, 7 months ago
B is ok
upvoted 1 times
...
ybe_gcp_cert
3 years, 7 months ago
Question asks about "ADDITIONAL testing methods". B adds production scale load tests. C should also be executed in a new cloud env but this question dosn't ask for this. In real life serious projects, B and C are mandatory (end to end and perf tests). Should be B.
upvoted 2 times
...
guid1984
3 years, 8 months ago
Should be B Reasoning: They already had end-to-end contract tests coverage for all their service(s) endpoints. So, additionally they should add unit test coverage and perform prod load tests in staging environment which will help find out performance related issues before deploying it to production.
upvoted 1 times
...
Rightsaidfred
3 years, 8 months ago
Obviously C. Yes they have end-to-end tests on prem with 100% coverage, however this hasn't been tested in the cloud yet.
upvoted 1 times
...
bnlcnd
3 years, 9 months ago
B vs C B sounds right other than additional "unit" test. C is nothing wrong but not mentioning load. I will throw a dime to decide which to choose.
upvoted 1 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