Sunteți pe pagina 1din 3

MCQs related to Nlog

1. NLog is a
A)
B)
C)
D)

Tool
Net Library
BB Net Library
A & B both

Ans. B
2. <include/> use to include
A)
B)
C)
D)

Internal Configuration File


External Configuration File
Both A & B
None of them

Ans. B
3. From these elements which two are compulsory
A)
B)
C)
D)

Rules and Extention


Target and Extention
Target and Rules
Extension and Includes

Ans. C
4. A Target cannot be on another machine over the network
A) True
B) False
C) Statement not clear
Ans. B

5. After a warning, the application usually terminates, statement is


A) True
B) False
C) Statement not clear
Ans. B
6. Very detailed Log messages, potentially of a high frequency and volume are used in which
level
A)
B)
C)
D)
E)

Info
Debug
Trace
Both A&B
None of them

Ans. C
7. When using name spaces Type attribute is named
A)
B)
C)
D)

File
Mail
Xsi: type
Data base

Ans. C
8. Write to rule is used to
A)
B)
C)
D)
Ans. B

Make this rule final


Comma separated list of targets that should be written to when this rule matches
Separated list of log levels for the rule to match
A & B Both

9. Which option is not right for contextual information


A) Post date & time
B) Log levels
C) Source name
D) Stack trace / information about the method that clear the tracing message
E) A & D Both
Ans. E
10. The attributes required for each target are
A)
B)
C)
D)
Ans. D

Name & Log level


Stack Trace & Name
Target type & Log level
Type & Name

S-ar putea să vă placă și