nerdexam
Zend

200-710 · Question #52

Your application uses PHP to accept and process file uploads. It fails to upload a file that is 5 MB in size, although upload_max_filesize is set to "10M". Which of the following configuration…

The correct answer is A. The PHP configuration option post_max_size is set to a value that is too small D. The hidden form field MAX_FILE_SIZE was set to a value that is too small. See the full explanation below for the reasoning.

Web Features

Question

Your application uses PHP to accept and process file uploads. It fails to upload a file that is 5 MB in size, although upload_max_filesize is set to "10M". Which of the following configuration options could be responsible for this outcome? (Choose 2) A. The PHP configuration option post_max_size is set to a value that is too small B. The web server is using an incorrect encoding as part of the HTTP response sent to the client C. The browser uses an incorrect encoding as part of the HTTP request sent to the server D. The hidden form field MAX_FILE_SIZE was set to a value that is too small E. PHP cannot process file uploads larger than 4 MB

Options

  • AThe PHP configuration option post_max_size is set to a value that is too small
  • BThe web server is using an incorrect encoding as part of the HTTP response sent to the client
  • CThe browser uses an incorrect encoding as part of the HTTP request sent to the server
  • DThe hidden form field MAX_FILE_SIZE was set to a value that is too small
  • EPHP cannot process file uploads larger than 4 MB

How the community answered

(48 responses)
  • A
    83% (40)
  • B
    10% (5)
  • C
    2% (1)
  • E
    4% (2)

Topics

#upload_max_filesize#post_max_size#MAX_FILE_SIZE#file upload configuration

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice