EC-COUNCIL 312-92 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 312-92
  • Exam Name/Title: EC-Council Certified Secure Programmer v2
  • Certification Provider: EC-COUNCIL
  • Corresponding Certification: ECSP
  • Exam Questions: 99
  • Updated On: Jul 08, 2026
Gloria is the lead operation manager for a movie production company in Las Vegas. She has been asked with ensuring that the new movie created by the company will fit on one side of a DVD disk that will be sold to the public. If the movie mentioned is a full-length production and must fit on one side of the disk, what level of compression must Gloria use?
Correct Answer: C Vote an answer
Lyle is writing some code in VB.NET and is implementing some build-in security. What type of .NET security is Lyle using in the following code?
public class Myclass1
Public Sub New()
End Sub
Public Sub MyMethods()
Dim Perm As New MyPermission()
Perm.Demand()
End Sub
Pub Sub YourMethod()
End Sub
End Class
Correct Answer: D Vote an answer
Versions Unlimited, a software design company in Seattle, has just finished development of a new mapping software product. They have completed testing the internal code and are now ready to involve users other than programmers in the testing. Versions Unlimited invites internal employees and some external users to come to their company and test the product in a controlled environment.
What type of testing is Versions Unlimited currently undertaking?
Correct Answer: C Vote an answer
Harold is creating an Oracle Label Security Policy on his server. He has define the policy and defined the components of the labels already. Now Harold creates the labels dynamically using the TO_DATA_LABEL function:
INSERT INTO emp (ename, empnum, hr_label)
VALUES ('FGRIFFIN', 10 to_data_label ('HR', 'SENSITIVE'));
Harold gets an error reffering to permission when he tries to run this function. What authority must Harold have to run the TO_DATA_LABEL function?
Correct Answer: D Vote an answer
What two encryption methods are used by the Secure Electronic Transaction system?
Correct Answer: A,B Vote an answer
Kenny is the CIO for Fredrickson Entertainment, a gaming software company in Omaha.
The developers in Kenny's company have just finished creating a 3D first person shooter game that will be released to the market within the next couple of months. Kenny is trying to decide what type of license or activation code structure they should use for the game to prevent piracy and protect their product. Kenny decides to go with an approach that will allow each sold copy to be activated online up to five times because he knows his users might have multiple PCs or might need to reinstall the product at some point.
What type of activation policy has Kenny decided to go with?
Correct Answer: B Vote an answer
David is an applications developer working for Dewer and Sons law firm in Los Angeles David just completed a course on writing secure code and was enlightened by all the intricacies of how code must be rewritten many times to ensure its security. David decides to go through all the applications he has written and change them to be more secure. David comes across the following snippet in one of his programs:
#include <stdio.h>
int main(int argc, char **argv)
{
int number = 5;
printf(argv[1]);
putchar('\n');
printf("number (%p) is equal to %d\n",
&value, value);
}
What could David change, add, or delete to make this code more secure?
Correct Answer: A Vote an answer
Darren has just been hired on as the SQL dba for Fredrickson Inc., a marketing firm in New York City. He has been asked to clearn up the SQL databases on one of the servers. What SQL stored procedure could Darren use to remove user accounts from the databases?
Correct Answer: B Vote an answer
What security package is implemented with the following code?
dwStatus = DsMakSpn
(
"ldap",
"MyServer.Mydomain.com",
NULL,
0,
NULL,
&pcSpnLength,
pszSpn
);
rpcStatus = RpcServerRegisterAuthInfo
(
psz
RPC_C_AUTHN_GSS_NEGOTIATE,
NULL,
NULL
);
Correct Answer: B Vote an answer
What is the security and cryptographic framework used in Mac OS X called?
Correct Answer: B Vote an answer
0
0
0
10