최신 Application Security 312-96 무료샘플문제:
1. Which of the following configurations can help you avoid displaying server names in server response header?
A) < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" ServerName ="null " redirectPort="8443'' / >
B) < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" Server = " " redirectPort="8443" / >
C) < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" ServerName=" disable" redirectPort="8443" / >
D) < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort= "8443" / >
2. Identify the type of encryption depicted in the following figure.
A) Digital Signature
B) Hashing
C) Asymmetric Encryption
D) Symmetric Encryption
3. To enable the struts validator on an application, which configuration setting should be applied in the struts validator configuration file?
A) lsNotvalidate="false"
B) validate="enabled"
C) lsNotvalidate="disabled"
D) valid ate-'true"
4. Alice, a security engineer, was performing security testing on the application. He found that users can view the website structure and file names. As per the standard security practices, this can pose a serious security risk as attackers can access hidden script files in your directory. Which of the following will mitigate the above security risk?
A) < int-param > < param-name>directory-listinqs < param-value>true < /init-param >
B) < int-param > < param-name>listinqs < param-value>false < /init-param >
C) < int param > < param-name>directorv-listinqs < param-value>false < /init-param >
D) < int-param > < param-name>listinqs < param-value>true < /init-param
5. A developer to handle global exception should use _________ annotation along with @ExceptionHandler method annotation for any class
A) @GlobalAdvice
B) @Advice
C) @ControllerAdvice
D) @globalControllerAdvice
질문과 대답:
질문 # 1 정답: B | 질문 # 2 정답: D | 질문 # 3 정답: D | 질문 # 4 정답: B | 질문 # 5 정답: C |