nerdexam
Zend

200-710 · Question #4

Consider 3 PHP files that are called asynchronously via XMLHttpRequest: // s1.php session_start(); sleep(1); // s2.php session_start(); sleep(2); // s3.php session_start(); sleep(3); Which of the foll

Sign in or unlock 200-710 to reveal the answer and full explanation for question #4. The question stem and answer options stay visible for context.

Question

Consider 3 PHP files that are called asynchronously via XMLHttpRequest: // s1.php session_start(); sleep(1); // s2.php session_start(); sleep(2); // s3.php session_start(); sleep(3); Which of the following statements is true? (Choose two.)

Options

  • AThe total execution time for all 3 requests will be the maximum of the longest sleep() call
  • BThe requests may be processed out of order
  • CThe requests are guaranteed to be executed in order
  • DConcurrent requests will be blocked until the session lock is released

Unlock 200-710 to see the answer

You've previewed enough free 200-710 questions. Unlock 200-710 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 200-710 Practice