informatica:certificaciones:lpic:lpic-2:208_web_services
¡Esta es una revisión vieja del documento!
Topic 208: Web Services
Perteneciente a LPIC-2
Módulos:
- 208.3 Implementing a proxy server (2)
- 208.4 Implementing Nginx as a web server and a reverse proxy (2)
Tests
There is a restricted area in an Apache site, which requires users to authenticate against the file /srv/www/security/site-passwd. Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used.
htpasswd -c /srv/www/security/site-passwd userhtpasswd /srv/www/security/site-passwd user(Solución)htpasswd -n /srv/www/security/site-passwd userhtpasswd -D /srv/www/security/site-passwd user- None of the above.
Con la primera opción estaríamos creando el fichero de nuevo, cargándonos el existente.
When Apache is configured to use name-based virtual hosts:
- it's also necessary to configure a different IP address for each virtual host.
- The Listen directive is ignored by the server.
- it starts multiple daemons (one for each virtual host).
- it's also necessary to create a VirtualHost block for the main host. (Solución)
- only the directives ServerName and DocumentRoot may be used inside a block
Which of the following lines in the Apache configuration file would allow only clients with a valid certificate to access the website?
- SSLCA conf/ca.crt
- AuthType ssl
- IfModule libexec/ssl.c
- SSLRequire
- SSLVerifyClient require (Solución)
In which Apache context should SSL support be activated?
- In a VirtualHost directive (Solución)
- In a Location directive
- In a Directory directive which is set to /
- In a SSLHost directive
informatica/certificaciones/lpic/lpic-2/208_web_services.1618486492.txt.gz · Última modificación: por tempwin
