312-92 Exam Details

  • Exam Code
    :312-92
  • Exam Name
    :EC-Council Certified Secure Programmer v2 (ECSP)
  • Certification
    :EC-COUNCIL Certifications
  • Vendor
    :EC-COUNCIL
  • Total Questions
    :99 Q&As
  • Last Updated
    :Jul 12, 2026

EC-COUNCIL 312-92 Online Questions & Answers

  • Question 41:

    Yancey has just finished downloading the Valgrind suite to use in his application development. Yancey is most concerned about the possibility of memory-management issues in his programs. What tool included in Valgrind suite can Yancey use to detect memory-management related issues?

    A. Massif
    B. Cachegrind
    C. Memcheck
    D. MemoryGuard

  • Question 42:

    What function can be used with SQL to encrypt user suppliedpasswords so that they can be compared with the encrypted passwords stored on the SQL server?

    A. DESpassword()
    B. userencrypt()
    C. passwordin()
    D. pwdencrypt()

  • Question 43:

    What coould a developer using Apple's Cocoa accomplish by using the following script?

    NSURL *MyURL = [NSURL URLWithString:@"http://www.apple.com/"];

    NSURL *urlContents = [myURL resourceDataUsingCache:YES];

    if ([urlContents writeToFile:[@"~/Documents/applewebsite.html"

    stringByExpandingTildeInPath]

    atomically:YES])

    {

    // It was successful, do stuff here

    } else {

    // There was a problem writing the file

    }

    A. Download files
    B. Write code to the applewebsite.html page
    C. Load the contents of www.apple.com to the local cache
    D. Check www.apple.com for vulnerabilities

  • Question 44:

    Paul wants to capture audit information on PLSQL so he executes the following command:

    sqlplus "sys / as sysdba"

    Enter password: password123!!!!

    SQL> ALTER SYSTEM SET AUDIT_TRAIL = OS

    SCOPE=SPFILE;

    SQL> SHUTDOWN NORMAL;

    SQL> STARTUP;

    What privileges has Paul logged on with?

    A. ADMIN
    B. Root
    C. SYSDBA
    D. SYS

  • Question 45:

    What will the following script accomplish?

    for (int i=0; i

    if (HttpCookie.domainMatches(blacklist[i],

    host))

    return false;

    A. Create a list of blacklist domains
    B. Check domains against a blacklist
    C. Prevent site from being blacklisted
    D. Delete entries in a blacklist file

  • Question 46:

    Jay is using the EnTrial Key Generator software to create software keys for the programs he has created. To create the unlock key in the software, what two inputs must Jay use?

    A. Vector markup ID
    B. Personal ID
    C. GUID
    D. Generated code

  • Question 47:

    Charles is writing a script in PERL for a website he is working on. The only problem he is having is that part of his script needs to call a file that a normal user does not have permission to access. What PERL command could Charles use to elevate the current user's permission so that the file could be called?

    A. Taint
    B. Setuid
    C. Strict pragma
    D. Setid()

  • Question 48:

    Cylie is the Oracle DBA for her company and now wants to track all actions on her Oracle server using auditing.

    What file should Cylie insert the following line into?

    audit_trail = true

    A. Sqlaudit.conf
    B. audit.sql
    C. init.ora
    D. audit.sql

  • Question 49:

    Simon is writing an application that will use RPC to talk between a client and server. He will use authentication, but in his application the server does not have to know the RPC caller's identity. What type of RPC authentication can Simon use for this application?

    A. UNIX authentication
    B. ANONYMOUS authentication
    C. DES authentication
    D. NULL authentication

  • Question 50:

    Gerald is a web security consultant for Protectors International. Gerald's main responsibility is to search the Internet for malicious and deceitful sites that the public should be aware of. Gerald was tipped off about a particular site and is now

    looking over its source code in a protected environment. Gerald finds the following snippet particularly interesting. What has Gerald stumbled upon?

    A. Hidden post command
    B. Hidden form fields
    C. JavaScript hijacking
    D. XSS attack

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only EC-COUNCIL exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 312-92 exam preparations and EC-COUNCIL certification application, do not hesitate to visit our Vcedump.com to find your solutions here.