¡Esta es una revisión vieja del documento!
Topic 208: Web Services
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
Which of the following is recommended to reduce Squid's consumption of disk resources?
- Disable the use of access lists.
- Reduce the size of cache_dir in the configuration file. (Solución)
- Rotate log files regularly.
- Disable logging of fully qualified domain names.
- Reduce the number of child processes to be started in the configuration file.
Which ACL type in Squid's configuration file is used for authentication purposes?
- proxyAuth
- proxy_auth (Solución)
- proxy_passwd
- Auth
- auth_required
