Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B. Asynchronous requests allow the browser to continue processing other tasks while waiting for the API response. If the response is an error or a timeout, you can handle this gracefully by not displaying the widget or showing a message indicating that the data couldn't be loaded. This way, the performance of the rest of your page remains unaffected.
About synchronous=true is more comfortable for user experience.
Correct Answer B.