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 68 Discussion

Posted by Noah on Jun 18, 2024 at 01:17 PM

You work for a shared hosting provider, and your supervisor asks you to disable user scripts to dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)

Suggested Answer: B

Get Premium 200-710 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
40 comments · newest first
DI
Dion 11 months ago
A and B are the only options that make sense here.
KA
Kathrine 12 months ago
Wait, can you really disable dl() like that?
VA
Val 12 months ago
C? That doesn't sound right at all.
LE
Leana 1 year ago
I think B could work too, right?
MA
Mary 1 year ago
A is definitely the way to go!
CH
Chanel 1 year ago
Writing a custom dl() function sounds a bit complicated. I don't think that's the right approach, but I could be wrong.
HI
Hillary 1 year ago
I don't recall seeing disable_classes mentioned in our materials. It seems like it wouldn't be relevant for this question.
MA
Marta 1 year ago
I'm not entirely sure, but I remember something about using disable_functions to restrict certain functions. Maybe adding dl to that list could work?
CA
Carolann 1 year ago
I think setting enable_dl to Off in php.ini is definitely one of the options. It sounds familiar from our last practice session.
OD
Odette 1 year ago
I think the best approach here is to use option B and add dl to the disable_functions list. That seems like the most direct way to disable that function across the server.
AU
Audria 1 year ago
Okay, I've got it. The key is to add dl to the disable_functions list in the php.ini file. That should do the trick.
JO
Johna 1 year ago
Hmm, I'm a bit confused. I'm not sure if that's the only way to disable the dl() function. I'll need to think this through carefully.
KE
Kenneth 1 year ago
This seems pretty straightforward. I think the answer is to set enable_dl to Off in the php.ini file.
PA
Pansy 1 year ago
I'm not totally sure about this one. I think the options A and B both sound like they could work, but I'm not 100% confident. I'll need to double-check the details.
PR
Princess 1 year ago
Okay, let's see. The key things to consider here are the node type, certificate, mode, and admin privileges. I'll review each option closely.
SO
Solange 1 year ago
This question seems straightforward, but I want to make sure I understand the connection settings correctly before selecting my answers.
CA
Casie 1 year ago
This is a tricky one. I know the Goals Cascade model is about aligning different levels of goals, but I'm not totally clear on the specifics. I'll try to eliminate the options that don't seem quite right, and then make an educated guess on the best answer.
ON
Oneida 1 year ago
I'd carefully reread the description. They mention the Corporate Compliance Committee is convened for 'specific management concerns', which sounds like an ad hoc characteristic.
GL
Glory 2 years ago
Ah, the good old dl() function. It's like the 'Please Steal My Identity' button on your hosting dashboard.
PR
Providencia 2 years ago
Option C? Really? Disabling the dl() function by adding it to disable_classes? That's like trying to lose weight by eating more cake.
CH
Chaya 1 year ago
↳ replying to Providencia
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
DE
Deane 1 year ago
↳ replying to Providencia
A) Set enable_dl to Off in the server's php.ini configuration file.
KA
Karol 1 year ago
↳ replying to Providencia
Option C is incorrect. It should be either A or B.
LI
Linette 1 year ago
↳ replying to Providencia
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
SA
Samuel 1 year ago
↳ replying to Providencia
A) Set enable_dl to Off in the server's php.ini configuration file.
ME
Melissa 2 years ago
I'm going with options A and B. Can't go wrong with the classic php.ini tweaks. Keeps things simple and secure.
KA
Kaycee 1 year ago
↳ replying to Melissa
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
JE
Jeannetta 1 year ago
↳ replying to Melissa
A) Set enable_dl to Off in the server's php.ini configuration file.
CE
Celestina 2 years ago
Option B looks good to me. Adding dl to the disable_functions list is a clean way to restrict its usage without affecting the entire system.
TA
Tamekia 1 year ago
↳ replying to Celestina
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
DI
Dion 1 year ago
↳ replying to Celestina
A) Set enable_dl to Off in the server's php.ini configuration file.
OM
Omer 2 years ago
I'm not a fan of option D. Writing a custom function called dl() and then using the auto_prepend_file directive seems too complex and could potentially cause issues down the line.
HE
Herminia 1 year ago
↳ replying to Omer
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
AD
Adelle 1 year ago
↳ replying to Omer
A) Set enable_dl to Off in the server's php.ini configuration file.
LO
Lourdes 2 years ago
Option A seems the most straightforward way to disable the dl() function. Disabling the entire function is a simple and effective solution.
BU
Buck 2 years ago
↳ replying to Lourdes
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
LA
Latosha 2 years ago
↳ replying to Lourdes
A) Set enable_dl to Off in the server's php.ini configuration file.
AU
Audra 2 years ago
I'm not sure about option D though, writing a custom function seems like a lot of extra work.
AN
Antonette 2 years ago
I agree with Rolande, that seems like the most straightforward way to disable user scripts.
RO
Rolande 2 years ago
I think we should go with option A and set enable_dl to Off in the php.ini file.
0/2000 characters

Save Cancel