⟩ Which command is used to sign requested certificates in Puppet Server?
puppetca -sign hostname-of-agent' in (2.X) & 'puppet ca sign hostname-of-agent' in (3.X)
puppetca -sign hostname-of-agent' in (2.X) & 'puppet ca sign hostname-of-agent' in (3.X)
GDB command "frame" is used a) to change the stack frames b) to check the stack frames only c) it is not a valid command d) none of the mentioned
The GDB command "info local" a) displays the list of local variables b) value of local values for the current stack frame c) both (a) and (b) d) none of the mentioned
If we have multiple source files, then during the debugging with GDB a) breakpoint can not be set b) break point can be set by "break" command with a filename c) break point can be set only to makefile d) none of the mentioned
What is temporary breakpoint? a) it stops the program once b) it is removed after one execution of the program c) both (a) and (b) d) none of the mentioned
In GDB breakpoints can be skipped by the command a) ignore b) reject c) skip d) none of the mentioned
Which GDB command is used to examine the memory? a) x b) y c) z d) none of the mentioned
Which one of the following is not true about the GDB? a) info register is used to see that what is in the processor registers b) processor registers can not be accessed by GDB c) first 32 bits of the variable can not be examined d) none of the mentioned
Assemble code of the program can be displayed in GDB by the command a) disassemble b) assemble c) assembly d) none of the mentioned
The execution of the program in GDB can be affected by a) arguments b) working directory c) environment d) all of the mentioned
What is the output of this program no 9? #include<stdio.h> #include<sys/types.h> #include<sys/socket.h> int main() { struct sockaddr_in addr; int fd; fd = socket(AF_INET,SOCK_STREAM,0); printf("%dn",fd); return 0; } a) -1 b) 3 c) error d) none of the mentioned