SóProvas


ID
1305994
Banca
CESPE / CEBRASPE
Órgão
ANATEL
Ano
2014
Provas
Disciplina
Banco de Dados
Assuntos

A respeito de banco de dados, julgue os itens que se seguem.

A conexão com o PostgreSQL 9.3 é realizada, por padrão, na porta TCP 5432. Uma das configurações de segurança permitida é o acesso por meio de SSL que é true, por padrão, e é aceito, neste caso, com o uso dos protocolos TCP, IP ou NTP.

Alternativas
Comentários
  • porta está correta, minha dúvida foi quanto ao ssl habilitado por default

  • "With SSL support compiled in, the PostgreSQL server can be started with SSL enabled by setting the parameter ssl to on in postgresql.conf. The server will listen for both normal and SSL connections on the same TCP port, and will negotiate with any connecting client on whether to use SSL. By default, this is at the client's option; see Section 19.1 about how to set up the server to require use of SSL for some or all connections."


    Fonte: http://www.postgresql.org/docs/9.3/static/ssl-tcp.html
  • Creio que o erro esteja nos protocolos de conexão. NTP (porta 123) é para sincronização do relógio que é baseado no UDP. 

  • "port (integer)

    The TCP port the server listens on; 5432 by default." (...)


    "ssl (boolean)

    Enables SSL connections. THE DEFAULT IS OFF. This parameter can only be set at server start. SSL communication is only possible with TCP/IP connections." (...)


    http://www.postgresql.org/docs/9.3/static/runtime-config-connection.html

  • ssl (boolean)
      Enables SSL connections. Please read Section 17.9 before using this. The default is off.

    fonte: http://www.postgresql.org/docs/9.3/static/runtime-config-connection.html

  • SSL é desabilitado por default.