Q363
DBI scripts are located in the directory . . . . . . . .
A.
cgi-inc
B.
cgi-bin
AnswerC.
cgi-usr
D.
cgi-perl
Answer: Option B
Solution
Answer: Option B
Solution:
This question is asking about where DBI scripts are usually stored. DBI scripts are programs written in a language called Perl, which is used to interact with databases, like MySQL.
The answer is Option B: cgi-bin. Here's why:
* cgi-bin is a common directory on web servers where CGI scripts are placed. * CGI stands for Common Gateway Interface, a standard way for web servers to run programs and generate dynamic content. * DBI scripts are often written as CGI scripts to interact with databases and produce web pages.
The other options are not correct:
* cgi-inc: This directory is usually used for include files, which are smaller pieces of code that can be reused in different parts of a larger script. * cgi-usr: This directory doesn't exist by default on most web servers. * cgi-perl: This directory doesn't exist by default on most web servers.
So, the correct answer is Option B: cgi-bin.