nerdexam
GIAC

GCIA · Question #150

GCIA Question #150: Real Exam Question with Answer & Explanation

Sign in or unlock GCIA to reveal the answer and full explanation for question #150. The question stem and answer options stay visible for context.

Question

Adam works as a Senior Programmer for Umbrella Inc. A project has been assigned to him to write a short program to gather user input for a Web application. He wants to keep his program neat and simple. His chooses to use printf(str) where he should have ideally used printf("%s", str). What attack will his program expose the Web application to?

Options

  • ASequence++ attack
  • BCross Site Scripting attack
  • CFormat string attack
  • DSQL injection attack

Unlock GCIA to see the answer

You've previewed enough free GCIA questions. Unlock GCIA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GCIA Practice