Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 7 Question 47 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 47
Topic #: 7
[All 200-710 Questions]

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 configurations could be responsible for this outcome? (Choose 2)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Linette
5 months ago
I disagree with C, it’s usually server-side settings that matter more.
upvoted 0 times
...
Ilene
5 months ago
A is definitely a common culprit for upload issues.
upvoted 0 times
...
Kaitlyn
5 months ago
Surprised to see B listed, that doesn't seem related to file size.
upvoted 0 times
...
Annamae
5 months ago
I think E is outdated info, PHP can handle larger files now.
upvoted 0 times
...
Jina
5 months ago
Definitely A and D could be the issue.
upvoted 0 times
...
Vashti
6 months ago
I vaguely recall that PHP has some limits, but I thought it was more about the server settings than the browser encoding. So, I’m leaning towards A and D.
upvoted 0 times
...
Katy
6 months ago
I practiced a similar question, and I think the post_max_size setting is crucial, but I’m not confident about the others.
upvoted 0 times
...
Dustin
6 months ago
I’m not entirely sure, but I feel like the MAX_FILE_SIZE hidden field might limit the upload size too, so maybe option D?
upvoted 0 times
...
Elise
6 months ago
I remember something about post_max_size affecting file uploads, so I think option A could be a reason.
upvoted 0 times
...
Yoko
6 months ago
This is a tricky one. I'll need to carefully weigh the pros and cons of each option to determine the best answer.
upvoted 0 times
...
Linwood
6 months ago
No problem, I've done this before. Just gotta follow the steps carefully.
upvoted 0 times
...
Aja
6 months ago
Wait, so he admitted he has an alcohol problem and wants to quit? I'm thinking option C - giving him a leave of absence might help him get treatment.
upvoted 0 times
...
Irving
6 months ago
I vaguely remember we discussed that one iteration of the process should lead to identifying service candidates, but I'm not entirely sure.
upvoted 0 times
...
Denny
6 months ago
I feel like this is a trick question. All the options sound similar. Option D seems off, but I'm stuck between A and C.
upvoted 0 times
...
Billi
6 months ago
Hmm, I'm a bit unsure about this. I know GDPR allows for some exceptions like consent and BCR, but I can't remember if the Safe Harbor Framework is still valid. I'll have to think this through carefully.
upvoted 0 times
...
Vallie
11 months ago
Haha, E? 4 MB? What is this, the 90s? I'm pretty sure modern PHP can handle much larger file uploads. This exam is trying to trip us up, but we're too smart for that!
upvoted 0 times
Helga
10 months ago
D) The hidden form field MAX_FILE_SIZE was set to a value that is too small
upvoted 0 times
...
Erasmo
11 months ago
A) The PHP configuration option post_max_size is set to a value that is too small
upvoted 0 times
...
...
King
11 months ago
B and C? Really? The web server and browser encoding? That's just a red herring. This is all about the PHP configuration and the form settings. Easy peasy!
upvoted 0 times
...
Silva
11 months ago
Hmm, I think it's definitely A and D. The post_max_size setting and the MAX_FILE_SIZE form field have to be larger than the file size, or else the upload will fail. Gotta love these trick questions!
upvoted 0 times
Delmy
9 months ago
Angella: Nope, those don't affect the file upload size limit.
upvoted 0 times
...
Latonia
9 months ago
User 3: So it's not about the web server or browser encoding then?
upvoted 0 times
...
Angella
9 months ago
User 2: Yeah, those settings definitely play a big role in file uploads.
upvoted 0 times
...
Delsie
9 months ago
User 1: I agree, post_max_size and MAX_FILE_SIZE need to be larger than the file size for the upload to work.
upvoted 0 times
...
Marget
9 months ago
Lamar: Nope, those don't affect the file upload size limit.
upvoted 0 times
...
Geraldine
10 months ago
User 3: So it's not about the web server or browser encoding then?
upvoted 0 times
...
Lamar
11 months ago
User 2: Yeah, those settings definitely play a big role in file uploads.
upvoted 0 times
...
Tammara
11 months ago
User 1: I agree, post_max_size and MAX_FILE_SIZE need to be larger than the file size for the upload to work.
upvoted 0 times
...
...
Honey
11 months ago
I also think D) The hidden form field MAX_FILE_SIZE could be set too small.
upvoted 0 times
...
Evelynn
12 months ago
I agree with Brett. It makes sense that the post_max_size could be the issue.
upvoted 0 times
...
Brett
12 months ago
I think A) The PHP configuration option post_max_size is set too small.
upvoted 0 times
...

Save Cancel