EC-COUNCIL EC-Council Certified Secure Programmer v2 認定 312-92 試験問題:
1. What type of error will result from the following statement?
int main(int argc, char* argv[])
{
char i[7];
strncpy(i, "sdfusdofof", sizeof(i));
}
A) String-termination
B) Unbounded string copy
C) Null-termination
D) String truncation
2. Jonathan is creating an XML document and needs to sign data streams. In his code, Jonathan creates a signature node that is contained within the signed datastream. What type of signature signing has Jonathan employed here?
A) Enveloping
B) Enveloped
C) Detached
D) Attached
3. Jacob is the system administrator for his company, managing over 20 Linux-based servers.
Jacob wants to ensure that his servers are secure so he decides to add the following line to the /etc/sysctl.conf file:
net.ipv4.conf.all.rp_filter = 1
What will this line accomplish?
A) Prevent spoofing of incoming packets that appear to be from local machine
B) Prevent spoofing of incoming packets that appear to be from the computer's defaultgateway
C) Allow outgoing packets only through primary network card
D) Allow incoming packets only from own subnet
4. What is one of the dominant factors that lead to insecure programming?
A) Security is not usually a skill possesed by programmers or developers
B) Secure programming is not seen as a priority by any corporation
C) Secure programming is seen as too costly and time consuming by corporations
D) No companies currently teach developers how to create secure programs
5. If a developer wrote the following code, what would the script be vulnerable to?
#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);
}
A) Buffer overflow
B) SQL injection
C) Format string attack
D) Query string manipulation
質問と回答:
| 質問 # 1 正解: C | 質問 # 2 正解: B | 質問 # 3 正解: A | 質問 # 4 正解: A | 質問 # 5 正解: C |














840 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
